source: postlfs/filesystems/fuse3.xml@ 70f9dbf

10.0 10.1 11.0 9.1 ken/refactor-virt lazarus qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 70f9dbf was 70f9dbf, checked in by Bruce Dubbs <bdubbs@…>, 2 years ago

Update to geoclue-2.5.4.
Update to fribidi-1.0.7.
Update to fuse-3.7.0.

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

  • Property mode set to 100644
File size: 7.8 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.xz">
8 <!ENTITY fuse3-download-ftp " ">
9 <!ENTITY fuse3-md5sum "b9e6558aa25f66c0f1a95d1c7455b944">
10 <!ENTITY fuse3-size "1.3 MB">
11 <!ENTITY fuse3-buildsize "47 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-3">Fuse 3</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 &lfs90_checked;
41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>
46 Download (HTTP): <ulink url="&fuse3-download-http;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download (FTP): <ulink url="&fuse3-download-ftp;"/>
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download MD5 sum: &fuse3-md5sum;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Download size: &fuse3-size;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated disk space required: &fuse3-buildsize;
67 </para>
68 </listitem>
69 <listitem>
70 <para>
71 Estimated build time: &fuse3-time;
72 </para>
73 </listitem>
74 </itemizedlist>
75
76 <bridgehead renderas="sect3">Fuse Dependencies</bridgehead>
77 <bridgehead renderas="sect4">Optional</bridgehead>
78 <para role="optional">
79 <xref linkend="doxygen"/> (to rebuild the API documentation)
80 </para>
81
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;
96 &lt;*/M&gt; FUSE (Filesystem in Userspace) support [CONFIG_FUSE_FS]</literal></screen>
97
98 <indexterm zone="fuse3 fuse-kernel">
99 <primary sortas="d-fuse3">Fuse 3</primary>
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
111<screen><userinput>sed -i '/^udev/,$ s/^/#/' util/meson.build &amp;&amp;
112
113mkdir build &amp;&amp;
114cd build &amp;&amp;
115
116meson --prefix=/usr .. &amp;&amp;
117ninja</userinput></screen>
118
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:
123 </para>
124
125<screen remap="doc"><userinput>doxygen doc/Doxyfile</userinput></screen>
126
127 <para>
128 This package does not come with a test suite.
129 </para>
130
131 <para>
132 Now, as the <systemitem class="username">root</systemitem> user:
133 </para>
134
135<screen role="root"><userinput>ninja install &amp;&amp;
136
137mv -vf /usr/lib/libfuse3.so.3* /lib &amp;&amp;
138ln -sfvn ../../lib/libfuse3.so.&fuse3-version; /usr/lib/libfuse3.so &amp;&amp;
139
140mv -vf /usr/bin/fusermount3 /bin &amp;&amp;
141mv -vf /usr/sbin/mount.fuse3 /sbin &amp;&amp;
142chmod u+s /bin/fusermount3 &amp;&amp;
143
144install -v -m755 -d /usr/share/doc/fuse-&fuse3-version; &amp;&amp;
145install -v -m644 ../doc/{README.NFS,kernel.txt} \
146 /usr/share/doc/fuse-&fuse3-version; &amp;&amp;
147cp -Rv ../doc/html /usr/share/doc/fuse-&fuse3-version;
148<!-- gunzip /usr/share/man/{man1/fusermount3.1,man8/mount.fuse.8}.gz --></userinput></screen>
149
150 </sect2>
151
152 <sect2 role="commands">
153 <title>Command Explanations</title>
154
155 <para>
156 <command>sed ... util/meson.build</command>: This command disables the
157 installation of a boot script and udev rule that are not needed.
158 </para>
159
160 <para>
161 <command>mv ... libfuse3.so.3*; ln ... libfuse3.so</command>:
162 These commands install the libraries in the /lib directory.
163 </para>
164<!--
165 <para>
166 <command>unzip ...</command>: This uncompresses the installed man pages
167 to be consistent with the rest of the man pages.
168 </para>
169-->
170 </sect2>
171
172 <sect2 role="configuration" id="fuse-configuration">
173 <title>Configuring fuse</title>
174
175 <sect3 id="fuse-config">
176 <title>Config Files</title>
177
178 <para>
179 Some options regarding mount policy can be set in the file
180 <filename>/etc/fuse.conf</filename>. To install the file run the
181 following command as the <systemitem class="username">root</systemitem>
182 user:
183 </para>
184
185<screen role="root"><userinput>cat &gt; /etc/fuse.conf &lt;&lt; "EOF"
186<literal># Set the maximum number of FUSE mounts allowed to non-root users.
187# The default is 1000.
188#
189#mount_max = 1000
190
191# Allow non-root users to specify the 'allow_other' or 'allow_root'
192# mount options.
193#
194#user_allow_other</literal>
195EOF</userinput></screen>
196
197 <para>
198 Additional information about the meaning of the configuration
199 options are found in the man page.
200 </para>
201
202 </sect3>
203
204 </sect2>
205
206 <sect2 role="content">
207 <title>Contents</title>
208
209 <segmentedlist>
210 <segtitle>Installed Programs</segtitle>
211 <segtitle>Installed Libraries</segtitle>
212 <segtitle>Installed Directory</segtitle>
213
214 <seglistitem>
215 <seg>
216 fusermount3, mount.fuse3
217 </seg>
218 <seg>
219 libfuse3.so
220 </seg>
221 <seg>
222 /usr/include/fuse3 and /usr/share/doc/fuse-&fuse3-version;
223 </seg>
224 </seglistitem>
225 </segmentedlist>
226
227 <variablelist>
228 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
229 <?dbfo list-presentation="list"?>
230 <?dbhtml list-presentation="table"?>
231
232 <varlistentry id="fusermount3">
233 <term><command>fusermount3</command></term>
234 <listitem>
235 <para>
236 is a suid root program to mount and unmount Fuse filesystems.
237 </para>
238 <indexterm zone="fuse3 fusermount3">
239 <primary sortas="b-fusermount3">fusermount3</primary>
240 </indexterm>
241 </listitem>
242 </varlistentry>
243
244 <varlistentry id="mount.fuse3">
245 <term><command>mount.fuse3</command></term>
246 <listitem>
247 <para>
248 is the command <command>mount</command> calls to mount a Fuse
249 filesystem.
250 </para>
251 <indexterm zone="fuse3 mount.fuse3">
252 <primary sortas="b-mount.fuse3">mount.fuse3</primary>
253 </indexterm>
254 </listitem>
255 </varlistentry>
256
257 <varlistentry id="libfuse3">
258 <term><filename class="libraryfile">libfuse3.so</filename></term>
259 <listitem>
260 <para>
261 contains the <application>FUSE</application> API functions.
262 </para>
263 <indexterm zone="fuse3 libfuse3">
264 <primary sortas="c-libfuse3">libfuse3.so</primary>
265 </indexterm>
266 </listitem>
267 </varlistentry>
268
269 </variablelist>
270
271 </sect2>
272
273</sect1>
Note: See TracBrowser for help on using the repository browser.