O sphinx.addnodesdocument)}( rawsource children](translations
LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba
attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftarget$/translations/zh_CN/filesystems/fusemodnameN classnameNrefexplicitutagnamehhhubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget$/translations/zh_TW/filesystems/fusemodnameN classnameNrefexplicituh1hhhubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget$/translations/it_IT/filesystems/fusemodnameN classnameNrefexplicituh1hhhubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget$/translations/ja_JP/filesystems/fusemodnameN classnameNrefexplicituh1hhhubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget$/translations/ko_KR/filesystems/fusemodnameN classnameNrefexplicituh1hhhubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget$/translations/sp_SP/filesystems/fusemodnameN classnameNrefexplicituh1hhhubeh}(h]h ]h"]h$]h&]current_languageEnglishuh1h
hh _documenthsourceNlineNubhcomment)}(h SPDX-License-Identifier: GPL-2.0h]h SPDX-License-Identifier: GPL-2.0}hhsbah}(h]h ]h"]h$]h&] xml:spacepreserveuh1hhhhhh>/var/lib/git/docbuild/linux/Documentation/filesystems/fuse.rsthKubhsection)}(hhh](htitle)}(hFUSEh]hFUSE}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hDefinitionsh]hDefinitions}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhKubhdefinition_list)}(hhh](hdefinition_list_item)}(hUserspace filesystem:
A filesystem in which data and metadata are provided by an ordinary
userspace process. The filesystem can be accessed normally through
the kernel interface.
h](hterm)}(hUserspace filesystem:h]hUserspace filesystem:}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK
hhubh
definition)}(hhh]h paragraph)}(hA filesystem in which data and metadata are provided by an ordinary
userspace process. The filesystem can be accessed normally through
the kernel interface.h]hA filesystem in which data and metadata are provided by an ordinary
userspace process. The filesystem can be accessed normally through
the kernel interface.}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhubah}(h]h ]h"]h$]h&]uh1hhhubeh}(h]h ]h"]h$]h&]uh1hhhhK
hhubh)}(hVFilesystem daemon:
The process(es) providing the data and metadata of the filesystem.
h](h)}(hFilesystem daemon:h]hFilesystem daemon:}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubh)}(hhh]h)}(hBThe process(es) providing the data and metadata of the filesystem.h]hBThe process(es) providing the data and metadata of the filesystem.}(hj+ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj( ubah}(h]h ]h"]h$]h&]uh1hhj ubeh}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(hX& Non-privileged mount (or user mount):
A userspace filesystem mounted by a non-privileged (non-root) user.
The filesystem daemon is running with the privileges of the mounting
user. NOTE: this is not the same as mounts allowed with the "user"
option in /etc/fstab, which is not discussed here.
h](h)}(h%Non-privileged mount (or user mount):h]h%Non-privileged mount (or user mount):}(hjI hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjE ubh)}(hhh]h)}(hA userspace filesystem mounted by a non-privileged (non-root) user.
The filesystem daemon is running with the privileges of the mounting
user. NOTE: this is not the same as mounts allowed with the "user"
option in /etc/fstab, which is not discussed here.h]hX A userspace filesystem mounted by a non-privileged (non-root) user.
The filesystem daemon is running with the privileges of the mounting
user. NOTE: this is not the same as mounts allowed with the “user”
option in /etc/fstab, which is not discussed here.}(hjZ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjW ubah}(h]h ]h"]h$]h&]uh1hhjE ubeh}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(hXR Filesystem connection:
A connection between the filesystem daemon and the kernel. The
connection exists until either the daemon dies, or the filesystem is
umounted. Note that detaching (or lazy umounting) the filesystem
does *not* break the connection, in this case it will exist until
the last reference to the filesystem is released.
h](h)}(hFilesystem connection:h]hFilesystem connection:}(hjx hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjt ubh)}(hhh]h)}(hX: A connection between the filesystem daemon and the kernel. The
connection exists until either the daemon dies, or the filesystem is
umounted. Note that detaching (or lazy umounting) the filesystem
does *not* break the connection, in this case it will exist until
the last reference to the filesystem is released.h](hA connection between the filesystem daemon and the kernel. The
connection exists until either the daemon dies, or the filesystem is
umounted. Note that detaching (or lazy umounting) the filesystem
does }(hj hhhNhNubhemphasis)}(h*not*h]hnot}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j hj ubhi break the connection, in this case it will exist until
the last reference to the filesystem is released.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1hhjt ubeh}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(h-Mount owner:
The user who does the mounting.
h](h)}(hMount owner:h]hMount owner:}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK hj ubh)}(hhh]h)}(hThe user who does the mounting.h]hThe user who does the mounting.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK hj ubah}(h]h ]h"]h$]h&]uh1hhj ubeh}(h]h ]h"]h$]h&]uh1hhhhK hhhhubh)}(h8User:
The user who is performing filesystem operations.
h](h)}(hUser:h]hUser:}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK#hj ubh)}(hhh]h)}(h1The user who is performing filesystem operations.h]h1The user who is performing filesystem operations.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK#hj ubah}(h]h ]h"]h$]h&]uh1hhj ubeh}(h]h ]h"]h$]h&]uh1hhhhK#hhhhubeh}(h]h ]h"]h$]h&]uh1hhhhhhhhNubeh}(h]definitionsah ]h"]definitionsah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(h
What is FUSE?h]h
What is FUSE?}(hj& hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj# hhhhhK&ubh)}(hFUSE is a userspace filesystem framework. It consists of a kernel
module (fuse.ko), a userspace library (libfuse.*) and a mount utility
(fusermount).h]hFUSE is a userspace filesystem framework. It consists of a kernel
module (fuse.ko), a userspace library (libfuse.*) and a mount utility
(fusermount).}(hj4 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK(hj# hhubh)}(hOne of the most important features of FUSE is allowing secure,
non-privileged mounts. This opens up new possibilities for the use of
filesystems. A good example is sshfs: a secure network filesystem
using the sftp protocol.h]hOne of the most important features of FUSE is allowing secure,
non-privileged mounts. This opens up new possibilities for the use of
filesystems. A good example is sshfs: a secure network filesystem
using the sftp protocol.}(hjB hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK,hj# hhubh)}(hjThe userspace library and utilities are available from the
`FUSE homepage: `_h](h;The userspace library and utilities are available from the
}(hjP hhhNhNubh reference)}(h/`FUSE homepage: `_h]hFUSE homepage:}(hjZ hhhNhNubah}(h]h ]h"]h$]h&]nameFUSE homepage:refurihttps://github.com/libfuse/uh1jX hjP ubhtarget)}(h h]h}(h]
fuse-homepageah ]h"]fuse homepage:ah$]h&]refurijk uh1jl
referencedKhjP ubeh}(h]h ]h"]h$]h&]uh1hhhhK1hj# hhubeh}(h]what-is-fuseah ]h"]
what is fuse?ah$]h&]uh1hhhhhhhhK&ubh)}(hhh](h)}(hFilesystem typeh]hFilesystem type}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hhhhhK5ubh)}(hBThe filesystem type given to mount(2) can be one of the following:h]hBThe filesystem type given to mount(2) can be one of the following:}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK7hj hhubhblock_quote)}(hX= fuse
This is the usual way to mount a FUSE filesystem. The first
argument of the mount system call may contain an arbitrary string,
which is not interpreted by the kernel.
fuseblk
The filesystem is block device based. The first argument of the
mount system call is interpreted as the name of the device.
h]h)}(hhh](h)}(hfuse
This is the usual way to mount a FUSE filesystem. The first
argument of the mount system call may contain an arbitrary string,
which is not interpreted by the kernel.
h](h)}(hfuseh]hfuse}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK