On 22 May 2012 13:06, Gary Aitken <free...@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
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to