source: postlfs/filesystems/fuse.xml@ f71807c2

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 f71807c2 was f71807c2, checked in by DJ Lucas <dj@…>, 7 years ago

Update to ntfs-3g-2017.3.23. Fixes #9057.

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

  • Property mode set to 100644
File size: 8.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-version;/fuse-&fuse-version;.tar.gz">
8 <!ENTITY fuse-download-ftp " ">
9 <!ENTITY fuse-md5sum "9bd4ce8184745fd3d000ca2692adacdb">
10 <!ENTITY fuse-size "646 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 &lfs80_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 <para>
108 Install <application>Fuse</application> by running the following
109 commands:
110 </para>
111
112<screen><userinput>./configure --prefix=/usr \
113 --disable-static \
114 --exec-prefix=/ \
115 INIT_D_PATH=/tmp/init.d &amp;&amp;
116
117make</userinput></screen>
118
119 <para>
120 If you have <xref linkend="doxygen"/> installed and wish to build the API
121 documentation, issue <command>doxygen doc/Doxyfile</command>.
122 </para>
123
124 <para>
125 This package does not come with a test suite.
126 </para>
127
128 <para>
129 Now, as the <systemitem class="username">root</systemitem> user:
130 </para>
131
132<screen role="root"><userinput>make install &amp;&amp;
133
134rm -rf /tmp/init.d &amp;&amp;
135
136install -v -m755 -d /usr/share/doc/fuse-&fuse-version; &amp;&amp;
137install -v -m644 doc/{how-fuse-works,kernel.txt} \
138 /usr/share/doc/fuse-&fuse-version;</userinput></screen>
139
140 <para>
141 If you built the API documentation, install it as the
142 <systemitem class="username">root</systemitem> user by issuing the
143 following commands:
144 </para>
145
146<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/fuse-&fuse-version;/api &amp;&amp;
147install -v -m644 doc/html/* \
148 /usr/share/doc/fuse-&fuse-version;/api</userinput></screen>
149 </sect2>
150
151 <sect2 role="commands">
152 <title>Command Explanations</title>
153
154 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
155 href="../../xincludes/static-libraries.xml"/>
156
157 <para>
158 <parameter>--exec-prefix=/</parameter>: This parameter moves programs and
159 libraries that could be needed before the
160 <filename class="directory">/usr</filename> directory is mounted, to the
161 root filesystem.
162 </para>
163
164 <para>
165 <parameter>INIT_D_PATH=/tmp/init.d</parameter>: This parameter installs
166 the bootscript into <filename class="directory">/tmp/init.d</filename> as
167 a bootscript is not required.
168 </para>
169
170 <para>
171 <command>rm -rf /tmp/init.d</command>: This removes the unneeded
172 bootscript.
173 </para>
174
175 </sect2>
176
177 <sect2 role="configuration">
178 <title>Configuring fuse</title>
179
180 <sect3 id="fuse-config">
181 <title>Config Files</title>
182
183 <para>
184 Some options regarding mount policy can be set in the file
185 <filename>/etc/fuse.conf</filename>. To install the file run the
186 following command as the <systemitem class="username">root</systemitem>
187 user:
188 </para>
189
190<screen role="root"><userinput>cat &gt; /etc/fuse.conf &lt;&lt; "EOF"
191# Set the maximum number of FUSE mounts allowed to non-root users.
192# The default is 1000.
193#
194#mount_max = 1000
195
196# Allow non-root users to specify the 'allow_other' or 'allow_root'
197# mount options.
198#
199#user_allow_other
200EOF</userinput></screen>
201
202 <para>
203 Additional information about the meaning of the configuration
204 options are found in the man page.
205 </para>
206
207 </sect3>
208
209 </sect2>
210
211 <sect2 role="content">
212 <title>Contents</title>
213
214 <segmentedlist>
215 <segtitle>Installed Programs</segtitle>
216 <segtitle>Installed Libraries</segtitle>
217 <segtitle>Installed Directory</segtitle>
218
219 <seglistitem>
220 <seg>
221 fusermount, mount.fuse, and ulockmgr_server
222 </seg>
223 <seg>
224 libfuse.so and libulockmgr.so
225 </seg>
226 <seg>
227 /usr/include/fuse and /usr/share/doc/fuse-&fuse-version;
228 </seg>
229 </seglistitem>
230 </segmentedlist>
231
232 <variablelist>
233 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
234 <?dbfo list-presentation="list"?>
235 <?dbhtml list-presentation="table"?>
236
237 <varlistentry id="fusermount">
238 <term><command>fusermount</command></term>
239 <listitem>
240 <para>
241 is a set users ID root program to mount and unmount Fuse
242 filesystems.
243 </para>
244 <indexterm zone="fuse fusermount">
245 <primary sortas="b-fusermount">fusermount</primary>
246 </indexterm>
247 </listitem>
248 </varlistentry>
249
250 <varlistentry id="mount.fuse">
251 <term><command>mount.fuse</command></term>
252 <listitem>
253 <para>
254 is the command <command>mount</command> would call to mount a Fuse
255 filesystem.
256 </para>
257 <indexterm zone="fuse mount.fuse">
258 <primary sortas="b-mount.fuse">mount.fuse</primary>
259 </indexterm>
260 </listitem>
261 </varlistentry>
262
263 <varlistentry id="ulockmgr_server">
264 <term><command>ulockmgr_server</command></term>
265 <listitem>
266 <para>
267 is the Userspace Lock Manager Server for Fuse filesystems.
268 </para>
269 <indexterm zone="fuse ulockmgr_server">
270 <primary sortas="b-ulockmgr_server">ulockmgr_server</primary>
271 </indexterm>
272 </listitem>
273 </varlistentry>
274
275 <varlistentry id="libfuse">
276 <term><filename class="libraryfile">libfuse.so</filename></term>
277 <listitem>
278 <para>
279 contains the <application>FUSE</application> API functions.
280 </para>
281 <indexterm zone="fuse libfuse">
282 <primary sortas="c-libfuse">libfuse.so</primary>
283 </indexterm>
284 </listitem>
285 </varlistentry>
286
287 <varlistentry id="libulockmgr">
288 <term><filename class="libraryfile">libulockmgr.so</filename></term>
289 <listitem>
290 <para>
291 contains the Userspace Lock Manager API functions.
292 </para>
293 <indexterm zone="fuse libulockmgr">
294 <primary sortas="c-libulockmgr">libulockmgr.so</primary>
295 </indexterm>
296 </listitem>
297 </varlistentry>
298 </variablelist>
299
300 </sect2>
301
302</sect1>
Note: See TracBrowser for help on using the repository browser.