Messages in this thread | | | From | (Claus Färber) | Subject | Re: silent semantic changes with reiser4 | Date | 03 Sep 2004 15:23:00 +0200 |
| |
Alan Cox <alan@lxorguk.ukuu.org.uk> schrieb/wrote: > On Maw, 2004-08-31 at 12:01, Claus Färber wrote: >> A simple convention that meta data files start with, say ".$", would >> be enough.
> POSIX/SuS don't permit this. The only "free" namespace is that starting > "//" (and not as some desktops seem to think foo://). Remember always > send GUI desktop users files called http://read.me .. its fun 8)
Well, the problem is that one does want the metadata to be in the ordinary namespace so that they are accessible with POSIX tools. (The current version of) POSIX does not have a "unified" namespace so a unified namespace can't be POSIX.
I wonder if it makes sense to have an environment variable (maybe POSIXLY_CORRECT) to switch between POSIX and the unified namespace model. Of course, this would mean that all of this is handled in userspace (e.g. libc), whereas the kernel and filesystems export more "traditional" (e.g. with openat) interfaces. Accessing metadata as ordinary files would then work with other filesystems, too.
Claus -- http://www.faerber.muc.de
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |