From: Jonatan L. <li...@ky...> - 2005-11-29 23:06:54
|
On Tue, 29 Nov 2005 21:15:42 +0000 Thomas Leonard <ta...@ec...> wrote: > On Sat, 19 Nov 2005 18:12:15 -0200, Jonatan Liljedahl wrote: > > > On Sat, 19 Nov 2005 06:03:51 -0500 > > Peter <sw...@ho...> wrote: > > > >> [quoted text muted] > > > > I have AVFS running with FUSE (no buggy coda or preload) here on my > > 2.6 box with no problems. I got avfs from CVS and ran compile.sh in > > the fuse subdir, which gave me a fuse executable "avfsd" which I > > ran with this script in my AutoStart: > > Thanks for that. You're welcome. I hope AVFS will have the FUSE thing in their next official release so users don't need to go fetch it on CVS... > I've added some instructions to the manual based on > this: > > There are various ways to use AVFS. This example shows how to use it > on a Linux 2.6 system with FUSE. You will need a kernel with FUSE > support and the 'libfuse-dev' header files package installed. > > Procedure 10.1. Installing AVFS on Linux 2.6 > > 1. Get AVFS from CVS (the current July 2005 release is too old). > 2. Compile AVFS (sh autogen.sh; ./configure; make). > 3. Go into the `avfs/fuse' subdirectory and run ./compile.sh. > 4. Create a mount point: mkdir ~/.avfs-mount. > 5. Run AVFS: ./avfsd ~/.avfs-mount. I would like to add: Note that avfsd can be started multiple times if the user logs out and then back in, that's why I use this script in my ROX-Session AutoStart folder which checks if it's already mounted first: #!/bin/sh exec 1>&2 MntDir=${HOME}/.avfs grep -q "avfsd ${MntDir}" /proc/mounts || { echo Mounting AVFS on $MntDir... unset LD_PRELOAD avfsd $MntDir } NOTE: As you see, I unset LD_PRELOAD before I start avfsd. The reason for this is that I have had trouble with libtrash running with the avfs fuse daemon! So I think this is a good thing to do if you're using libtrash... BTW, maybe there should be an AutoStop folder too? Then one could "fusermount -u ~/.avfs-mount" automagically at logout. > 6. To configure ROX-Filer to open directories using AVFS, set the > run action (Set Run Action...) for zip files (and other archive > types) to: > > rox ~/.avfs-mount/"$1#" > > Note that all of the above steps should be done as a user, not as > root. You may need to be in some special group to use FUSE (check the > group of `/usr/bin/fusermount'). > > If you don't want to make AVFS the default action for these files, you > could instead create a script containing the above and add it to the > File menu, using Customise Menu.... > > > -- > Dr Thomas Leonard http://rox.sourceforge.net > GPG: 9242 9807 C985 3C07 44A6 8B9A AE07 8280 59A5 3CC1 > /Jonatan -=( http://kymatica.com )=- |