source: postlfs/filesystems/fuse3.xml@ 6c6f393

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 6c6f393 was d663ba5, checked in by Douglas R. Reno <renodr@…>, 7 years ago

Fix documentation install for fuse3. Thanks to Chey for the report.

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