From: "Alexander G. M. Smith" <agmsmith@rogers.com>
To: reiserfs-list@namesys.com
Subject: Re: Two usage examples for attribute directories.
Date: Sun, 04 Dec 2005 10:04:53 -0500 EST [thread overview]
Message-ID: <38878152157-BeMail@AlexDualP3> (raw)
In-Reply-To: <43917967.4080008@st-andrews.ac.uk>
Peter Foldiak wrote on Sat, 03 Dec 2005 10:54:31 +0000:
> But why do we need a new type of file? What can you do with it that you
> absolutely couldn't without?
That's how I would do it, keep the namespace simpler. The new file/directory
for attributes would only perhaps be useful for backwards compatibility with
operating systems that can't handle an item that's simultaneously both a
file and a directory.
As for mixing in the XML view, how about having it in a totally separate
directory tree? Maybe a separate mount point. Or since it's virtual,
have file/XML as the root of the XML tree that represents file and all its
contents and its nested children's contents. Child files would also have a
child/XML tree just showing their contents and sub-children's representation,
which does duplicate part of the parent file/XML tree, but since it's virtual,
that's free.
>> From an implementation point of view, this would allow us to provide guidance
>> to, or eventually even full FS-level support for indexed attributes.
For indexing, I'd add a file type byte or two to every file and use that to
help decide (along with file name) what things should be indexed or not.
BeOS decided based on the attribute name, and required that attributes with
that name all have the same datatype (otherwise adding to the index wouldn't
work too well - keys all have to be the same type for sorting reasons).
- Alex
next prev parent reply other threads:[~2005-12-04 15:04 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-20 21:17 Implementing an attribute directory Peter van Hardenberg
2005-11-21 7:47 ` Hans Reiser
2005-11-23 8:57 ` Two usage examples for attribute directories Peter van Hardenberg
2005-12-03 0:25 ` Peter Foldiak
2005-12-03 0:49 ` Peter van Hardenberg
2005-12-03 10:54 ` Peter Foldiak
2005-12-04 7:04 ` Hans Reiser
2005-12-04 15:04 ` Alexander G. M. Smith [this message]
2005-12-05 4:27 ` Peter van Hardenberg
2005-12-08 14:12 ` Peter Foldiak
2005-12-08 20:40 ` Hubert Chan
2005-12-10 1:11 ` Nate Diller
2005-12-10 1:46 ` Hans Reiser
2005-12-10 3:11 ` Hubert Chan
2005-12-09 8:25 ` Hans Reiser
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=38878152157-BeMail@AlexDualP3 \
--to=agmsmith@rogers.com \
--cc=reiserfs-list@namesys.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.