inode to file tool

Ian Ward Comfort icomfort at rescomp.stanford.edu
Fri Jul 20 22:03:17 UTC 2007


On Jul 20, 2007, at 2:43 PM, Joshua Daniel Franklin wrote:
> I'm getting some lovely messages from a fsck on a fileserver... I
> seem to remember a tool that would take an inode as input and
> output a  filesystem path but I don't remember it's name and web
> search isn't turning anything up.

There's always find(1) if the filesystem is mounted.

	$ find /your/mount/point -xdev -inum XXX

Of course, there needn't be such a path in the general case since the  
inode could be unlinked.

--IWC




More information about the redhat-sysadmin-list mailing list