On May 22, 2012, at 2:26 PM, Robert Bonomi wrote:
dte...@freebsd.org wrote;
For directories, the link-count is quite obviously the number of filesystem
entities contained within.
That is *INCORRECT*.
Details.
The OP wanted to know about files. I chose to not elaborate on the
Devin Teske devin.te...@fisglobal.com wrote:
On May 22, 2012, at 2:26 PM, Robert Bonomi wrote:
dte...@freebsd.org wrote;
For directories, the link-count is quite obviously the number of filesystem
entities contained within.
That is *INCORRECT*.
Details.
The OP wanted to know
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?
I was a bit confused when looking at /root/.cshrc and then discovering a
.cshrc in / as well.
Thanks,
Gary
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
-Original Message-
From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
questi...@freebsd.org] On Behalf Of Gary Aitken
Sent: Tuesday, May 22, 2012 1:06 PM
To: freebsd-questions@freebsd.org
Subject: hard link identification
Is there any way to tell if something
dte...@freebsd.org wrote;
For directories, the link-count is quite obviously the number of filesystem
entities contained within.
That is *INCORRECT*. The link-count on a directory is the number of dir-
ectory entries (file names) tht resolve to it, just as with any other file.
The count