On Sun, Jun 08, 2003 at 03:16:01PM -0700, Allen Curtis wrote: > Since hard links look like real files, unlike symbolic > links, they are harder to keep track of and thus manage. ls -i /path/to/filename find / -inum <inode number from the ls command> It won't work perfectly -- crossing filesystems, inode numbers can be reused -- but, if you replace '/' with the mountpoint of the filesystem in question, you'll find just what you're after. I bet a bit of sh and awk could turn this into a quick little function or alias or shell script. Perl if you're into that. ;) -- "I'm not sure which upsets me more: that people are so unwilling to accept responsibility for their own actions, or that they are so eager to regulate everyone else's." -- Kee Hinckley
Attachment:
pgp00433.pgp
Description: PGP signature