source: postlfs/filesystems/fuse.xml@ 3caf72a

10.0 10.1 11.0 11.1 11.2 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 krejzi/svn lazarus nosym perl-modules plabs/python-mods qt5new systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/soup3 xry111/test-20220226
Last change on this file since 3caf72a was 3caf72a, checked in by Krejzi <krejzi@…>, 10 years ago

fuse and lvm2 updates.

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

  • Property mode set to 100644
File size: 7.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 "&sourceforge-repo;/fuse/fuse-&fuse-version;.tar.gz">
8 <!ENTITY fuse-download-ftp " ">
9 <!ENTITY fuse-md5sum "7d80d0dc9cc2b9199a0c53787c151205">
10 <!ENTITY fuse-size "548 KB">
11 <!ENTITY fuse-buildsize "7.0 MB">
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 &lfs72_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 <para condition="html" role="usernotes">
77 User Notes: <ulink url="&blfs-wiki;/fuse"/>
78 </para>
79 </sect2>
80
81 <sect2 role="kernel" id="fuse-kernel">
82 <title>Kernel Configuration</title>
83
84 <para>
85 Enable the following options in the kernel configuration and recompile the
86 kernel if necessary:
87 </para>
88
89<screen><literal>File systems ---&gt;
90 [*] FUSE (Filesystem in Userspace) support</literal></screen>
91
92 <indexterm zone="fuse fuse-kernel">
93 <primary sortas="d-fuse">fuse</primary>
94 </indexterm>
95 </sect2>
96
97 <sect2 role="installation">
98 <title>Installation of Fuse</title>
99
100 <para>
101 Install <application>Fuse</application> by running the following
102 commands:
103 </para>
104
105<screen><userinput>./configure --prefix=/usr --disable-static INIT_D_PATH=/tmp/init.d &amp;&amp;
106make</userinput></screen>
107
108 <para>
109 This package does not come with a test suite.
110 </para>
111
112 <para>
113 Now, as the <systemitem class="username">root</systemitem> user:
114 </para>
115
116<screen role="root"><userinput>make install &amp;&amp;
117mv -v /usr/lib/libfuse.so.* /lib &amp;&amp;
118ln -sfv ../../lib/libfuse.so.&fuse-version; /usr/lib/libfuse.so &amp;&amp;
119rm -rf /tmp/init.d</userinput></screen>
120 </sect2>
121
122 <sect2 role="commands">
123 <title>Command Explanations</title>
124
125 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
126 href="../../xincludes/static-libraries.xml"/>
127
128 <para>
129 <parameter>INIT_D_PATH=/tmp/init.d</parameter>: This parameter makes it
130 install its bootscript into <filename>/tmp/init.d</filename>.
131 </para>
132
133 <para>
134 <command>mv -v /usr/lib/libfuse.so.* /lib</command>: This moves
135 <application>FUSE</application> library to root filesystem
136 so that it is available at early boot in case
137 <filename class="directory">/usr</filename> is on seperate
138 partition and <xref linkend="ntfs-3g"/> is built with system
139 <application>FUSE</application>.
140 </para>
141
142 <para>
143 <command>rm -rf /tmp/init.d</command>: This removes the unneeded
144 bootscript.
145 </para>
146
147 </sect2>
148
149 <sect2 role="configuration">
150 <title>Configuring fuse</title>
151
152 <sect3 id="fuse-config">
153 <title>Config Files</title>
154
155 <para>
156 Some options regarding mount policy can be set in the file
157 <filename>/etc/fuse.conf</filename>. To install the file run the
158 following command as the <systemitem class="username">root</systemitem>
159 user:
160 </para>
161
162<screen role="root"><userinput>cat &gt; /etc/fuse.conf &lt;&lt; "EOF"
163# Set the maximum number of FUSE mounts allowed to non-root users.
164# The default is 1000.
165#
166#mount_max = 1000
167
168# Allow non-root users to specify the 'allow_other' or 'allow_root'
169# mount options.
170#
171#user_allow_other
172EOF</userinput></screen>
173
174 <para>
175 Additional information about the meaning of the configuration
176 options are found in the man page.
177 </para>
178
179 </sect3>
180
181 </sect2>
182
183 <sect2 role="content">
184 <title>Contents</title>
185
186 <segmentedlist>
187 <segtitle>Installed Programs</segtitle>
188 <segtitle>Installed Libraries</segtitle>
189 <segtitle>Installed Directory</segtitle>
190
191 <seglistitem>
192 <seg>
193 fusermount, mount.fuse and ulockmgr_server
194 </seg>
195 <seg>
196 libfuse.so and libulockmgr.so
197 </seg>
198 <seg>
199 /usr/include/fuse
200 </seg>
201 </seglistitem>
202 </segmentedlist>
203
204 <variablelist>
205 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
206 <?dbfo list-presentation="list"?>
207 <?dbhtml list-presentation="table"?>
208
209 <varlistentry id="fusermount">
210 <term><command>fusermount</command></term>
211 <listitem>
212 <para>
213 is a set users ID root program to mount and unmount Fuse
214 filesystems.
215 </para>
216 <indexterm zone="fuse fusermount">
217 <primary sortas="b-fusermount">fusermount</primary>
218 </indexterm>
219 </listitem>
220 </varlistentry>
221
222 <varlistentry id="mount.fuse">
223 <term><command>mount.fuse</command></term>
224 <listitem>
225 <para>
226 is the command <command>mount</command> would call to mount a Fuse
227 filesystem.
228 </para>
229 <indexterm zone="fuse mount.fuse">
230 <primary sortas="b-mount.fuse">mount.fuse</primary>
231 </indexterm>
232 </listitem>
233 </varlistentry>
234
235 <varlistentry id="ulockmgr_server">
236 <term><command>ulockmgr_server</command></term>
237 <listitem>
238 <para>
239 is the Userspace Lock Manager Server for Fuse filesystems.
240 </para>
241 <indexterm zone="fuse ulockmgr_server">
242 <primary sortas="b-ulockmgr_server">ulockmgr_server</primary>
243 </indexterm>
244 </listitem>
245 </varlistentry>
246
247 <varlistentry id="libfuse">
248 <term><filename class="libraryfile">libfuse.so</filename></term>
249 <listitem>
250 <para>
251 contains the <application>FUSE</application> API functions.
252 </para>
253 <indexterm zone="fuse libfuse">
254 <primary sortas="c-libfuse">libfuse.so</primary>
255 </indexterm>
256 </listitem>
257 </varlistentry>
258
259 <varlistentry id="libulockmgr">
260 <term><filename class="libraryfile">libulockmgr.so</filename></term>
261 <listitem>
262 <para>
263 contains the Userspace Lock Manager API functions.
264 </para>
265 <indexterm zone="fuse libulockmgr">
266 <primary sortas="c-libulockmgr">libulockmgr.so</primary>
267 </indexterm>
268 </listitem>
269 </varlistentry>
270 </variablelist>
271
272 </sect2>
273
274</sect1>
Note: See TracBrowser for help on using the repository browser.