Would somebody please explain to me what exactly FUSE does? I succeeded in using fusexmp to mount my root directory into /tmp/fuse2.5.3/example. I also succeeded in unmounting with fusermount -u. I do not understand why I should want to. This all started when I upgraded the kernel and the type ntfs file system on the other half of my dual mounted system refused to "mount". I got distracted into FUSE then remembered to install the matching kernel-module-ntfs below. Now I am again successfully using 'smbmount' to mount ntfs file types. I am running Fedora 2.6.17-1.2142_FC4 with kernel-module-ntfs-2.6.17-1.2142_FC4-2.1.27-0.rr.10.4.i686.rpm What good is FUSE to me? I've Googled till the cows come home, but I do not understand the responses. Ken Jones
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 ken jones wrote:
Would somebody please explain to me what exactly FUSE does?
I succeeded in using fusexmp to mount my root directory into /tmp/fuse2.5.3/example. I also succeeded in unmounting with fusermount -u. I do not understand why I should want to.
This all started when I upgraded the kernel and the type ntfs file system on the other half of my dual mounted system refused to "mount". I got distracted into FUSE then remembered to install the matching kernel-module-ntfs below.
Now I am again successfully using 'smbmount' to mount ntfs file types. I am running Fedora 2.6.17-1.2142_FC4 with kernel-module-ntfs-2.6.17-1.2142_FC4-2.1.27-0.rr.10.4.i686.rpm
What good is FUSE to me? I've Googled till the cows come home, but I do not understand the responses.
Ken Jones _______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
Well, let me take a crack at this one. FUSE = FileSystems in user space (you knew that....) An example: I use sshfs (http://fuse.sourceforge.net/sshfs.html) to mount a file system which I can access via ssh but cannot mount it via NFS (because the file system is behind a firewall). I can mount it as a mere user (not root). Traditionally, all file system mounts had to be done as root (relaxed later for removeable media such as floppies, CD/DVD, USB memory, etc). In the case of NTFS, I'm not sure I see an advantage either way. Perhaps FUSE is just another way to access data stored on an NTFS partition. I'm not certain, but I think the "big deal" about FUSE is that the user can do it without requiring root. Later, Andy - -- Andy Stewart, Founder Worcester Linux Users' Group Worcester, MA, USA http://www.wlug.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFE3prPHl0iXDssISsRAvcsAJ9dinyw3LK+2dTu9P4rw/uSr5pZjwCfUeiM wKhz03ccqcKLbUzOwW6DkIY= =W8vK -----END PGP SIGNATURE-----
well, my first responce was that it was an encryption system for disks, but then found http://www.ricardis.tudelft.nl/~vincent/fusesmb/ saying it is a network browsing system. then also found: http://rescuecd.pld-linux.org/download/2006-06-18/RPMS which lists fuse as the following: ntfsprogs-fuse 1.13.0-3 NTFS FUSE module (ntfsmount) and libfuse 2.5.3-3 Filesystem in Userspace so, i guess my answer is i have no idea --- ken jones <kjones@ziplink.net> wrote:
Would somebody please explain to me what exactly FUSE does?
I succeeded in using fusexmp to mount my root directory into /tmp/fuse2.5.3/example. I also succeeded in unmounting with fusermount -u. I do not understand why I should want to.
This all started when I upgraded the kernel and the type ntfs file system on the other half of my dual mounted system refused to "mount". I got distracted into FUSE then remembered to install the matching kernel-module-ntfs below.
Now I am again successfully using 'smbmount' to mount ntfs file types. I am running Fedora 2.6.17-1.2142_FC4 with kernel-module-ntfs-2.6.17-1.2142_FC4-2.1.27-0.rr.10.4.i686.rpm
What good is FUSE to me? I've Googled till the cows come home, but I do not understand the responses.
Ken Jones _______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mike Leo wrote:
well, my first responce was that it was an encryption system for disks, but then found http://www.ricardis.tudelft.nl/~vincent/fusesmb/ saying it is a network browsing system.
then also found:
http://rescuecd.pld-linux.org/download/2006-06-18/RPMS
which lists fuse as the following:
ntfsprogs-fuse 1.13.0-3 NTFS FUSE module (ntfsmount) and libfuse 2.5.3-3 Filesystem in Userspace
so, i guess my answer is i have no idea
There are many different projects that come under the umbrella of FUSE: http://fuse.sourceforge.net/wiki/index.php/FileSystems Later, Andy - -- Andy Stewart, Founder Worcester Linux Users' Group Worcester, MA, USA http://www.wlug.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFE3rW2Hl0iXDssISsRAqUFAKCFGTA01n+sSBs0wxaBKUieJx5APQCfZxc9 /86DS9+0r3DmHfwHD3azeKk= =2F0y -----END PGP SIGNATURE-----
Hi, On Sat, 12 Aug 2006, ken jones wrote:
Would somebody please explain to me what exactly FUSE does?
"With FUSE it is possible to implement a fully functional filesystem in a userspace program." Why is this good? Because *anything* you can think of that you'd like to access as a filesystem, you can, without writing a kernel driver. http://fuse.sourceforge.net/wiki/index.php/FileSystems It works via the fuse module, /dev/fuse, and some (transparent) helper programs.
What good is FUSE to me? I've Googled till the cows come home, but I do not understand the responses.
I've been using the "sshfs" fuse module, and its one of the greatest things I've experienced in Linux in recent years. Lets say you have ssh access to another machine, you need to have FUSE support on your local kernel, then its just a matter of, mkdir ~/ssh/otherhost sshfs -o idmap=user me@otherhost:/ ~/ssh/otherhost ls ~/ssh/otherhost It sets up an sftp (ssh ftp protocol) session in the background, and I can now access whatever files I would have access to via ssh/sftp, right on my local system. Basically, it reduces, ssh otherhost cd somedir/ $EDITOR foo.txt exit to, cd ssh/otherhost/somedir/ $EDITOR foo.txt Working with files reduces to "mv", "cp", etc. No need for kioslaves, gnome-vfs, or other such madness. When I'm done, fusermount -u ~/ssh/otherhost At least on the small scale, which is all I really care about, it is SO much easier than setting up NFS, I don't even build NFS support into my kernels anymore. *No* setup is required on the other side (other than running sshd), no root access required on local side. I wouldn't be surprised if Plan9 and other OSs have had similar capabilities, but I haven't spent enough time with them, maybe someone else can comment. In any case, it works on Linux, and I'm happy. -Jamie
I've been using the "sshfs" fuse module, and its one of the greatest things I've experienced in Linux in recent years.
Lets say you have ssh access to another machine, you need to have FUSE support on your local kernel, then its just a matter of,
mkdir ~/ssh/otherhost sshfs -o idmap=user me@otherhost:/ ~/ssh/otherhost ls ~/ssh/otherhost
It sets up an sftp (ssh ftp protocol) session in the background, and I can now access whatever files I would have access to via ssh/sftp, right on my local system. Basically, it reduces,
ssh otherhost cd somedir/ $EDITOR foo.txt exit
to,
cd ssh/otherhost/somedir/ $EDITOR foo.txt
Working with files reduces to "mv", "cp", etc.
No need for kioslaves, gnome-vfs, or other such madness.
When I'm done,
fusermount -u ~/ssh/otherhost
At least on the small scale, which is all I really care about, it is SO much easier than setting up NFS, I don't even build NFS support into my kernels anymore. *No* setup is required on the other side (other than running sshd), no root access required on local side.
I wouldn't be surprised if Plan9 and other OSs have had similar capabilities, but I haven't spent enough time with them, maybe someone else can comment. In any case, it works on Linux, and I'm happy.
-Jamie
After reading this I wanted to try out sshfs, so: eastein@pippin:~/Desktop$ sshfs -d ccc.wpi.edu:~ ccc/ eastein@ccc.wpi.edu's password: fuse: failed to exec fusermount: Permission denied eastein@pippin:~/Desktop$ The same thing worked when I tried it as root. Help! Eric
On Sun, Aug 13, 2006 at 12:31:45AM -0400, Eric Stein wrote:
eastein@pippin:~/Desktop$ sshfs -d ccc.wpi.edu:~ ccc/ eastein@ccc.wpi.edu's password: fuse: failed to exec fusermount: Permission denied eastein@pippin:~/Desktop$
The same thing worked when I tried it as root. Help!
And there's the rub with FUSE. You need a setuid-root helper to perform the actual mount. Check the permissions on /usr/bin/fusermount. On my system, they've set it up for setuid-root but Fedora has deemed this to be enough of a security risk that you have to be in the fuse group to run it: -rwsr-xr-- 1 root fuse 22512 May 3 09:49 /usr/bin/fusermount
On Sun, 13 Aug 2006, Chuck Anderson wrote:
On Sun, Aug 13, 2006 at 12:31:45AM -0400, Eric Stein wrote:
eastein@pippin:~/Desktop$ sshfs -d ccc.wpi.edu:~ ccc/ eastein@ccc.wpi.edu's password: fuse: failed to exec fusermount: Permission denied eastein@pippin:~/Desktop$
The same thing worked when I tried it as root. Help!
And there's the rub with FUSE. You need a setuid-root helper to perform the actual mount. Check the permissions on /usr/bin/fusermount. On my system, they've set it up for setuid-root but Fedora has deemed this to be enough of a security risk that you have to be in the fuse group to run it:
-rwsr-xr-- 1 root fuse 22512 May 3 09:49 /usr/bin/fusermount
Good point, I should amend my earlier comment to be "no root access on the local side... other than the setuid wrapper", and add "no root access for needed for config files on the local side". Gentoo leaves it open by default (for better or worse) $ ls -l $(which fusermount) -rws--x--x 1 root root 18848 May 9 16:46 /usr/bin/fusermount My /bin/mount has the same perms, btw. -Jamie
participants (6)
-
Andy Stewart
-
Chuck Anderson
-
Eric Stein
-
Jamie Guinan
-
ken jones
-
Mike Leo