source: postlfs/filesystems/fuse.xml@ 54789f3

systemd-13485
Last change on this file since 54789f3 was 54789f3, checked in by Douglas R. Reno <renodr@…>, 8 years ago

Update to LVM-2.02.420 (merged from trunk r16816).
Update to fuse-2.9.5 (merged from trunk r16814).
Update to gptfdisk-1.0.1 (merged from trunk r16553).
Update to xfsprogs-4.3.0 (merged from trunk r16376).
Update to JOE-4.1 (merged from trunk r16385).
Update to nano-2.5.1 (merged from trunk r16799).
Update to tcsh-6.19.00 (merged from trunk r16332).
Update to zsh-5.2 (merged from trunk r16706).
Update to qemu-2.5.0 (merged from trunk r16773).

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@16834 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 9.7 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 fuse-download-http "https://github.com/libfuse/libfuse/releases/download/fuse_&fuse-download-version;/fuse-&fuse-version;.tar.gz">
8 <!ENTITY fuse-download-ftp " ">
9 <!ENTITY fuse-md5sum "c901b77a1c4584c7ac6c2b67c0713f2b">
10 <!ENTITY fuse-size "552 KB">
11 <!ENTITY fuse-buildsize "8.2 MB (9.8 MB with API documentation">
12 <!ENTITY fuse-time "0.1 SBU">
13]>
14
15<sect1 id="fuse" xreflabel="Fuse-&fuse-version;">
16 <?dbhtml filename="fuse.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>Fuse-&fuse-version;</title>
24
25 <indexterm zone="fuse">
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 &lfs78_checked;
41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>
46 Download (HTTP): <ulink url="&fuse-download-http;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download (FTP): <ulink url="&fuse-download-ftp;"/>
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download MD5 sum: &fuse-md5sum;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Download size: &fuse-size;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated disk space required: &fuse-buildsize;
67 </para>
68 </listitem>
69 <listitem>
70 <para>
71 Estimated build time: &fuse-time;
72 </para>
73 </listitem>
74 </itemizedlist>
75
76 <bridgehead renderas="sect3">Fuse Dependencies</bridgehead>
77
78 <bridgehead renderas="sect4">Optional</bridgehead>
79 <para role="optional">
80 <xref linkend="doxygen"/> (to build the API documentation)
81 </para>
82
83 <para condition="html" role="usernotes">
84 User Notes: <ulink url="&blfs-wiki;/fuse"/>
85 </para>
86 </sect2>
87
88 <sect2 role="kernel" id="fuse-kernel">
89 <title>Kernel Configuration</title>
90
91 <para>
92 Enable the following options in the kernel configuration and recompile the
93 kernel if necessary:
94 </para>
95
96<screen><literal>File systems ---&gt;
97 &lt;*/M&gt; FUSE (Filesystem in Userspace) support [CONFIG_FUSE_FS]</literal></screen>
98
99 <indexterm zone="fuse fuse-kernel">
100 <primary sortas="d-fuse">fuse</primary>
101 </indexterm>
102 </sect2>
103
104 <sect2 role="installation">
105 <title>Installation of Fuse</title>
106
107 <note>
108 <para>
109 After the <command>configure</command> script has finished you will
110 see a warning shown below. You can safely disregard this warning.
111 </para>
112
113<screen><computeroutput>configure: WARNING:
114******************************************************************
115* Please install util-linux version 2.18 or later which supports *
116* --fake and --no-canonicalize options in mount and umount *
117******************************************************************</computeroutput></screen>
118 </note>
119
120 <para>
121 Install <application>Fuse</application> by running the following
122 commands:
123 </para>
124
125<screen><userinput>sed -i 's/2:9:4/2:9:5/' lib/Makefile.in &amp;&amp;
126
127./configure --prefix=/usr \
128 --disable-static \
129 INIT_D_PATH=/tmp/init.d &amp;&amp;
130make</userinput></screen>
131
132 <para>
133 If you have <xref linkend="doxygen"/> installed and wish to build the API
134 documentation, issue <command>doxygen doc/Doxyfile</command>.
135 </para>
136
137 <para>
138 This package does not come with a test suite.
139 </para>
140
141 <para>
142 Now, as the <systemitem class="username">root</systemitem> user:
143 </para>
144
145<screen role="root"><userinput>make install &amp;&amp;
146
147mv -v /usr/lib/libfuse.so.* /lib &amp;&amp;
148ln -sfv ../../lib/libfuse.so.&fuse-version; /usr/lib/libfuse.so &amp;&amp;
149rm -rf /tmp/init.d &amp;&amp;
150
151install -v -dm755 /usr/share/doc/fuse-&fuse-version; &amp;&amp;
152install -v -m644 doc/{how-fuse-works,kernel.txt} \
153 /usr/share/doc/fuse-&fuse-version;</userinput></screen>
154
155 <para>
156 If you built the API documentation, install it as the
157 <systemitem class="username">root</systemitem> user by issuing the
158 following commands:
159 </para>
160
161<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/fuse-&fuse-version;/api &amp;&amp;
162install -v -m644 doc/html/* \
163 /usr/share/doc/fuse-&fuse-version;/api</userinput></screen>
164 </sect2>
165
166 <sect2 role="commands">
167 <title>Command Explanations</title>
168
169 <para><command>sed -i ... lib/Makefile.in</command> This command fixes
170 the libfuse so version.
171 </para>
172
173 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
174 href="../../xincludes/static-libraries.xml"/>
175
176 <para>
177 <parameter>INIT_D_PATH=/tmp/init.d</parameter>: This parameter installs
178 the bootscript into <filename class="directory">/tmp/init.d</filename> as
179 a bootscript is not required.
180 </para>
181
182 <para>
183 <command>mv -v /usr/lib/libfuse.so.* /lib</command>: This moves the
184 <application>FUSE</application> library to the root filesystem
185 so that it is available early in the boot process in case
186 <filename class="directory">/usr</filename> is mounted on a separate
187 partition and <xref linkend="ntfs-3g"/> is built with a system-installed
188 version of <application>FUSE</application>.
189 </para>
190
191 <para>
192 <command>rm -rf /tmp/init.d</command>: This removes the unneeded
193 bootscript.
194 </para>
195
196 </sect2>
197
198 <sect2 role="configuration">
199 <title>Configuring fuse</title>
200
201 <sect3 id="fuse-config">
202 <title>Config Files</title>
203
204 <para>
205 Some options regarding mount policy can be set in the file
206 <filename>/etc/fuse.conf</filename>. To install the file run the
207 following command as the <systemitem class="username">root</systemitem>
208 user:
209 </para>
210
211<screen role="root"><userinput>cat &gt; /etc/fuse.conf &lt;&lt; "EOF"
212# Set the maximum number of FUSE mounts allowed to non-root users.
213# The default is 1000.
214#
215#mount_max = 1000
216
217# Allow non-root users to specify the 'allow_other' or 'allow_root'
218# mount options.
219#
220#user_allow_other
221EOF</userinput></screen>
222
223 <para>
224 Additional information about the meaning of the configuration
225 options are found in the man page.
226 </para>
227
228 </sect3>
229
230 </sect2>
231
232 <sect2 role="content">
233 <title>Contents</title>
234
235 <segmentedlist>
236 <segtitle>Installed Programs</segtitle>
237 <segtitle>Installed Libraries</segtitle>
238 <segtitle>Installed Directory</segtitle>
239
240 <seglistitem>
241 <seg>
242 fusermount,
243 mount.fuse,
244 and ulockmgr_server
245 </seg>
246 <seg>
247 libfuse.so
248 and libulockmgr.so
249 </seg>
250 <seg>
251 /usr/include/fuse
252 and /usr/share/doc/fuse-&fuse-version;
253 </seg>
254 </seglistitem>
255 </segmentedlist>
256
257 <variablelist>
258 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
259 <?dbfo list-presentation="list"?>
260 <?dbhtml list-presentation="table"?>
261
262 <varlistentry id="fusermount">
263 <term><command>fusermount</command></term>
264 <listitem>
265 <para>
266 is a set users ID root program to mount and unmount Fuse
267 filesystems.
268 </para>
269 <indexterm zone="fuse fusermount">
270 <primary sortas="b-fusermount">fusermount</primary>
271 </indexterm>
272 </listitem>
273 </varlistentry>
274
275 <varlistentry id="mount.fuse">
276 <term><command>mount.fuse</command></term>
277 <listitem>
278 <para>
279 is the command <command>mount</command> would call to mount a Fuse
280 filesystem.
281 </para>
282 <indexterm zone="fuse mount.fuse">
283 <primary sortas="b-mount.fuse">mount.fuse</primary>
284 </indexterm>
285 </listitem>
286 </varlistentry>
287
288 <varlistentry id="ulockmgr_server">
289 <term><command>ulockmgr_server</command></term>
290 <listitem>
291 <para>
292 is the Userspace Lock Manager Server for Fuse filesystems.
293 </para>
294 <indexterm zone="fuse ulockmgr_server">
295 <primary sortas="b-ulockmgr_server">ulockmgr_server</primary>
296 </indexterm>
297 </listitem>
298 </varlistentry>
299
300 <varlistentry id="libfuse">
301 <term><filename class="libraryfile">libfuse.so</filename></term>
302 <listitem>
303 <para>
304 contains the <application>FUSE</application> API functions.
305 </para>
306 <indexterm zone="fuse libfuse">
307 <primary sortas="c-libfuse">libfuse.so</primary>
308 </indexterm>
309 </listitem>
310 </varlistentry>
311
312 <varlistentry id="libulockmgr">
313 <term><filename class="libraryfile">libulockmgr.so</filename></term>
314 <listitem>
315 <para>
316 contains the Userspace Lock Manager API functions.
317 </para>
318 <indexterm zone="fuse libulockmgr">
319 <primary sortas="c-libulockmgr">libulockmgr.so</primary>
320 </indexterm>
321 </listitem>
322 </varlistentry>
323 </variablelist>
324
325 </sect2>
326
327</sect1>
Note: See TracBrowser for help on using the repository browser.