Date: Wed, 10 Feb 1999 12:53:13 -0500 (EST) From: "Chuck O'Donnell" <cao@bus.net> To: cjclark@home.com Cc: FreeBSD Questions <freebsd-questions@FreeBSD.ORG> Subject: Re: Get Filename from Inode Message-ID: <Pine.BSF.4.05.9902101251020.23508-100000@milf18.bus.net> In-Reply-To: <199902101732.MAA16082@cc942873-a.ewndsr1.nj.home.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 10 Feb 1999, Crist J. Clark wrote: > I have some error messages reporting problems with files by their > inode numbers. However, I have been unable to figure out how to locate > the files. Despite my best efforts with man and apropos, I cannot find > a command to do the 'reverse-lookup' of a filename from an inode. I > have not even found a C function for it to write my own > quick-n-dirty executable. > > Some quick help? Maybe slow, but how about: $ find [dir] -inum [inode] -print Chuck > > PS: 'man inode' refers to a <sys/inode.h>, but I have no > /usr/include/sys/inode/.h file. Is this normal? Or manpage not > up-to-date? > -- > Crist J. Clark cjclark@home.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9902101251020.23508-100000>