source: postlfs/filesystems/fuse3.xml@ 0a7ee10

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 0a7ee10 was 0a7ee10, checked in by Douglas R. Reno <renodr@…>, 3 years ago

Update to pcmanfm-1.3.2
Update to libfm-1.3.2
Update to libfm-extra-1.3.2
Update to fuse-3.10.2
Update to btrfs-progs-5.10.1
Update to libisoburn-1.5.4
Update to libisofs-1.5.4
Update to libburn-1.5.4

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

  • Property mode set to 100644
File size: 8.5 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 " ">
[0a7ee10]9 <!ENTITY fuse3-md5sum "1c60ab35e72f1b6cb3903a49f3563aee">
10 <!ENTITY fuse3-size "2.0 MB">
11 <!ENTITY fuse3-buildsize "146 MB">
[8ec0245]12 <!ENTITY fuse3-time "0.1 SBU (add 0.4 SBU for tests)">
[ee000c3d]13]>
14
[81060947]15<sect1 id="fuse3" xreflabel="Fuse-&fuse3-version;">
[ee000c3d]16 <?dbhtml filename="fuse.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
[81060947]23 <title>Fuse-&fuse3-version;</title>
[ee000c3d]24
[81060947]25 <indexterm zone="fuse3">
[2630345]26 <primary sortas="a-fuse-3">Fuse 3</primary>
[ee000c3d]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
[78af2ee]40 &lfs10_checked;
[ee000c3d]41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>
[81060947]46 Download (HTTP): <ulink url="&fuse3-download-http;"/>
[ee000c3d]47 </para>
48 </listitem>
49 <listitem>
50 <para>
[81060947]51 Download (FTP): <ulink url="&fuse3-download-ftp;"/>
[ee000c3d]52 </para>
53 </listitem>
54 <listitem>
55 <para>
[81060947]56 Download MD5 sum: &fuse3-md5sum;
[ee000c3d]57 </para>
58 </listitem>
59 <listitem>
60 <para>
[81060947]61 Download size: &fuse3-size;
[ee000c3d]62 </para>
63 </listitem>
64 <listitem>
65 <para>
[81060947]66 Estimated disk space required: &fuse3-buildsize;
[ee000c3d]67 </para>
68 </listitem>
69 <listitem>
70 <para>
[81060947]71 Estimated build time: &fuse3-time;
[ee000c3d]72 </para>
73 </listitem>
74 </itemizedlist>
75
[c35f51a]76 <bridgehead renderas="sect3">Fuse Dependencies</bridgehead>
77 <bridgehead renderas="sect4">Optional</bridgehead>
78 <para role="optional">
[8ec0245]79 <xref linkend="doxygen"/> (to rebuild the API documentation) and
80 <ulink url="https://pypi.org/project/pytest/">pytest</ulink> (for tests)
[c35f51a]81 </para>
[ff9b2cd]82
[ee000c3d]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;
[421128a1]97 &lt;*/M&gt; FUSE (Filesystem in Userspace) support [CONFIG_FUSE_FS]</literal></screen>
[ee000c3d]98
[8ec0245]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
[81060947]108 <indexterm zone="fuse3 fuse-kernel">
[2630345]109 <primary sortas="d-fuse3">Fuse 3</primary>
[ee000c3d]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
[7f5826e7]121<screen><userinput>sed -i '/^udev/,$ s/^/#/' util/meson.build &amp;&amp;
[d58c5b7]122
[4da56e0]123mkdir build &amp;&amp;
124cd build &amp;&amp;
125
126meson --prefix=/usr .. &amp;&amp;
[d58c5b7]127ninja</userinput></screen>
[ee000c3d]128
[ff9b2cd]129 <para>
130 The API documentation is included in the package, but
131 if you have <xref linkend="doxygen"/> installed and wish to rebuild
[2f3e3de9]132 it, issue:
[ff9b2cd]133 </para>
[5a464e4d]134
[2f3e3de9]135<screen remap="doc"><userinput>doxygen doc/Doxyfile</userinput></screen>
136
[8ec0245]137<!--
[ee000c3d]138 <para>
139 This package does not come with a test suite.
140 </para>
[8ec0245]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>
[ee000c3d]155
156 <para>
157 Now, as the <systemitem class="username">root</systemitem> user:
158 </para>
159
[d58c5b7]160<screen role="root"><userinput>ninja install &amp;&amp;
161
162mv -vf /usr/lib/libfuse3.so.3* /lib &amp;&amp;
[7e6b462]163ln -sfvn ../../lib/libfuse3.so.&fuse3-version; /usr/lib/libfuse3.so &amp;&amp;
[5a464e4d]164
[2e0d6b9]165mv -vf /usr/bin/fusermount3 /bin &amp;&amp;
166mv -vf /usr/sbin/mount.fuse3 /sbin &amp;&amp;
167chmod u+s /bin/fusermount3 &amp;&amp;
[ff9b2cd]168
[d58c5b7]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;
[d3071629]172cp -Rv ../doc/html /usr/share/doc/fuse-&fuse3-version;</userinput></screen>
[5a464e4d]173
[ee000c3d]174 </sect2>
175
176 <sect2 role="commands">
177 <title>Command Explanations</title>
178
179 <para>
[d58c5b7]180 <command>sed ... util/meson.build</command>: This command disables the
181 installation of a boot script and udev rule that are not needed.
[ee000c3d]182 </para>
183
[f69944f]184 <para>
[d58c5b7]185 <command>mv ... libfuse3.so.3*; ln ... libfuse3.so</command>:
186 These commands install the libraries in the /lib directory.
[f69944f]187 </para>
[e7b74b8]188<!--
[ee000c3d]189 <para>
[d58c5b7]190 <command>unzip ...</command>: This uncompresses the installed man pages
191 to be consistent with the rest of the man pages.
[ee000c3d]192 </para>
[e7b74b8]193-->
[ee000c3d]194 </sect2>
195
[1647d338]196 <sect2 role="configuration" id="fuse-configuration">
[099a8d0]197 <title>Configuring fuse</title>
198
199 <sect3 id="fuse-config">
200 <title>Config Files</title>
201
[f69944f]202 <para>
203 Some options regarding mount policy can be set in the file
204 <filename>/etc/fuse.conf</filename>. To install the file run the
205 following command as the <systemitem class="username">root</systemitem>
206 user:
207 </para>
[099a8d0]208
209<screen role="root"><userinput>cat &gt; /etc/fuse.conf &lt;&lt; "EOF"
[51dfb3e]210<literal># Set the maximum number of FUSE mounts allowed to non-root users.
[099a8d0]211# The default is 1000.
212#
213#mount_max = 1000
214
215# Allow non-root users to specify the 'allow_other' or 'allow_root'
216# mount options.
217#
[51dfb3e]218#user_allow_other</literal>
[099a8d0]219EOF</userinput></screen>
220
[f69944f]221 <para>
222 Additional information about the meaning of the configuration
223 options are found in the man page.
224 </para>
[099a8d0]225
226 </sect3>
227
228 </sect2>
229
[ee000c3d]230 <sect2 role="content">
231 <title>Contents</title>
232
233 <segmentedlist>
234 <segtitle>Installed Programs</segtitle>
235 <segtitle>Installed Libraries</segtitle>
236 <segtitle>Installed Directory</segtitle>
237
238 <seglistitem>
239 <seg>
[0a7ee10]240 fusermount3 and mount.fuse3
[ee000c3d]241 </seg>
242 <seg>
[1647d338]243 libfuse3.so
[f69944f]244 </seg>
245 <seg>
[81060947]246 /usr/include/fuse3 and /usr/share/doc/fuse-&fuse3-version;
[ee000c3d]247 </seg>
248 </seglistitem>
249 </segmentedlist>
250
251 <variablelist>
252 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
253 <?dbfo list-presentation="list"?>
254 <?dbhtml list-presentation="table"?>
255
[1647d338]256 <varlistentry id="fusermount3">
257 <term><command>fusermount3</command></term>
[ee000c3d]258 <listitem>
259 <para>
[d58c5b7]260 is a suid root program to mount and unmount Fuse filesystems.
[ee000c3d]261 </para>
[81060947]262 <indexterm zone="fuse3 fusermount3">
[1647d338]263 <primary sortas="b-fusermount3">fusermount3</primary>
[ee000c3d]264 </indexterm>
265 </listitem>
266 </varlistentry>
267
[1647d338]268 <varlistentry id="mount.fuse3">
269 <term><command>mount.fuse3</command></term>
[ee000c3d]270 <listitem>
271 <para>
[d58c5b7]272 is the command <command>mount</command> calls to mount a Fuse
[ee000c3d]273 filesystem.
274 </para>
[81060947]275 <indexterm zone="fuse3 mount.fuse3">
[1647d338]276 <primary sortas="b-mount.fuse3">mount.fuse3</primary>
[ee000c3d]277 </indexterm>
278 </listitem>
279 </varlistentry>
280
[1647d338]281 <varlistentry id="libfuse3">
282 <term><filename class="libraryfile">libfuse3.so</filename></term>
[ee000c3d]283 <listitem>
284 <para>
[f69944f]285 contains the <application>FUSE</application> API functions.
[ee000c3d]286 </para>
[81060947]287 <indexterm zone="fuse3 libfuse3">
[1647d338]288 <primary sortas="c-libfuse3">libfuse3.so</primary>
[ee000c3d]289 </indexterm>
290 </listitem>
291 </varlistentry>
292
293 </variablelist>
[f69944f]294
[ee000c3d]295 </sect2>
[f69944f]296
[ee000c3d]297</sect1>
Note: See TracBrowser for help on using the repository browser.