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
Line 
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
7 <!ENTITY fuse3-download-http "https://github.com/libfuse/libfuse/releases/download/fuse-&fuse3-version;/fuse-&fuse3-version;.tar.xz">
8 <!ENTITY fuse3-download-ftp " ">
9 <!ENTITY fuse3-md5sum "2abc81e1e75c872ecbbb97eb945c408d">
10 <!ENTITY fuse3-size "4.4 MB">
11 <!ENTITY fuse3-buildsize "232 MB (with tests and documentation)">
12 <!ENTITY fuse3-time "0.2 SBU (add 0.3 SBU for tests)">
13]>
14
15<sect1 id="fuse3" xreflabel="Fuse-&fuse3-version;">
16 <?dbhtml filename="fuse.html"?>
17
18
19 <title>Fuse-&fuse3-version;</title>
20
21 <indexterm zone="fuse3">
22 <primary sortas="a-fuse-3">Fuse 3</primary>
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
36 &lfs113_checked;
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>
42 Download (HTTP): <ulink url="&fuse3-download-http;"/>
43 </para>
44 </listitem>
45 <listitem>
46 <para>
47 Download (FTP): <ulink url="&fuse3-download-ftp;"/>
48 </para>
49 </listitem>
50 <listitem>
51 <para>
52 Download MD5 sum: &fuse3-md5sum;
53 </para>
54 </listitem>
55 <listitem>
56 <para>
57 Download size: &fuse3-size;
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 Estimated disk space required: &fuse3-buildsize;
63 </para>
64 </listitem>
65 <listitem>
66 <para>
67 Estimated build time: &fuse3-time;
68 </para>
69 </listitem>
70 </itemizedlist>
71
72 <bridgehead renderas="sect3">Fuse Dependencies</bridgehead>
73 <bridgehead renderas="sect4">Optional</bridgehead>
74 <para role="optional">
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)
79 </para>
80
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;
95 &lt;*/M&gt; FUSE (Filesystem in Userspace) support [CONFIG_FUSE_FS]</literal></screen>
96
97 <para>
98 Character devices in userspace should be enabled too for running the
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
106 <indexterm zone="fuse3 fuse-kernel">
107 <primary sortas="d-fuse3">Fuse 3</primary>
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
119<screen><userinput>sed -i '/^udev/,$ s/^/#/' util/meson.build &amp;&amp;
120
121mkdir build &amp;&amp;
122cd build &amp;&amp;
123
124meson setup --prefix=/usr --buildtype=release .. &amp;&amp;
125ninja</userinput></screen>
126
127 <para>
128 The API documentation is included in the package, but
129 if you have <xref linkend="doxygen"/> installed and wish to rebuild
130 it, issue:
131 </para>
132
133<screen remap="doc"><userinput>pushd .. &amp;&amp;
134 doxygen doc/Doxyfile &amp;&amp;
135popd</userinput></screen>
136
137 <para>
138 To test the results, issue the following commands (as the <systemitem
139 role="username">root</systemitem> user):
140 </para>
141
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
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>
151
152 <para>
153 The <xref linkend="pytest"/> Python
154 module is required for the tests. One test named
155 <filename>test_cuse</filename> will fail if the
156 <parameter>CONFIG_CUSE</parameter> configuration item was not enabled
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.
160 </para>
161
162 <para>
163 Now, as the <systemitem class="username">root</systemitem> user:
164 </para>
165
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>
174
175 </sect2>
176
177 <sect2 role="commands">
178 <title>Command Explanations</title>
179
180 <para>
181 <command>sed ... util/meson.build</command>: This command disables the
182 installation of a boot script and udev rule that are not needed.
183 </para>
184
185<!--
186 <para>
187 <command>sed ... meson.build</command>: This command fixes a bug with the
188 test_passthrough_hp test.
189 </para>
190-->
191
192 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
193 href="../../xincludes/meson-buildtype-release.xml"/>
194
195 </sect2>
196
197 <sect2 role="configuration" id="fuse-configuration">
198 <title>Configuring fuse</title>
199
200 <sect3 id="fuse-config">
201 <title>Config Files</title>
202
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>
209
210<screen role="root"><userinput>cat &gt; /etc/fuse.conf &lt;&lt; "EOF"
211<literal># Set the maximum number of FUSE mounts allowed to non-root users.
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#
219#user_allow_other</literal>
220EOF</userinput></screen>
221
222 <para>
223 Additional information about the meaning of the configuration
224 options are found in the man page.
225 </para>
226
227 </sect3>
228
229 </sect2>
230
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>
241 fusermount3 and mount.fuse3
242 </seg>
243 <seg>
244 libfuse3.so
245 </seg>
246 <seg>
247 /usr/include/fuse3 and /usr/share/doc/fuse-&fuse3-version;
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
257 <varlistentry id="fusermount3">
258 <term><command>fusermount3</command></term>
259 <listitem>
260 <para>
261 is a suid root program to mount and unmount Fuse filesystems
262 </para>
263 <indexterm zone="fuse3 fusermount3">
264 <primary sortas="b-fusermount3">fusermount3</primary>
265 </indexterm>
266 </listitem>
267 </varlistentry>
268
269 <varlistentry id="mount.fuse3">
270 <term><command>mount.fuse3</command></term>
271 <listitem>
272 <para>
273 is the command <command>mount</command> calls to mount a Fuse
274 filesystem
275 </para>
276 <indexterm zone="fuse3 mount.fuse3">
277 <primary sortas="b-mount.fuse3">mount.fuse3</primary>
278 </indexterm>
279 </listitem>
280 </varlistentry>
281
282 <varlistentry id="libfuse3">
283 <term><filename class="libraryfile">libfuse3.so</filename></term>
284 <listitem>
285 <para>
286 contains the <application>FUSE</application> API functions
287 </para>
288 <indexterm zone="fuse3 libfuse3">
289 <primary sortas="c-libfuse3">libfuse3.so</primary>
290 </indexterm>
291 </listitem>
292 </varlistentry>
293
294 </variablelist>
295
296 </sect2>
297
298</sect1>
Note: See TracBrowser for help on using the repository browser.