« 体系结构做错一道题 | Main | upgrade to Xorg on Debian? »

May 26, 2005

hard link things

http://lists.gnu.org/archive/html/bug-fileutils/2002-02/msg00033.html

Although "ln --help" tells you that you can creat hard links to a directory as root, things do not work like that. The truth is that it really depends on the underlying file system. Few systems now allow that since it complicates fsck and may incure loops.

http://lists.gnu.org/archive/html/bug-fileutils/2002-02/msg00037.html
For anyone who is interested, on a Linux system with an ext2 file system
you can achieve the same thing as a hard link to a directory with a
"mount --bind".

Also see http://linuxgazette.net/issue93/tag/2.html

Posted by Jane at May 26, 2005 04:54 PM

Comments