hard link identification
Eitan Adler
lists at eitanadler.com
Tue May 22 20:12:34 UTC 2012
On 22 May 2012 13:06, Gary Aitken <freebsd at dreamchaser.org> wrote:
> Is there any way to tell if something is a hard link, other than
> ls -i of relevant files and seeing that the inode is the same?
> or a better way?
Hard links are not special. You can't tell something is a "hard link"
because normal files are exactly the same. You can use stat(1) to see
how many hard links point to a file though.
--
Eitan Adler
More information about the freebsd-questions
mailing list