On Tue, 30 Jan 2007 14:18:26 +0800
Shaochun Wang <[EMAIL PROTECTED]> wrote:
>
> I know it forbids making hardlink for directory in current filesystem,
> but i don't know why? Can you tell me why?
>
from `man ln`
On existing implementations, if it is at all possible to make
a hard link to a directory, this may be done by the superuser only.
POSIX for- bids the system call link(2) and the utility ln to make
hard links to directories (but does not forbid hard links to cross
filesystem bound- aries).
--
[email protected] mailing list