Re: ext2 tool

Martijn van Oosterhout (v3100411@student.anu.edu.au)
Sun, 10 Jan 1999 03:39:55 +1100


:Is there any tool that gives the corresponding filename for every inode
:for ext2 file system?
:It should print out the inode number, the file name with entire path
and
:tell the kind of inode it is.
:
:Thanks and Regards
:Raghav

I doubt there is a quick way to do it, so I assume you'll have to
do a forward search, so why not

find /dir -xdev -printf '%p %i\n'

As for the type of inode, that's a little harder but can be done.

Martijn van Oosterhout
Australia

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/