Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Aug 2002 16:24:59 +0200 (MEST)
From:      Michael Grant <mg-fbsd3@grant.org>
To:        freebsd-questions@freebsd.org
Subject:   find by inode
Message-ID:  <200208111424.g7BEOxa29497@splat.grant.org>

next in thread | raw e-mail | index | archive | help
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.

Michael Grant

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?200208111424.g7BEOxa29497>