Messages in this thread | | | Date | Mon, 11 Jul 2005 06:07:08 +0200 | From | Stefan Smietanowski <> | Subject | Re: reiser4 plugins |
| |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
> Ok, still haven't heard much discussion of metafs vs file-as-directory, > but it seems like it'd be easier in metafs.
Why not implement it inside the directory containg the file ?
Ie the metadata for /home/stesmi/foo is in /home/stesmi/.meta/foo
This should be suit both camps I'd think?
I mean, editing something is easy and you don't have to "know" how to navigate /meta and you don't have the clash of files vs metadata (is /meta/vfs/home/stesmi/foo a file or an attribute called foo of the dir stesmi ?).
/home/stesmi/foo <- dir /home/stesmi/.meta/foo <- "dir" containing all metadata /home/stesmi/.meta/foo/attrib <- some attribute called attrib /home/stesmi/foo/bar <- file /home/stesmi/foo/.meta/bar <- "dir" containg all metadata /home/stesmi/foo/.meta/bar/attrib <- some attribute called attrib
The file is $dir/$file. The attrib dir is $dir/.meta/$file. The attribute is $dir/.meta/$file/$attribute.
If $attrib is something user-editable it's easy to $EDITOR $dir/.meta/$file/$attrib
If this has already been taken up, I must've missed it.
// Stefan -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (MingW32)
iD8DBQFC0fBsBrn2kJu9P78RAlt4AJ4qWik6hA4oXBNZMdZ1TkweYrJHmgCdFAY+ m+Qtg9uqBq9m0qKfRkK6iUI= =ghWb -----END PGP SIGNATURE----- - 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/
| |