source: postlfs/filesystems/fuse3.xml@ a770b0e

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.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 a770b0e was a770b0e, checked in by Bruce Dubbs <bdubbs@…>, 7 years ago

Update to fuse3-3.1.0. Archive fuse 2.9.x.
Update to sshfs-3.0.0.

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

  • Property mode set to 100644
File size: 8.1 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.gz">
8 <!ENTITY fuse3-download-ftp " ">
9 <!ENTITY fuse3-md5sum "b63603701c9d1b4100d81c856a87ae1c">
10 <!ENTITY fuse3-size "792 KB">
11 <!ENTITY fuse3-buildsize "8.5 MB">
12 <!ENTITY fuse3-time "0.1 SBU">
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">Fuse</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 &lfs80_checked;
41 &gcc7_checked;
42
43 <bridgehead renderas="sect3">Package Information</bridgehead>
44 <itemizedlist spacing="compact">
45 <listitem>
46 <para>
47 Download (HTTP): <ulink url="&fuse3-download-http;"/>
48 </para>
49 </listitem>
50 <listitem>
51 <para>
52 Download (FTP): <ulink url="&fuse3-download-ftp;"/>
53 </para>
54 </listitem>
55 <listitem>
56 <para>
57 Download MD5 sum: &fuse3-md5sum;
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 Download size: &fuse3-size;
63 </para>
64 </listitem>
65 <listitem>
66 <para>
67 Estimated disk space required: &fuse3-buildsize;
68 </para>
69 </listitem>
70 <listitem>
71 <para>
72 Estimated build time: &fuse3-time;
73 </para>
74 </listitem>
75 </itemizedlist>
76
77 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
78 <itemizedlist spacing='compact'>
79 <listitem>
80 <para>Required patch: <ulink
81 url="&patch-root;/fuse-&fuse3-version;-upstream_fix-1.patch"/></para>
82 </listitem>
83 </itemizedlist>
84
85 <bridgehead renderas="sect3">Fuse Dependencies</bridgehead>
86 <bridgehead renderas="sect4">Optional</bridgehead>
87 <para role="optional">
88 <xref linkend="doxygen"/> (to rebuild the API documentation)
89 </para>
90
91 <para condition="html" role="usernotes">
92 User Notes: <ulink url="&blfs-wiki;/fuse"/>
93 </para>
94 </sect2>
95
96 <sect2 role="kernel" id="fuse-kernel">
97 <title>Kernel Configuration</title>
98
99 <para>
100 Enable the following options in the kernel configuration and recompile the
101 kernel if necessary:
102 </para>
103
104<screen><literal>File systems ---&gt;
105 &lt;*/M&gt; FUSE (Filesystem in Userspace) support [CONFIG_FUSE_FS]</literal></screen>
106
107 <indexterm zone="fuse3 fuse-kernel">
108 <primary sortas="d-fuse3">fuse</primary>
109 </indexterm>
110 </sect2>
111
112 <sect2 role="installation">
113 <title>Installation of Fuse</title>
114
115 <para>
116 Install <application>Fuse</application> by running the following
117 commands:
118 </para>
119
120<screen><userinput>patch -Np1 -i ../fuse-3.1.0-upstream_fix-1.patch &amp;&amp;
121
122./configure --prefix=/usr \
123 --disable-static \
124 --exec-prefix=/ \
125 --with-pkgconfigdir=/usr/lib/pkgconfig \
126 INIT_D_PATH=/tmp/init.d &amp;&amp;
127make</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 <command>doxygen doc/Doxyfile</command>.
133 </para>
134
135 <para>
136 This package does not come with a test suite.
137 </para>
138
139 <para>
140 Now, as the <systemitem class="username">root</systemitem> user:
141 </para>
142
143<screen role="root"><userinput>make install &amp;&amp;
144rm -v /lib/libfuse3.{so,la} &amp;&amp;
145ln -sfv ../../lib/libfuse3.so.3 /usr/lib/libfuse3.so &amp;&amp;
146
147rm -rf /tmp/init.d &amp;&amp;
148
149install -v -m755 -d /usr/share/doc/fuse-&fuse3-version; &amp;&amp;
150install -v -m644 doc/{README.NFS,kernel.txt} \
151 /usr/share/doc/fuse-&fuse3-version; &amp;&amp;
152cp -Rv doc/html /usr/share/doc/fuse-&fuse3-version;</userinput></screen>
153
154 </sect2>
155
156 <sect2 role="commands">
157 <title>Command Explanations</title>
158
159 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
160 href="../../xincludes/static-libraries.xml"/>
161
162 <para>
163 <parameter>--exec-prefix=/</parameter>: This parameter moves programs and
164 libraries that could be needed before the
165 <filename class="directory">/usr</filename> directory is mounted, to the
166 root filesystem.
167 </para>
168
169 <para>
170 <parameter>INIT_D_PATH=/tmp/init.d</parameter>: This parameter installs
171 the bootscript into <filename class="directory">/tmp/init.d</filename> as
172 a bootscript is not required.
173 </para>
174
175 <para>
176 <command>rm -rf /tmp/init.d</command>: This removes the unneeded
177 bootscript.
178 </para>
179
180 </sect2>
181
182 <sect2 role="configuration" id="fuse-configuration">
183 <title>Configuring fuse</title>
184
185 <sect3 id="fuse-config">
186 <title>Config Files</title>
187
188 <para>
189 Some options regarding mount policy can be set in the file
190 <filename>/etc/fuse.conf</filename>. To install the file run the
191 following command as the <systemitem class="username">root</systemitem>
192 user:
193 </para>
194
195<screen role="root"><userinput>cat &gt; /etc/fuse.conf &lt;&lt; "EOF"
196# Set the maximum number of FUSE mounts allowed to non-root users.
197# The default is 1000.
198#
199#mount_max = 1000
200
201# Allow non-root users to specify the 'allow_other' or 'allow_root'
202# mount options.
203#
204#user_allow_other
205EOF</userinput></screen>
206
207 <para>
208 Additional information about the meaning of the configuration
209 options are found in the man page.
210 </para>
211
212 </sect3>
213
214 </sect2>
215
216 <sect2 role="content">
217 <title>Contents</title>
218
219 <segmentedlist>
220 <segtitle>Installed Programs</segtitle>
221 <segtitle>Installed Libraries</segtitle>
222 <segtitle>Installed Directory</segtitle>
223
224 <seglistitem>
225 <seg>
226 fusermount3, mount.fuse3
227 </seg>
228 <seg>
229 libfuse3.so
230 </seg>
231 <seg>
232 /usr/include/fuse3 and /usr/share/doc/fuse-&fuse3-version;
233 </seg>
234 </seglistitem>
235 </segmentedlist>
236
237 <variablelist>
238 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
239 <?dbfo list-presentation="list"?>
240 <?dbhtml list-presentation="table"?>
241
242 <varlistentry id="fusermount3">
243 <term><command>fusermount3</command></term>
244 <listitem>
245 <para>
246 is a set users ID root program to mount and unmount Fuse
247 filesystems.
248 </para>
249 <indexterm zone="fuse3 fusermount3">
250 <primary sortas="b-fusermount3">fusermount3</primary>
251 </indexterm>
252 </listitem>
253 </varlistentry>
254
255 <varlistentry id="mount.fuse3">
256 <term><command>mount.fuse3</command></term>
257 <listitem>
258 <para>
259 is the command <command>mount</command> would call to mount a Fuse
260 filesystem.
261 </para>
262 <indexterm zone="fuse3 mount.fuse3">
263 <primary sortas="b-mount.fuse3">mount.fuse3</primary>
264 </indexterm>
265 </listitem>
266 </varlistentry>
267
268 <varlistentry id="libfuse3">
269 <term><filename class="libraryfile">libfuse3.so</filename></term>
270 <listitem>
271 <para>
272 contains the <application>FUSE</application> API functions.
273 </para>
274 <indexterm zone="fuse3 libfuse3">
275 <primary sortas="c-libfuse3">libfuse3.so</primary>
276 </indexterm>
277 </listitem>
278 </varlistentry>
279
280 </variablelist>
281
282 </sect2>
283
284</sect1>
Note: See TracBrowser for help on using the repository browser.