lkml.org 
[lkml]   [2000]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [BUG] Inconsistent behaviour of rmdir


On 16 Nov 2000, H. Peter Anvin wrote:

[hardlinks on directories]

> I don't believe it's inherently impossible in Linux anymore. In fact,

Yes, it is. bindings are asymmetrical. And that's the reason why they
work while links to directories do not.

> 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.

Here's one more: you can't rename across the binding boundary. They _are_
mounts, so they avoid all that crap with loop creation on rename, etc.
Take a generic DAG and try to implement rename() analog on it. Have fun
catching the cases that would make the graph disconnected.

-
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/

\
 
 \ /
  Last update: 2005-03-22 12:47    [W:0.073 / U:1.764 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site