Date: Sun, 11 Aug 2002 13:18:14 -0500 From: Dan Nelson <dnelson@allantgroup.com> To: Michael Grant <mg-fbsd3@grant.org> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: find by inode Message-ID: <20020811181814.GE7599@dan.emsphone.com> In-Reply-To: <200208111424.g7BEOxa29497@splat.grant.org> References: <200208111424.g7BEOxa29497@splat.grant.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Aug 11), Michael Grant said: > Does anyone know how I can list the files within a filesystem by > inode number? i.e. for each inode within a file system, print it's > filenames(s). And I do mean filename(s) because each inode can have > more than one link. > > I can write a perl script to do a find, build a hash, and print this > info out, but surely, there must be a more efficient way. > > For every given inode, I want to know what the filename(s) are. > Unfortunatly, ls doesn't provide this info. "find / -ls | sort -n" -- Dan Nelson dnelson@allantgroup.com 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?20020811181814.GE7599>