source: postlfs/filesystems/fuse3.xml@ 8ec0245

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 8ec0245 was 8ec0245, checked in by Pierre Labastie <pieere@…>, 4 years ago

Fuse-3.9.3
LVM2-2.03.10

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23489 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 8.6 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 "08d5cfab0e9e7e9b1f4c72179930a9ab">
10 <!ENTITY fuse3-size "1.7 MB">
11 <!ENTITY fuse3-buildsize "125 MB">
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 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>Fuse-&fuse3-version;</title>
24
25 <indexterm zone="fuse3">
26 <primary sortas="a-fuse-3">Fuse 3</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to Fuse</title>
31
32 <para>
33 <application>FUSE</application> (Filesystem in Userspace) is a simple
34 interface for userspace programs to export a virtual filesystem to the
35 Linux kernel. <application>Fuse</application> also aims to provide a
36 secure method for non privileged users to create and mount their own
37 filesystem implementations.
38 </para>
39
40 &lfs91_checked;
41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>
46 Download (HTTP): <ulink url="&fuse3-download-http;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download (FTP): <ulink url="&fuse3-download-ftp;"/>
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download MD5 sum: &fuse3-md5sum;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Download size: &fuse3-size;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated disk space required: &fuse3-buildsize;
67 </para>
68 </listitem>
69 <listitem>
70 <para>
71 Estimated build time: &fuse3-time;
72 </para>
73 </listitem>
74 </itemizedlist>
75
76 <bridgehead renderas="sect3">Fuse Dependencies</bridgehead>
77 <bridgehead renderas="sect4">Optional</bridgehead>
78 <para role="optional">
79 <xref linkend="doxygen"/> (to rebuild the API documentation) and
80 <ulink url="https://pypi.org/project/pytest/">pytest</ulink> (for tests)
81 </para>
82
83 <para condition="html" role="usernotes">
84 User Notes: <ulink url="&blfs-wiki;/fuse"/>
85 </para>
86 </sect2>
87
88 <sect2 role="kernel" id="fuse-kernel">
89 <title>Kernel Configuration</title>
90
91 <para>
92 Enable the following options in the kernel configuration and recompile the
93 kernel if necessary:
94 </para>
95
96<screen><literal>File systems ---&gt;
97 &lt;*/M&gt; FUSE (Filesystem in Userspace) support [CONFIG_FUSE_FS]</literal></screen>
98
99 <para>
100 Character devices in user space should be enabled too for running the
101 tests:
102 </para>
103
104<screen><literal>File systems ---&gt;
105 &lt;*/M&gt; FUSE (Filesystem in Userspace) support [CONFIG_FUSE_FS]
106 &lt;*/M&gt; Character device in Userspace support [CONFIG_CUSE]</literal></screen>
107
108 <indexterm zone="fuse3 fuse-kernel">
109 <primary sortas="d-fuse3">Fuse 3</primary>
110 </indexterm>
111 </sect2>
112
113 <sect2 role="installation">
114 <title>Installation of Fuse</title>
115
116 <para>
117 Install <application>Fuse</application> by running the following
118 commands:
119 </para>
120
121<screen><userinput>sed -i '/^udev/,$ s/^/#/' util/meson.build &amp;&amp;
122
123mkdir build &amp;&amp;
124cd build &amp;&amp;
125
126meson --prefix=/usr .. &amp;&amp;
127ninja</userinput></screen>
128
129 <para>
130 The API documentation is included in the package, but
131 if you have <xref linkend="doxygen"/> installed and wish to rebuild
132 it, issue:
133 </para>
134
135<screen remap="doc"><userinput>doxygen doc/Doxyfile</userinput></screen>
136
137<!--
138 <para>
139 This package does not come with a test suite.
140 </para>
141-->
142
143 <para>
144 To test the results, run (as the <systemitem
145 role="username">root</systemitem> user):
146 </para>
147
148<screen role="root"
149 remap="test"><userinput>python3 -m pytest test/</userinput></screen>
150
151 <para>
152 The <ulink url="https://pypi.org/project/pytest/">pytest</ulink>
153 Python module is needed for the tests.
154 </para>
155
156 <para>
157 Now, as the <systemitem class="username">root</systemitem> user:
158 </para>
159
160<screen role="root"><userinput>ninja install &amp;&amp;
161
162mv -vf /usr/lib/libfuse3.so.3* /lib &amp;&amp;
163ln -sfvn ../../lib/libfuse3.so.&fuse3-version; /usr/lib/libfuse3.so &amp;&amp;
164
165mv -vf /usr/bin/fusermount3 /bin &amp;&amp;
166mv -vf /usr/sbin/mount.fuse3 /sbin &amp;&amp;
167chmod u+s /bin/fusermount3 &amp;&amp;
168
169install -v -m755 -d /usr/share/doc/fuse-&fuse3-version; &amp;&amp;
170install -v -m644 ../doc/{README.NFS,kernel.txt} \
171 /usr/share/doc/fuse-&fuse3-version; &amp;&amp;
172cp -Rv ../doc/html /usr/share/doc/fuse-&fuse3-version;
173<!-- gunzip /usr/share/man/{man1/fusermount3.1,man8/mount.fuse.8}.gz --></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 <para>
186 <command>mv ... libfuse3.so.3*; ln ... libfuse3.so</command>:
187 These commands install the libraries in the /lib directory.
188 </para>
189<!--
190 <para>
191 <command>unzip ...</command>: This uncompresses the installed man pages
192 to be consistent with the rest of the man pages.
193 </para>
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, 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.