How can I find where a link leads to

dan at rna.UUCP dan at rna.UUCP
Mon Jan 21 11:22:00 AEST 1985


> ls -i filename
> gives you the inode number; otherwise the question has no meaning.
> All links have the same status; there is no place in the
> hierarchical file system where the file "really" is.

But it is often helpful to find out what are the other pathnames of the
file/inode in question. This is possible with ncheck:

	ncheck -i #### /dev/xxx

where ### is the inode number of the file you want to find all the pathnames
to and /dev/xxx is the special device name of the filesystem on which the
file/inode resides. However, on some systems ncheck and/or /dev/xxx is
protected and non-root people can't perform the above...

					Dan



More information about the Comp.unix mailing list