Subject: Re: /etc/daily gets stuck
To: Paul Mather <paul@gromit.dlib.vt.edu>
From: Todd Vierling <tv@wasabisystems.com>
List: port-alpha
Date: 01/11/2001 09:25:46
On Thu, 11 Jan 2001, Paul Mather wrote:

: root     find        1063    5 /         24398 drwxr-xr-x     512 r

: root     find        1063    5  8,0   24398      40755    512 r
:
: If I read the above correctly, find has inode 24398 open, which, it
: says, is the root directory (/).

No, it's just the root *filesystem*.  fstat doesn't tell you the physical
path of the file.

: I know ls can tell me the inode corresponding to a pathname.  Is there a
: command to do the reverse: to tell me the pathname corresponding to an
: inode number?

find ... -inum N

-- 
-- Todd Vierling <tv@wasabisystems.com>  *  Wasabi NetBSD:  Run with it.
-- NetBSD 1.5 now available on CD-ROM  --  http://www.wasabisystems.com/