[nmglug] hard,soft,link,inode
Casey Dentinger
dentinger at regnitned.net
Wed Oct 14 15:06:24 PDT 2020
When you ls -l
-rw-r--r-- 1
That number after the mode is the number of hard links. Hard links are all literally the file and share its attributes so I don't think one would be considered the original. As for sym links they are just files on disk that afaik the target knows nothing about.
On Wed, Oct 14, 2020, at 3:56 PM, a wrote:
> Hi
>
> If I have a file or directory and would like to now if it is the
> original file or directory of a link can I confirm the fact by reading
> an inode some where or some how?
>
> Thanks, a
>
> _______________________________________________
> nmglug mailing list
> nmglug at lists.nmglug.org
> http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
>
More information about the nmglug
mailing list