Re: Towards a Freenet Filesystem

Matthew Toseland <toad-EI5O+8PHWbJeeLb3ft/[email protected]> Tue, 23 May 2006 16:38:54 +0100
Newsgroups gmane.network.freenet.general
Message-ID <[email protected]>
On Mon, May 22, 2006 at 08:03:29PM -0400, Joel Salomon wrote:
> On 5/22/06, Matthew Toseland <toad-EI5O+8PHWbJeeLb3ft/[email protected]> 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.

It's essential _to fproxy_ for safe handling of files. For many other
uses it's not essential.
> 
> >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.)

Well sure but it's more intuitive if you are able to just do
/freenet/[email protected] - or at least /freenet/quick/[email protected] (I accept
that some files will take *ages* to fetch and so need a different API).
> 
> >> The influence of Plan 9 (the original source of user-space
> >> filesystems) may be visible here.

Of course. :)
> 
> --Joel
-- 
Matthew J Toseland - toad-EI5O+8PHWbJeeLb3ft/[email protected]
Freenet Project Official Codemonkey - http://freenetproject.org/
ICTHUS - Nothing is impossible. Our Boss says so.

_______________________________________________
chat mailing list
[email protected]
Archived: http://news.gmane.org/gmane.network.freenet.general
Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/chat
Or mailto:[email protected]?subject=unsubscribe
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFEcyyOHzsuOmVUoi0RAjD0AJ0UZMaKEMyaxlYS3cdqFyrV7af6WwCgi1J0
xtq/AIY5TaEOo/T5Q+tLPIQ=
=AQnl
-----END PGP SIGNATURE-----