FUSE integration #36

Closed
opened 2007-05-04 17:05:46 +00:00 by zooko · 14 comments

Make it so that you can ls directories, read and write files with FUSE.

Make it so that you can ls directories, read and write files with FUSE.
zooko added the
code
major
enhancement
labels 2007-05-04 17:05:46 +00:00
Author

This is also mentioned in source:roadmap.txt.

This is also mentioned in source:roadmap.txt.
warner added the
0.4.0
label 2007-07-25 03:37:13 +00:00
warner added
code-frontend
and removed
code
labels 2007-08-14 18:54:33 +00:00
Author
nejucomo has started on this: <http://allmydata.org/pipermail/tahoe-dev/2007-October/000202.html>
nejucomo was assigned by zooko 2007-10-18 23:21:25 +00:00
Author

A hack to access tahoe through FUSE has been committed to the "extensions" subdirectory in changeset:33a5f8ba6be39051. It isn't well-tested, but we have seen "find" and "cp" work! Thanks to nejucomo!

A hack to access tahoe through FUSE has been committed to the "extensions" subdirectory in changeset:33a5f8ba6be39051. It isn't well-tested, but we have seen "find" and "cp" work! Thanks to nejucomo!
Author

Whoops -- last night Seb and Josh and I tried out the FUSE extension, and it has bit-rotted. The first problem is that when you run it, it fails with a file-not-found error, but doesn't tell the user that she needs to put a directory uri ("cap") into that file. The second problem is that it expects the uri to be old style "DIR:" or "DIR-RO:", but nowadays they are all "DIR2:" or "DIR2-RO:". The third problem is that after changing it to expect "DIR2" instead of "DIR" then it fails with a message like "failed to initialize", which none of us knew how to diagnose.

Nej: if it isn't fixed by Sunday night I'm going to remove it from the source distribution for v0.7.0 release and replace it with a README and a hyperlink to a copy of it, unless you have a better idea.

Thanks!

Whoops -- last night Seb and Josh and I tried out the FUSE extension, and it has bit-rotted. The first problem is that when you run it, it fails with a file-not-found error, but doesn't tell the user that she needs to put a directory uri ("cap") into that file. The second problem is that it expects the uri to be old style "DIR:" or "DIR-RO:", but nowadays they are all "DIR2:" or "DIR2-RO:". The third problem is that after changing it to expect "DIR2" instead of "DIR" then it fails with a message like "failed to initialize", which none of us knew how to diagnose. Nej: if it isn't fixed by Sunday night I'm going to remove it from the source distribution for v0.7.0 release and replace it with a README and a hyperlink to a copy of it, unless you have a better idea. Thanks!
zooko added this to the 0.7.0 milestone 2008-01-04 19:34:03 +00:00

I just moved the plugin from extensions/ to contrib/ . In most projects I'm familiar with, contrib/ is the place where they put stuff that might not work. I think it'd be sufficient and useful to leave it in place (with this "might not work" note) for 0.7.0, rather than removing it entirely. This way it's easy for someone else to find and hack on, perhaps they might fix it for us.

But feel free to remove it if you prefer.

I just moved the plugin from extensions/ to contrib/ . In most projects I'm familiar with, contrib/ is the place where they put stuff that might not work. I think it'd be sufficient and useful to leave it in place (with this "might not work" note) for 0.7.0, rather than removing it entirely. This way it's easy for someone else to find and hack on, perhaps they might fix it for us. But feel free to remove it if you prefer.
Author

Okay, I'll leave it.

I'm still hoping nejucomo fixes it before I release 0.7.0...

Okay, I'll leave it. I'm still hoping nejucomo fixes it before I release 0.7.0...
Author

Nejucomo says, on the phone, that the first argument to tahoe-fuse.py is the mount-point. So "failure to initialize" or whatever message that was we saw was probably just because we didn't pass any arguments.

Nejucomo says, on the phone, that the first argument to `tahoe-fuse.py` is the mount-point. So "failure to initialize" or whatever message that was we saw was probably just because we didn't pass any arguments.
Author

arch_o_median is writing a test script for tahoe-fuse.py. :-)

arch_o_median is writing a test script for tahoe-fuse.py. :-)
Author

arch_o_median: these are the things that the fuse extension needs for v0.7.0:

  • When you run it with no directory capability present, it prints out a message explaining that the thing that is missing is a read-only or a read-write directory capability, as well as the filename where that capability is supposed to be found.
  • When you run it with no arguments, it prints out a message saying that it requires an argument which is the mount point.
  • It works, for reading and writing files within the tahoe filesystem, copying files in and out, listing directories, moving files around within the tahoe filesystem, or at least for some subset of these operations. :-)
arch_o_median: these are the things that the fuse extension needs for v0.7.0: * When you run it with no directory capability present, it prints out a message explaining that the thing that is missing is a read-only or a read-write directory capability, as well as the filename where that capability is supposed to be found. * When you run it with no arguments, it prints out a message saying that it requires an argument which is the mount point. * It works, for reading and writing files within the tahoe filesystem, copying files in and out, listing directories, moving files around within the tahoe filesystem, or at least for some subset of these operations. :-)
Author

nejucomo and I are going to work on this tomorrow after business hours.

nejucomo and I are going to work on this tomorrow after business hours.
tahoe-lafs added this to the undecided milestone 2008-01-23 02:26:54 +00:00
tahoe-lafs changed title from FUSE integration to FUSE integration (not specifically Windows) 2008-01-23 02:26:54 +00:00
Author

See also more recent discussion about this on the mailing list: http://allmydata.org/pipermail/tahoe-dev/2008-November/000885.html

See also more recent discussion about this on the mailing list: <http://allmydata.org/pipermail/tahoe-dev/2008-November/000885.html>
Author

See also wiki/GSoCIdeas.

See also [wiki/GSoCIdeas](wiki/GSoCIdeas).
Author

See also #743 (make fuse support writing), which I guess is a subset of this ticket.

See also #743 (make fuse support writing), which I guess is a subset of this ticket.
zooko changed title from FUSE integration (not specifically Windows) to FUSE integration 2009-06-21 20:02:58 +00:00
ClashTheBunny commented 2011-10-25 11:13:06 +00:00
Owner

This should probably be closed in lieu of #1353.

This should probably be closed in lieu of #1353.
tahoe-lafs added the
duplicate
label 2011-10-25 13:03:08 +00:00
davidsarah closed this issue 2011-10-25 13:03:08 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: tahoe-lafs/trac-2024-07-25#36
No description provided.