Re: [PATCH 02/27] allow hard links to directories, opt-in for any filesystem
- From: Sam Vilain <sam@xxxxxxxxxx>
- Date: Wed, 01 Mar 2006 09:09:31 +1300
Nick Piggin wrote:
> You have to put forward a case for why we want it, rather than show usPatch seems to work, might want more testing.This is backwards I think. This is not disallowed because there are
It probably should not be applied without a discussion, especially
as no filesystem in kernel tree wants this. I am working on a fs that does.
no filesystems that want it. Linux doesn't want it so it is disallowed
by the vfs.
> your filesystem that "wants" it. Right?
Agreed. Mostly this is because the design of unix directory semantics preclude it from being possible. You have exactly one ".." entry. More than one ".." would mean confusion (which does ".." refer to?). A different name would confuse more programs.
The VFS is presenting collections of arbitrary filesystems as unix filesystem, it is not a generic abstraction for any kind of storage system that is extended to encompass novel approaches to filesystem structure.
So if you wanted to access such a filesystem via Linux you would need to present this non-unix idea of directory hard links through some kind of ioctl etc.
Besides, we already have bind mounts, which are in many ways like a directory hard link (and, in many other ways, unlike one).
Sam.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- References:
- [PATCH 02/27] allow hard links to directories, opt-in for any filesystem
- From: Joshua Hudson
- Re: [PATCH 02/27] allow hard links to directories, opt-in for any filesystem
- From: Nick Piggin
- [PATCH 02/27] allow hard links to directories, opt-in for any filesystem
- Prev by Date: networking bug?
- Next by Date: Re: Status of X86_P4_CLOCKMOD?
- Previous by thread: Re: [PATCH 02/27] allow hard links to directories, opt-in for any filesystem
- Next by thread: ACE Check Express Inc. has immediate work for Australian and New Zealand citizens
- Index(es):