lkml.org 
[lkml]   [1999]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateSun, 10 Jan 1999 03:39:55 +1100
FromMartijn van Oosterhout <>
SubjectRe: ext2 tool
: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/

\
 
 \ /
  Last update: 2005-03-22 13:49    [from the cache]
©2003-2010