Monday, August 08, 2005

search inode symbolic links

After getting the inode number by

ls -Lli file

you can find hard links by running "find ... -inum ..." on the
same file system.
A symbolic link can be in any file system, and there are different
representations for it (e.g. " -> afile" or " -> ./afile").

> 2) In case we have symlinks to that file - where they are ?

One can try to find them by running "find ... -follow -inum ..."
on each file system.
However, there might be symbolic links on another host that are not
valid on *this* host.


Post a Comment

<< Home