Gentoo Archives: gentoo-user

From: Michal 'vorner' Vaner <michal.vaner@×××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] why forbids making hard link for directory?
Date: Tue, 30 Jan 2007 09:56:45
Message-Id: 20070130095031.GA24136@tarantula
In Reply to: [gentoo-user] why forbids making hard link for directory? by Shaochun Wang
1 On Tue, Jan 30, 2007 at 02:18:26PM +0800, Shaochun Wang wrote:
2 >
3 > I know it forbids making hardlink for directory in current filesystem,
4 > but i don't know why? Can you tell me why?
5
6 You could make a cycle (like directory placed inside itself) that would
7 be undetectable and all the nice utils like find, grep -r, cp and so
8 would work forever traversing them.
9
10 --
11 There's the light at the end of the the Windows.
12
13 -- Havlik Denis
14
15 Michal 'vorner' Vaner