get filename->inode mappings in bulk for a live fs?

Dave Chinner david at fromorbit.com
Thu Oct 4 17:49:49 CDT 2012


On Thu, Oct 04, 2012 at 08:30:20AM -0700, Linda Walsh wrote:
> I notice that attempts to use utils to get name->inode mappings
> (xfs_ncheck) seem to have no option to operate on a mounted filesystem.

If you need xfs_ncheck to get name->inode number mappings, then you
are doing something wrong.

$ find . -printf  "%h/%f: %i\n" | head -10
./.: 1010542779
./.git: 612759677
./.git/branches: 1013256262
./.git/hooks: 33523782
./.git/hooks/guilt: 406321163
./.git/hooks/guilt/delete: 402681911

Cheers,

Dave.
-- 
Dave Chinner
david at fromorbit.com



More information about the xfs mailing list