Re: [BUG] Inconsistent behaviour of rmdir

From: H. Peter Anvin (hpa@zytor.com)
Date: Thu Nov 16 2000 - 17:35:53 EST


Followup to: <4.3.2.7.2.20001116161327.00b2f810@postoffice.brown.edu>
By author: David Feuer <David_Feuer@brown.edu>
In newsgroup: linux.dev.kernel
>
> . and foo/. are also links, not directories... the directories themselves
> are filesystem internal objects, and not discussed by the standard. I
> didn't know that linux supported hard links to directories... Isn't that
> just asking for trouble?
>

It is on filesystems which has ".." physically on disk. Linux no
longer requires this, although for example ext2 does have this.

I don't believe it's inherently impossible in Linux anymore. In fact,
vfsbinds provide a lot of the same kind of functionality; the main
difference between vfsbinds and hard links are that the former (a) can
cross filesystem boundaries and (b) aren't persistent.

        -hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Nov 23 2000 - 21:00:11 EST