David Ryder wrote:
> ...
>> The underlying reason is that a softlink is a 'reference in a
>> directory' to another 'directory entry'. When you delete a file or
>> directory, the filesystem has no 'local' record of who else may be
>> pointing to (referencing it). So, it stops there, rather than scanning
>> the entire filesystem when you delete each file to look for possible
>> floating softlinks.
> Much like Microsoft then. I thought a table was kept in linux.
> 
> Is there a way to list broken symlinks?
> 
> Thanks for explaining it to me, I very much appreciate your help.

Another issue is that symlinks can be on separate file systems from what
they link to, whereas hard links cannot.  So even if there was a table
of back links on disk, it would only work within the same file system.

Paul
begin:vcard
fn:Paul Gear
n:Gear;Paul
org:Liberty Systems & Software
email;internet:p...@libertysys.com.au
tel;work:07 3122 2198
tel;cell:04 3183 7656
url:http://libertysys.com.au/
version:2.1
end:vcard

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

-- 
ubuntu-au mailing list
ubuntu-au@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-au

Reply via email to