Re: hard,soft,link,inode

"Casey Dentinger" <dentinger-K2AqhncCoRRH4x6Dk/[email protected]>
Newsgroups gmane.org.user-groups.linux.nmglug
Message-ID <[email protected]>
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
> [email protected]
> http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
>
_______________________________________________
nmglug mailing list
[email protected]
http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.