Hard links to directories: why not?
karish at mindcrf.UUCP
karish at mindcrf.UUCP
Mon Jul 23 02:00:20 AEST 1990
In article <11070 at alice.UUCP> andrew at alice.UUCP (Andrew Hume) writes:
>as everyone has said, you don't want hard links to dirs
>because the tree'ness of the file system gets buggered.
>on the other hand, links to files already do that to some extent.
Links to files don't `bugger' the file system's structure,
because they don't create loops that make tree traversal
ambiguous. It's still a tree, with some leaves fused
together.
>and symbolic links do it completely as you can symlink to directories.
>allowing hard links to dirs makes the problem no worse, really.
fsck can ignore symbolic links or treat them as ordinary files.
It can't ignore hard links. Hard links confuse the system;
symbolic links needn't.
--
Chuck Karish karish at mindcraft.com
Mindcraft, Inc. (415) 323-9000
More information about the Comp.unix.wizards
mailing list