[nmglug] hard,soft,link,inode
a
a at kaluta.us
Thu Oct 15 15:02:29 PDT 2020
Okay neato -samefile with compliment inum
On 10/14/20 4:18 PM, Casey Dentinger wrote:
> Just read up and on most systems (though not strictly posix) find has a -samefile option for finding all the hard links.
>
> On Wed, Oct 14, 2020, at 4:06 PM, Casey Dentinger wrote:
>> 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
>>>
>> _______________________________________________
>> nmglug mailing list
>> nmglug at lists.nmglug.org
>> http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
>>
> _______________________________________________
> nmglug mailing list
> nmglug at lists.nmglug.org
> http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
More information about the nmglug
mailing list