From mboxrd@z Thu Jan 1 00:00:00 1970 From: "John D. Heintz" Subject: Do xml-like namespaces make sense for Reiser4? (re: metas thread) Date: Mon, 12 Apr 2004 10:45:50 -0500 Message-ID: <407AB9AE.3060801@pobox.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: list-help: list-unsubscribe: list-post: Errors-To: flx@namesys.com List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: reiserfs-list@namesys.com Hi all, I work with XML quite a lot in my job and deal with XML namespaces often. While I think they have some problems in the XML world (poor integration with XML InfoSet) they might be useful for Reiser4 and they seem to play well with the Set Theoretic underlying models (as far as I can tell :). Here's what I'm thinking: Instead of `cat foo.txt/metas/uid` it would be `cat foo.txt/reiser4:metas/uid` or perhaps `cat foo.txt/reiser4:uid`. Here the "reiser4" shorthand would map to "http://www.namesys.com/v4" or whatever Hans and team decided. The reiser4 namespace could be hardcoded or compiled in and exposed via `cat /proc/fs/reiser4/namespace`. Other namespaces could be added to files/directories and I'd assume something like: `cat foo.txt/reiser4:namespaces` would list all the namespaces available for a particular file. Something like: reiser4 http://www.namesys.com/v4 streams http://www.evil-empire.com/streams snapcm http://www.snapcm.com/snapcm John D. Heintz ps - SnapCM is the name of a versioned linking model that I developed some time ago and hope one day to build a plugin for Reiser4. I'm being optimistic listing it in the available namespaces. ;-)