source: postlfs/filesystems/fuse3.xml@ 1ef28cd2

12.0 12.1 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 1ef28cd2 was 60e8d690, checked in by Douglas R. Reno <renodr@…>, 13 months ago

Update to fuse-3.15.0

  • Property mode set to 100644
File size: 8.9 KB
RevLine 
[ee000c3d]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[8dcdaf3]7 <!ENTITY fuse3-download-http "https://github.com/libfuse/libfuse/releases/download/fuse-&fuse3-version;/fuse-&fuse3-version;.tar.xz">
[81060947]8 <!ENTITY fuse3-download-ftp " ">
[60e8d690]9 <!ENTITY fuse3-md5sum "2abc81e1e75c872ecbbb97eb945c408d">
10 <!ENTITY fuse3-size "4.4 MB">
11 <!ENTITY fuse3-buildsize "232 MB (with tests and documentation)">
[c1be7853]12 <!ENTITY fuse3-time "0.2 SBU (add 0.3 SBU for tests)">
[ee000c3d]13]>
14
[81060947]15<sect1 id="fuse3" xreflabel="Fuse-&fuse3-version;">
[ee000c3d]16 <?dbhtml filename="fuse.html"?>
17
18
[81060947]19 <title>Fuse-&fuse3-version;</title>
[ee000c3d]20
[81060947]21 <indexterm zone="fuse3">
[2630345]22 <primary sortas="a-fuse-3">Fuse 3</primary>
[ee000c3d]23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to Fuse</title>
27
28 <para>
29 <application>FUSE</application> (Filesystem in Userspace) is a simple
30 interface for userspace programs to export a virtual filesystem to the
31 Linux kernel. <application>Fuse</application> also aims to provide a
32 secure method for non privileged users to create and mount their own
33 filesystem implementations.
34 </para>
35
[15445ab]36 &lfs113_checked;
[ee000c3d]37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>
[81060947]42 Download (HTTP): <ulink url="&fuse3-download-http;"/>
[ee000c3d]43 </para>
44 </listitem>
45 <listitem>
46 <para>
[81060947]47 Download (FTP): <ulink url="&fuse3-download-ftp;"/>
[ee000c3d]48 </para>
49 </listitem>
50 <listitem>
51 <para>
[81060947]52 Download MD5 sum: &fuse3-md5sum;
[ee000c3d]53 </para>
54 </listitem>
55 <listitem>
56 <para>
[81060947]57 Download size: &fuse3-size;
[ee000c3d]58 </para>
59 </listitem>
60 <listitem>
61 <para>
[81060947]62 Estimated disk space required: &fuse3-buildsize;
[ee000c3d]63 </para>
64 </listitem>
65 <listitem>
66 <para>
[81060947]67 Estimated build time: &fuse3-time;
[ee000c3d]68 </para>
69 </listitem>
70 </itemizedlist>
71
[c35f51a]72 <bridgehead renderas="sect3">Fuse Dependencies</bridgehead>
73 <bridgehead renderas="sect4">Optional</bridgehead>
74 <para role="optional">
[60e8d690]75 <xref linkend="doxygen"/> (to rebuild the API documentation),
76 <xref linkend="pytest"/> (required for tests), and
77 <ulink url="https://pypi.org/project/looseversion/">looseversion</ulink>
78 (for tests)
[c35f51a]79 </para>
[ff9b2cd]80
[ee000c3d]81 <para condition="html" role="usernotes">
82 User Notes: <ulink url="&blfs-wiki;/fuse"/>
83 </para>
84 </sect2>
85
86 <sect2 role="kernel" id="fuse-kernel">
87 <title>Kernel Configuration</title>
88
89 <para>
90 Enable the following options in the kernel configuration and recompile the
91 kernel if necessary:
92 </para>
93
94<screen><literal>File systems ---&gt;
[421128a1]95 &lt;*/M&gt; FUSE (Filesystem in Userspace) support [CONFIG_FUSE_FS]</literal></screen>
[ee000c3d]96
[8ec0245]97 <para>
[a0e08b2]98 Character devices in userspace should be enabled too for running the
[8ec0245]99 tests:
100 </para>
101
102<screen><literal>File systems ---&gt;
103 &lt;*/M&gt; FUSE (Filesystem in Userspace) support [CONFIG_FUSE_FS]
104 &lt;*/M&gt; Character device in Userspace support [CONFIG_CUSE]</literal></screen>
105
[81060947]106 <indexterm zone="fuse3 fuse-kernel">
[2630345]107 <primary sortas="d-fuse3">Fuse 3</primary>
[ee000c3d]108 </indexterm>
109 </sect2>
110
111 <sect2 role="installation">
112 <title>Installation of Fuse</title>
113
114 <para>
115 Install <application>Fuse</application> by running the following
116 commands:
117 </para>
118
[7f5826e7]119<screen><userinput>sed -i '/^udev/,$ s/^/#/' util/meson.build &amp;&amp;
[d58c5b7]120
[4da56e0]121mkdir build &amp;&amp;
122cd build &amp;&amp;
123
[91318eb]124meson setup --prefix=/usr --buildtype=release .. &amp;&amp;
[d58c5b7]125ninja</userinput></screen>
[ee000c3d]126
[ff9b2cd]127 <para>
[8558044]128 The API documentation is included in the package, but
129 if you have <xref linkend="doxygen"/> installed and wish to rebuild
[2f3e3de9]130 it, issue:
[8558044]131 </para>
[5a464e4d]132
[5c2571e3]133<screen remap="doc"><userinput>pushd .. &amp;&amp;
134 doxygen doc/Doxyfile &amp;&amp;
135popd</userinput></screen>
[8ec0245]136
137 <para>
[60e8d690]138 To test the results, issue the following commands (as the <systemitem
[8ec0245]139 role="username">root</systemitem> user):
140 </para>
141
[8d3c348]142 <!-- EDITORS NOTE: To view the results of the tests, look for
143 "short test summary info" at the end of your log. Below skipped tests,
144 you will see "X passed, X skipped, X failed (if any) in X seconds" -->
145
[60e8d690]146<screen role="root" remap="test"><userinput>python3 -m venv --system-site-packages testenv &amp;&amp;
147source testenv/bin/activate &amp;&amp;
148pip3 install looseversion &amp;&amp;
149pytest &amp;&amp;
150deactivate</userinput></screen>
[8ec0245]151
152 <para>
[8b819c5]153 The <xref linkend="pytest"/> Python
[60e8d690]154 module is required for the tests. One test named
[0f21ee62]155 <filename>test_cuse</filename> will fail if the
[1fe05eb]156 <parameter>CONFIG_CUSE</parameter> configuration item was not enabled
[60e8d690]157 when the kernel was built. One test,
158 <filename>test/util.py</filename>, will output a warning due to the usage
159 of an unknown mark in pytest.
[8ec0245]160 </para>
[ee000c3d]161
162 <para>
163 Now, as the <systemitem class="username">root</systemitem> user:
164 </para>
165
[c2f9a33]166<screen role="root"><userinput>ninja install &amp;&amp;
167chmod u+s /usr/bin/fusermount3 &amp;&amp;
168
169cd .. &amp;&amp;
170install -v -m755 -d /usr/share/doc/fuse-&fuse3-version; &amp;&amp;
171install -v -m644 doc/{README.NFS,kernel.txt} \
172 /usr/share/doc/fuse-&fuse3-version; &amp;&amp;
173cp -Rv doc/html /usr/share/doc/fuse-&fuse3-version;</userinput></screen>
[5a464e4d]174
[ee000c3d]175 </sect2>
176
177 <sect2 role="commands">
178 <title>Command Explanations</title>
179
180 <para>
[d58c5b7]181 <command>sed ... util/meson.build</command>: This command disables the
182 installation of a boot script and udev rule that are not needed.
[ee000c3d]183 </para>
184
[c1be7853]185<!--
[902450d]186 <para>
187 <command>sed ... meson.build</command>: This command fixes a bug with the
188 test_passthrough_hp test.
189 </para>
[c1be7853]190-->
[902450d]191
[adf17153]192 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
193 href="../../xincludes/meson-buildtype-release.xml"/>
194
[ee000c3d]195 </sect2>
196
[1647d338]197 <sect2 role="configuration" id="fuse-configuration">
[099a8d0]198 <title>Configuring fuse</title>
199
200 <sect3 id="fuse-config">
201 <title>Config Files</title>
202
[f69944f]203 <para>
204 Some options regarding mount policy can be set in the file
205 <filename>/etc/fuse.conf</filename>. To install the file run the
206 following command as the <systemitem class="username">root</systemitem>
207 user:
208 </para>
[099a8d0]209
210<screen role="root"><userinput>cat &gt; /etc/fuse.conf &lt;&lt; "EOF"
[51dfb3e]211<literal># Set the maximum number of FUSE mounts allowed to non-root users.
[099a8d0]212# The default is 1000.
213#
214#mount_max = 1000
215
216# Allow non-root users to specify the 'allow_other' or 'allow_root'
217# mount options.
218#
[51dfb3e]219#user_allow_other</literal>
[099a8d0]220EOF</userinput></screen>
221
[f69944f]222 <para>
223 Additional information about the meaning of the configuration
224 options are found in the man page.
225 </para>
[099a8d0]226
227 </sect3>
228
229 </sect2>
230
[ee000c3d]231 <sect2 role="content">
232 <title>Contents</title>
233
234 <segmentedlist>
235 <segtitle>Installed Programs</segtitle>
236 <segtitle>Installed Libraries</segtitle>
237 <segtitle>Installed Directory</segtitle>
238
239 <seglistitem>
240 <seg>
[0a7ee10]241 fusermount3 and mount.fuse3
[ee000c3d]242 </seg>
243 <seg>
[1647d338]244 libfuse3.so
[f69944f]245 </seg>
246 <seg>
[81060947]247 /usr/include/fuse3 and /usr/share/doc/fuse-&fuse3-version;
[ee000c3d]248 </seg>
249 </seglistitem>
250 </segmentedlist>
251
252 <variablelist>
253 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
254 <?dbfo list-presentation="list"?>
255 <?dbhtml list-presentation="table"?>
256
[1647d338]257 <varlistentry id="fusermount3">
258 <term><command>fusermount3</command></term>
[ee000c3d]259 <listitem>
260 <para>
[4c24eb0a]261 is a suid root program to mount and unmount Fuse filesystems
[ee000c3d]262 </para>
[81060947]263 <indexterm zone="fuse3 fusermount3">
[1647d338]264 <primary sortas="b-fusermount3">fusermount3</primary>
[ee000c3d]265 </indexterm>
266 </listitem>
267 </varlistentry>
268
[1647d338]269 <varlistentry id="mount.fuse3">
270 <term><command>mount.fuse3</command></term>
[ee000c3d]271 <listitem>
272 <para>
[d58c5b7]273 is the command <command>mount</command> calls to mount a Fuse
[4c24eb0a]274 filesystem
[ee000c3d]275 </para>
[81060947]276 <indexterm zone="fuse3 mount.fuse3">
[1647d338]277 <primary sortas="b-mount.fuse3">mount.fuse3</primary>
[ee000c3d]278 </indexterm>
279 </listitem>
280 </varlistentry>
281
[1647d338]282 <varlistentry id="libfuse3">
283 <term><filename class="libraryfile">libfuse3.so</filename></term>
[ee000c3d]284 <listitem>
285 <para>
[4c24eb0a]286 contains the <application>FUSE</application> API functions
[ee000c3d]287 </para>
[81060947]288 <indexterm zone="fuse3 libfuse3">
[1647d338]289 <primary sortas="c-libfuse3">libfuse3.so</primary>
[ee000c3d]290 </indexterm>
291 </listitem>
292 </varlistentry>
293
294 </variablelist>
[f69944f]295
[ee000c3d]296 </sect2>
[f69944f]297
[ee000c3d]298</sect1>
Note: See TracBrowser for help on using the repository browser.