source: postlfs/filesystems/fuse3.xml@ 2266a90

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

Update to fuse-3.14.0

  • Property mode set to 100644
File size: 8.7 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 "2070c0f347e2304fa122d4cb0746e8a9">
10 <!ENTITY fuse3-size "4.2 MB">
11 <!ENTITY fuse3-buildsize "108 MB (with tests and documentation)">
12 <!ENTITY fuse3-time "0.1 SBU (add 0.4 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) and
76 <xref linkend="pytest"/> (required for tests)
77 </para>
78
79 <para condition="html" role="usernotes">
80 User Notes: <ulink url="&blfs-wiki;/fuse"/>
81 </para>
82 </sect2>
83
84 <sect2 role="kernel" id="fuse-kernel">
85 <title>Kernel Configuration</title>
86
87 <para>
88 Enable the following options in the kernel configuration and recompile the
89 kernel if necessary:
90 </para>
91
92<screen><literal>File systems ---&gt;
93 &lt;*/M&gt; FUSE (Filesystem in Userspace) support [CONFIG_FUSE_FS]</literal></screen>
94
95 <para>
96 Character devices in userspace should be enabled too for running the
97 tests:
98 </para>
99
100<screen><literal>File systems ---&gt;
101 &lt;*/M&gt; FUSE (Filesystem in Userspace) support [CONFIG_FUSE_FS]
102 &lt;*/M&gt; Character device in Userspace support [CONFIG_CUSE]</literal></screen>
103
104 <indexterm zone="fuse3 fuse-kernel">
105 <primary sortas="d-fuse3">Fuse 3</primary>
106 </indexterm>
107 </sect2>
108
109 <sect2 role="installation">
110 <title>Installation of Fuse</title>
111
112 <para>
113 Install <application>Fuse</application> by running the following
114 commands:
115 </para>
116
117<screen><userinput>sed -i '/^udev/,$ s/^/#/' util/meson.build &amp;&amp;
118
119sed -i 's/HAVE_CONFIG_H/HAVE_LIBFUSE_PRIVATE_CONFIG_H/' meson.build &amp;&amp;
120
121mkdir build &amp;&amp;
122cd build &amp;&amp;
123
124meson --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, run (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"
147 remap="test"><userinput>python3 -m pytest test/</userinput></screen>
148
149 <para>
150 The <xref linkend="pytest"/> Python
151 module is required for the tests. One test named
152 <filename>test_cuse</filename> will fail if the
153 <parameter>CONFIG_CUSE</parameter> configuration item was not enabled
154 when the kernel was built. Two tests,
155 <filename>test_ctests.py</filename> and
156 <filename>test_examples.py</filename> will produce a warning because a
157 deprecated Python module is used.
158 </para>
159
160 <para>
161 Now, as the <systemitem class="username">root</systemitem> user:
162 </para>
163
164<screen role="root"><userinput>ninja install &amp;&amp;
165chmod u+s /usr/bin/fusermount3 &amp;&amp;
166
167cd .. &amp;&amp;
168install -v -m755 -d /usr/share/doc/fuse-&fuse3-version; &amp;&amp;
169install -v -m644 doc/{README.NFS,kernel.txt} \
170 /usr/share/doc/fuse-&fuse3-version; &amp;&amp;
171cp -Rv doc/html /usr/share/doc/fuse-&fuse3-version;</userinput></screen>
172
173 </sect2>
174
175 <sect2 role="commands">
176 <title>Command Explanations</title>
177
178 <para>
179 <command>sed ... util/meson.build</command>: This command disables the
180 installation of a boot script and udev rule that are not needed.
181 </para>
182
183 <para>
184 <command>sed ... meson.build</command>: This command fixes a bug with the
185 test_passthrough_hp test.
186 </para>
187
188 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
189 href="../../xincludes/meson-buildtype-release.xml"/>
190
191 </sect2>
192
193 <sect2 role="configuration" id="fuse-configuration">
194 <title>Configuring fuse</title>
195
196 <sect3 id="fuse-config">
197 <title>Config Files</title>
198
199 <para>
200 Some options regarding mount policy can be set in the file
201 <filename>/etc/fuse.conf</filename>. To install the file run the
202 following command as the <systemitem class="username">root</systemitem>
203 user:
204 </para>
205
206<screen role="root"><userinput>cat &gt; /etc/fuse.conf &lt;&lt; "EOF"
207<literal># Set the maximum number of FUSE mounts allowed to non-root users.
208# The default is 1000.
209#
210#mount_max = 1000
211
212# Allow non-root users to specify the 'allow_other' or 'allow_root'
213# mount options.
214#
215#user_allow_other</literal>
216EOF</userinput></screen>
217
218 <para>
219 Additional information about the meaning of the configuration
220 options are found in the man page.
221 </para>
222
223 </sect3>
224
225 </sect2>
226
227 <sect2 role="content">
228 <title>Contents</title>
229
230 <segmentedlist>
231 <segtitle>Installed Programs</segtitle>
232 <segtitle>Installed Libraries</segtitle>
233 <segtitle>Installed Directory</segtitle>
234
235 <seglistitem>
236 <seg>
237 fusermount3 and mount.fuse3
238 </seg>
239 <seg>
240 libfuse3.so
241 </seg>
242 <seg>
243 /usr/include/fuse3 and /usr/share/doc/fuse-&fuse3-version;
244 </seg>
245 </seglistitem>
246 </segmentedlist>
247
248 <variablelist>
249 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
250 <?dbfo list-presentation="list"?>
251 <?dbhtml list-presentation="table"?>
252
253 <varlistentry id="fusermount3">
254 <term><command>fusermount3</command></term>
255 <listitem>
256 <para>
257 is a suid root program to mount and unmount Fuse filesystems
258 </para>
259 <indexterm zone="fuse3 fusermount3">
260 <primary sortas="b-fusermount3">fusermount3</primary>
261 </indexterm>
262 </listitem>
263 </varlistentry>
264
265 <varlistentry id="mount.fuse3">
266 <term><command>mount.fuse3</command></term>
267 <listitem>
268 <para>
269 is the command <command>mount</command> calls to mount a Fuse
270 filesystem
271 </para>
272 <indexterm zone="fuse3 mount.fuse3">
273 <primary sortas="b-mount.fuse3">mount.fuse3</primary>
274 </indexterm>
275 </listitem>
276 </varlistentry>
277
278 <varlistentry id="libfuse3">
279 <term><filename class="libraryfile">libfuse3.so</filename></term>
280 <listitem>
281 <para>
282 contains the <application>FUSE</application> API functions
283 </para>
284 <indexterm zone="fuse3 libfuse3">
285 <primary sortas="c-libfuse3">libfuse3.so</primary>
286 </indexterm>
287 </listitem>
288 </varlistentry>
289
290 </variablelist>
291
292 </sect2>
293
294</sect1>
Note: See TracBrowser for help on using the repository browser.