Re: [gentoo-user] why forbids making hard link for directory?

2007-01-30 Thread Michal 'vorner' Vaner
On Tue, Jan 30, 2007 at 02:18:26PM +0800, Shaochun Wang wrote: I know it forbids making hardlink for directory in current filesystem, but i don't know why? Can you tell me why? You could make a cycle (like directory placed inside itself) that would be undetectable and all the nice utils like

Re: [gentoo-user] why forbids making hard link for directory?

2007-01-30 Thread Duane Griffin
On 30/01/07, 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? Hardlinking directories is forbidden as it allows you to introduce loops into the filesystem. E.g. directory a within b within a

[gentoo-user] why forbids making hard link for directory?

2007-01-29 Thread Shaochun Wang
I know it forbids making hardlink for directory in current filesystem, but i don't know why? Can you tell me why? -- Shaochun Wang [EMAIL PROTECTED] GPG Fingerprint: 70C2 6945 0E46 E08B 419A 007C AC5C F21F 358A 0833 You can get my publickey from the following url:

Re: [gentoo-user] why forbids making hard link for directory?

2007-01-29 Thread Dan Farrell
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