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

Reply via email to