source: postlfs/filesystems/fuse3.xml@ ce796837

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gimp3 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules 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 ce796837 was 1dd1887, checked in by Bruce Dubbs <bdubbs@…>, 6 years ago

Update to tripwire-2.4.3.7.
Update to unrar-5.6.2.
Update to libidn-1.34.
Update to fuse-3.2.2.
Start obexd on bluez page.

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

  • Property mode set to 100644
File size: 7.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 " ">
[1dd1887]9 <!ENTITY fuse3-md5sum "4ca3306c042f1c841991e50a93b22a61">
10 <!ENTITY fuse3-size "1.1 MB">
11 <!ENTITY fuse3-buildsize "27 MB">
[d58c5b7]12 <!ENTITY fuse3-time "less than 0.1 SBU">
[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
[952c2494]40 &lfs82_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">
[ff9b2cd]79 <xref linkend="doxygen"/> (to rebuild the API documentation)
[c35f51a]80 </para>
[ff9b2cd]81
[ee000c3d]82 <para condition="html" role="usernotes">
83 User Notes: <ulink url="&blfs-wiki;/fuse"/>
84 </para>
85 </sect2>
86
87 <sect2 role="kernel" id="fuse-kernel">
88 <title>Kernel Configuration</title>
89
90 <para>
91 Enable the following options in the kernel configuration and recompile the
92 kernel if necessary:
93 </para>
94
95<screen><literal>File systems ---&gt;
[421128a1]96 &lt;*/M&gt; FUSE (Filesystem in Userspace) support [CONFIG_FUSE_FS]</literal></screen>
[ee000c3d]97
[81060947]98 <indexterm zone="fuse3 fuse-kernel">
[2630345]99 <primary sortas="d-fuse3">Fuse 3</primary>
[ee000c3d]100 </indexterm>
101 </sect2>
102
103 <sect2 role="installation">
104 <title>Installation of Fuse</title>
105
106 <para>
107 Install <application>Fuse</application> by running the following
108 commands:
109 </para>
110
[1dd1887]111<screen><userinput>sed -i 's/3.2.1/3.2.2/' meson.build &amp;&amp;
112sed -i '/^udev/,$ s/^/#/' util/meson.build &amp;&amp;
[d58c5b7]113
[4da56e0]114mkdir build &amp;&amp;
115cd build &amp;&amp;
116
117meson --prefix=/usr .. &amp;&amp;
[d58c5b7]118ninja</userinput></screen>
[ee000c3d]119
[ff9b2cd]120 <para>
121 The API documentation is included in the package, but
122 if you have <xref linkend="doxygen"/> installed and wish to rebuild
123 it, issue <command>doxygen doc/Doxyfile</command>.
124 </para>
[5a464e4d]125
[ee000c3d]126 <para>
127 This package does not come with a test suite.
128 </para>
129
130 <para>
131 Now, as the <systemitem class="username">root</systemitem> user:
132 </para>
133
[d58c5b7]134<screen role="root"><userinput>ninja install &amp;&amp;
135
136mv -vf /usr/lib/libfuse3.so.3* /lib &amp;&amp;
[27597280]137ln -sfvn ../../lib/libfuse3.so.3.2.1 /usr/lib/libfuse3.so &amp;&amp;
[5a464e4d]138
[2e0d6b9]139mv -vf /usr/bin/fusermount3 /bin &amp;&amp;
140mv -vf /usr/sbin/mount.fuse3 /sbin &amp;&amp;
141chmod u+s /bin/fusermount3 &amp;&amp;
[ff9b2cd]142
[d58c5b7]143install -v -m755 -d /usr/share/doc/fuse-&fuse3-version; &amp;&amp;
144install -v -m644 ../doc/{README.NFS,kernel.txt} \
145 /usr/share/doc/fuse-&fuse3-version; &amp;&amp;
[2e0d6b9]146cp -Rv ../doc/html /usr/share/doc/fuse-&fuse3-version; &amp;&amp;
[d58c5b7]147
[7ffe04b7]148gunzip /usr/share/man/{man1/fusermount3.1,man8/mount.fuse.8}.gz</userinput></screen>
[5a464e4d]149
[ee000c3d]150 </sect2>
151
152 <sect2 role="commands">
153 <title>Command Explanations</title>
154
[1dd1887]155 <para>
156 <command>sed ... meson.build</command>: This command fixes the
157 version number.
158 </para>
159
[ee000c3d]160 <para>
[d58c5b7]161 <command>sed ... util/meson.build</command>: This command disables the
162 installation of a boot script and udev rule that are not needed.
[ee000c3d]163 </para>
164
[f69944f]165 <para>
[d58c5b7]166 <command>mv ... libfuse3.so.3*; ln ... libfuse3.so</command>:
167 These commands install the libraries in the /lib directory.
[f69944f]168 </para>
169
[ee000c3d]170 <para>
[d58c5b7]171 <command>unzip ...</command>: This uncompresses the installed man pages
172 to be consistent with the rest of the man pages.
[ee000c3d]173 </para>
[f69944f]174
[ee000c3d]175 </sect2>
176
[1647d338]177 <sect2 role="configuration" id="fuse-configuration">
[099a8d0]178 <title>Configuring fuse</title>
179
180 <sect3 id="fuse-config">
181 <title>Config Files</title>
182
[f69944f]183 <para>
184 Some options regarding mount policy can be set in the file
185 <filename>/etc/fuse.conf</filename>. To install the file run the
186 following command as the <systemitem class="username">root</systemitem>
187 user:
188 </para>
[099a8d0]189
190<screen role="root"><userinput>cat &gt; /etc/fuse.conf &lt;&lt; "EOF"
191# Set the maximum number of FUSE mounts allowed to non-root users.
192# The default is 1000.
193#
194#mount_max = 1000
195
196# Allow non-root users to specify the 'allow_other' or 'allow_root'
197# mount options.
198#
199#user_allow_other
200EOF</userinput></screen>
201
[f69944f]202 <para>
203 Additional information about the meaning of the configuration
204 options are found in the man page.
205 </para>
[099a8d0]206
207 </sect3>
208
209 </sect2>
210
[ee000c3d]211 <sect2 role="content">
212 <title>Contents</title>
213
214 <segmentedlist>
215 <segtitle>Installed Programs</segtitle>
216 <segtitle>Installed Libraries</segtitle>
217 <segtitle>Installed Directory</segtitle>
218
219 <seglistitem>
220 <seg>
[1647d338]221 fusermount3, mount.fuse3
[ee000c3d]222 </seg>
223 <seg>
[1647d338]224 libfuse3.so
[f69944f]225 </seg>
226 <seg>
[81060947]227 /usr/include/fuse3 and /usr/share/doc/fuse-&fuse3-version;
[ee000c3d]228 </seg>
229 </seglistitem>
230 </segmentedlist>
231
232 <variablelist>
233 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
234 <?dbfo list-presentation="list"?>
235 <?dbhtml list-presentation="table"?>
236
[1647d338]237 <varlistentry id="fusermount3">
238 <term><command>fusermount3</command></term>
[ee000c3d]239 <listitem>
240 <para>
[d58c5b7]241 is a suid root program to mount and unmount Fuse filesystems.
[ee000c3d]242 </para>
[81060947]243 <indexterm zone="fuse3 fusermount3">
[1647d338]244 <primary sortas="b-fusermount3">fusermount3</primary>
[ee000c3d]245 </indexterm>
246 </listitem>
247 </varlistentry>
248
[1647d338]249 <varlistentry id="mount.fuse3">
250 <term><command>mount.fuse3</command></term>
[ee000c3d]251 <listitem>
252 <para>
[d58c5b7]253 is the command <command>mount</command> calls to mount a Fuse
[ee000c3d]254 filesystem.
255 </para>
[81060947]256 <indexterm zone="fuse3 mount.fuse3">
[1647d338]257 <primary sortas="b-mount.fuse3">mount.fuse3</primary>
[ee000c3d]258 </indexterm>
259 </listitem>
260 </varlistentry>
261
[1647d338]262 <varlistentry id="libfuse3">
263 <term><filename class="libraryfile">libfuse3.so</filename></term>
[ee000c3d]264 <listitem>
265 <para>
[f69944f]266 contains the <application>FUSE</application> API functions.
[ee000c3d]267 </para>
[81060947]268 <indexterm zone="fuse3 libfuse3">
[1647d338]269 <primary sortas="c-libfuse3">libfuse3.so</primary>
[ee000c3d]270 </indexterm>
271 </listitem>
272 </varlistentry>
273
274 </variablelist>
[f69944f]275
[ee000c3d]276 </sect2>
[f69944f]277
[ee000c3d]278</sect1>
Note: See TracBrowser for help on using the repository browser.