Filesystem in Userspace
Filesystem in Userspace (FUSE) provides a way for users to mount file systems without needing special permissions (mounting in Linux is generally reserved to those with administrative privileges).
Installation[edit | edit source]
Kernel[edit | edit source]
KERNEL Enable support for FUSE
File systems --->
<*> FUSE (Filesystem in Userspace) support
USE flags[edit | edit source]
USE flags for sys-fs/fuse An interface for filesystems implemented in userspace
Emerge[edit | edit source]
As with most file systems, after building support for the file system into the kernel be sure to install the user space tools:
root #emerge --ask sys-fs/fuseConfiguration[edit | edit source]
Files[edit | edit source]
The following configuration files are available for FUSE:
- /etc/fuse.conf
There are two configuration variables available in the fuse.conf file:
- mount_max - Sets the maximum number of FUSE mounts allowed to non-root users (defaults to 1000 if unset).
- user_allow_other - Allows non-root users to specify the
allow_otherorallow_rootmount options. This is disabled for security reasons.
Usage[edit | edit source]
Invocation[edit | edit source]
user $fusermount -hfusermount: [options] mountpoint Options: -h print help -V print version -o opt[,opt...] mount options -u unmount -q quiet -z lazy unmount
Mounting filesystems[edit | edit source]
Use the fusermount command:
user $fusermount /path/to/mountpointUnmounting filesystems[edit | edit source]
Filesystems can be unmounted using either the umount or the fusermount command:
user $fusermount -u /path/to/mountpointRemoval[edit | edit source]
root #emerge --ask --depclean --verbose sys-fs/fuseSee also[edit | edit source]
- Filesystem — a means to organize data expected to be retained after a program terminates by providing procedures to store, retrieve, and update data as well as manage the available space on the device(s) which contain it.
External resources[edit | edit source]
- Writing a FUSE Filesystem: a Tutorial
- FUSE-based file systems (Arch Linux Wiki)
This article is issued from Gentoo. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.