public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] why forbids making hard link for directory?
@ 2007-01-30  6:18 Shaochun Wang
  2007-01-30  9:50 ` Michal 'vorner' Vaner
  0 siblings, 1 reply; 2+ messages in thread
From: Shaochun Wang @ 2007-01-30  6:18 UTC (permalink / raw
  To: gentoo-user


I know it forbids making hardlink for directory in current filesystem,
but i don't know why? Can you tell me why?

-- 
Shaochun Wang <scwang@ios.ac.cn>

GPG Fingerprint: 70C2 6945 0E46 E08B 419A  007C AC5C F21F 358A 0833
You can get my publickey from the following url:
	http://lcs.ios.ac.cn/~scwang/docs/scwangpublickey.gpg
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-user] why forbids making hard link for directory?
  2007-01-30  6:18 [gentoo-user] why forbids making hard link for directory? Shaochun Wang
@ 2007-01-30  9:50 ` Michal 'vorner' Vaner
  0 siblings, 0 replies; 2+ messages in thread
From: Michal 'vorner' Vaner @ 2007-01-30  9:50 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 474 bytes --]

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 find, grep -r, cp and so
would work forever traversing them.

-- 
There's the light at the end of the the Windows.

   -- Havlik Denis

Michal 'vorner' Vaner

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-01-30  9:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-30  6:18 [gentoo-user] why forbids making hard link for directory? Shaochun Wang
2007-01-30  9:50 ` Michal 'vorner' Vaner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox