[freenet-chat] Towards a Freenet Filesystem
Matthew Toseland
toad at amphibian.dyndns.org
Tue May 23 15:38:54 UTC 2006
On Mon, May 22, 2006 at 08:03:29PM -0400, Joel Salomon wrote:
> 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.
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/KSK at gpl.txt - or at least /freenet/quick/KSK at gpl.txt (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 at amphibian.dyndns.org
Freenet Project Official Codemonkey - http://freenetproject.org/
ICTHUS - Nothing is impossible. Our Boss says so.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://emu.freenetproject.org/pipermail/chat/attachments/20060523/bee92d71/attachment.pgp
More information about the chat
mailing list