SUMMARY inode question

From: MARK SAYER (MSAYER@cuscal.com.au)
Date: Mon Apr 06 1998 - 11:20:00 CDT


Greetings -

Thanks for the 20,000 responses to this! Good to see that everyone is
much more awake than myself. 8-)

Origional Question:

If I have an i-node number, what is the simplest way of determining what
file/directory it belongs to?

'ls -liR|grep i-nodenum' works, but I think there must be a far easier
way.

Solution:

99.9% of replies stated that the use of the find program was the easiest
way to achieve this:

find / -inum <inode-number> -print

Have a nice week!

Mark.



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:35 CDT