hard links to directories
Posted Sep 13, 2007 8:19 UTC (Thu) by
gw666 (guest, #12326)
Parent article:
The many faces of fsck
UNIX file systems have the wonderful quality of allowing more than one hard link to an inode (which can be file or directory).
You cannot hard link a directory:
$ ln foo/ bar
ln: `foo/': hard link not allowed for directory
So if a directory has a link count > 1, this must be an error.
(
Log in to post comments)