Hi,

Your ideas are needed.

I'm in the early stages of implementing a linux filesystem for freenet,
based on the FUSE (userspace filesystem) framework.

The idea is to empower users and app developers, so they can type:

  $ mount -t freenetfs /dev/fuse /mnt/freenet -o <options>

or alternatively, have in their /etc/fstab the entry:

  /dev/fuse /mnt/freenet freenetfs <options> 0 0

and end up with freenet mounted at /mnt/freenet

The purpose is to allow seamless integration with freenet of any
application which accesses the filesystem. One use of this would be
allowing people to edit sensitive OpenOffice documents, and store
the files completely within freenet, and allow others to read these
anonymously.

So far, I'm thinking through some options for a directory tree model,
and here's what I've got so far:

  /
     - the root (d'oh)
  /keys/
     - returns empty directory listing
  /keys/[EMAIL PROTECTED]
  /keys/[EMAIL PROTECTED]/name
  /keys/[EMAIL PROTECTED]/name/version
  /keys/[EMAIL PROTECTED]
     - performs a GET of the given key from freenet, and allows it
       to be read like a file. First line is <mimetype>\n
  /privatekeys/[EMAIL PROTECTED]/name
     - the filename '[EMAIL PROTECTED]' is the private key
       corresponding to /keys/[EMAIL PROTECTED]/name
     - reading from this file produces a single line, the equivalent
       public key
     - writing to this file performs a freenet PUT. First line written
       should be <mimetype>\n, then the raw key data
  /cmd/
     - a pseudo-directory allowing commands to be sent to the fs, via
       reading/writing pseudo-files
  /cmd/genkey
     - reading this file produces an SSK@ keypair
  /usr/
     - contains a set of named subdirectories, where the mapping of
       physical freenet key to logical name is governed by config
       file settings, such as:

         [userdirs]
         fred=freenet:[EMAIL PROTECTED]/name
         mary=freenet:[EMAIL PROTECTED]/name

       so reads from '/usr/fred/' become a read to
       '/keys/[EMAIL PROTECTED]/name, and writes to /usr/fred
       become a write to '/privatekeys/[EMAIL PROTECTED]'.

If anyone gets some ideas to improve this model, please reply to this
thread.

-- 
Cheers
David

_______________________________________________
chat mailing list
chat@freenetproject.org
Archived: http://news.gmane.org/gmane.network.freenet.general
Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/chat
Or mailto:[EMAIL PROTECTED]

Reply via email to