source: postlfs/filesystems/fuse3.xml@ 27597280

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind 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 27597280 was 27597280, checked in by Pierre Labastie <pieere@…>, 6 years ago

Update libfuse3 soname

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

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