User: Password:
|
|
Subscribe / Log in / New account

Directory hard links

Directory hard links

Posted Sep 11, 2009 6:40 UTC (Fri) by salimma (subscriber, #34460)
Parent article: POSIX v. reality: A position on O_PONIES

... a number of warts revealed themselves over time, not all of which were removed before the interface was codified into the POSIX specification. One example is directory hard links, which permit the creation of a directory cycle - a directory that is a descendant of itself - and its subsequent detachment from the file system hierarchy, resulting in allocated but inaccessible directories and files.
How ironic that Apple chose to implement this feature in HFS+ ...


(Log in to post comments)

Directory hard links

Posted Sep 11, 2009 19:06 UTC (Fri) by foom (subscriber, #14868) [Link]

Apple did forbid the creation of recursive directory hard links, however.

Directory hard links

Posted Sep 12, 2009 0:21 UTC (Sat) by cras (guest, #7000) [Link]

Speaking of HFS+ and hard links.. Last I heard they were implemented in a way that required
adding a file (or link) to some special hidden directory. Once you had done some thousand hard
links the performance became more and more horrible until the system was rebooted (the directory
gets wiped at startup). I wonder if that ever gets fixed.


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds