[freenet-chat] Towards a Freenet Filesystem

Joel Salomon joelcsalomon at gmail.com
Tue May 23 00:03:29 UTC 2006


On 5/22/06, Matthew Toseland <toad at amphibian.dyndns.org> wrote:
> On Mon, May 22, 2006 at 06:12:04PM -0400, Joel Salomon wrote:
> > I don't like the idea of the MIME type being the first line of the
> > file; it's something that will have to be stripped when the file is
> > moved to the rest of the system or worked on by standard programs.
>
> It can be an extended attribute, no? Doesn't FUSE support these now?

If the MIME type is essential to Freenet's handling of the file, have
it in a separate file so the concept is portable to OSes beyond
Linux/FUSE.  If it's just a frill, put it in an extended attitbute if
you like, but not in the file text itself.

> Oh and you shouldn't have to mkdir for a get!

Why not?  The directory is just an abstraction in memory; no disc
directory is being created.  (Unless FUSE has some fundamental design
flaws.)

> > The influence of Plan 9 (the original source of user-space
> > filesystems) may be visible here.

--Joel


More information about the chat mailing list