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
|
---|
8 | "&sourceforge-repo;/fuse/fuse-&fuse-version;.tar.gz">
|
---|
9 | <!ENTITY fuse-download-ftp " ">
|
---|
10 | <!ENTITY fuse-md5sum "894ee11674f89a915ae87524aed55bc4">
|
---|
11 | <!ENTITY fuse-size "548 KB">
|
---|
12 | <!ENTITY fuse-buildsize "8.2 MB">
|
---|
13 | <!ENTITY fuse-time "0.1 SBU">
|
---|
14 | ]>
|
---|
15 |
|
---|
16 | <sect1 id="fuse" xreflabel="fuse-&fuse-version;">
|
---|
17 | <?dbhtml filename="fuse.html"?>
|
---|
18 |
|
---|
19 | <sect1info>
|
---|
20 | <othername>$LastChangedBy$</othername>
|
---|
21 | <date>$Date$</date>
|
---|
22 | </sect1info>
|
---|
23 |
|
---|
24 | <title>fuse-&fuse-version;</title>
|
---|
25 |
|
---|
26 | <indexterm zone="fuse">
|
---|
27 | <primary sortas="a-fuse">fuse</primary>
|
---|
28 | </indexterm>
|
---|
29 |
|
---|
30 | <sect2 role="package">
|
---|
31 | <title>Introduction to Fuse</title>
|
---|
32 |
|
---|
33 | <para>
|
---|
34 | <application>FUSE</application> (Filesystem in Userspace) is a simple
|
---|
35 | interface for userspace programs to export a virtual filesystem to the
|
---|
36 | Linux kernel. <application>Fuse</application> also aims to provide a
|
---|
37 | secure method for non privileged users to create and mount their own
|
---|
38 | filesystem implementations.
|
---|
39 | </para>
|
---|
40 |
|
---|
41 | &lfs71_checked;
|
---|
42 |
|
---|
43 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
44 | <itemizedlist spacing="compact">
|
---|
45 | <listitem>
|
---|
46 | <para>
|
---|
47 | Download (HTTP): <ulink url="&fuse-download-http;"/>
|
---|
48 | </para>
|
---|
49 | </listitem>
|
---|
50 | <listitem>
|
---|
51 | <para>
|
---|
52 | Download (FTP): <ulink url="&fuse-download-ftp;"/>
|
---|
53 | </para>
|
---|
54 | </listitem>
|
---|
55 | <listitem>
|
---|
56 | <para>
|
---|
57 | Download MD5 sum: &fuse-md5sum;
|
---|
58 | </para>
|
---|
59 | </listitem>
|
---|
60 | <listitem>
|
---|
61 | <para>
|
---|
62 | Download size: &fuse-size;
|
---|
63 | </para>
|
---|
64 | </listitem>
|
---|
65 | <listitem>
|
---|
66 | <para>
|
---|
67 | Estimated disk space required: &fuse-buildsize;
|
---|
68 | </para>
|
---|
69 | </listitem>
|
---|
70 | <listitem>
|
---|
71 | <para>
|
---|
72 | Estimated build time: &fuse-time;
|
---|
73 | </para>
|
---|
74 | </listitem>
|
---|
75 | </itemizedlist>
|
---|
76 |
|
---|
77 | <para condition="html" role="usernotes">
|
---|
78 | User Notes: <ulink url="&blfs-wiki;/fuse"/>
|
---|
79 | </para>
|
---|
80 | </sect2>
|
---|
81 |
|
---|
82 | <sect2 role="kernel" id="fuse-kernel">
|
---|
83 | <title>Kernel Configuration</title>
|
---|
84 |
|
---|
85 | <para>
|
---|
86 | Enable the following options in the kernel configuration and recompile the
|
---|
87 | kernel if necessary:
|
---|
88 | </para>
|
---|
89 |
|
---|
90 | <screen><literal>File systems --->
|
---|
91 | [*] FUSE (Filesystem in Userspace) support</literal></screen>
|
---|
92 |
|
---|
93 | <indexterm zone="fuse fuse-kernel">
|
---|
94 | <primary sortas="d-fuse">fuse</primary>
|
---|
95 | </indexterm>
|
---|
96 | </sect2>
|
---|
97 |
|
---|
98 | <sect2 role="installation">
|
---|
99 | <title>Installation of Fuse</title>
|
---|
100 |
|
---|
101 | <para>
|
---|
102 | Install <application>Fuse</application> by running the following
|
---|
103 | commands:
|
---|
104 | </para>
|
---|
105 |
|
---|
106 | <screen><userinput>./configure --prefix=/usr INIT_D_PATH=/tmp/init.d &&
|
---|
107 | make</userinput></screen>
|
---|
108 |
|
---|
109 | <para>
|
---|
110 | This package does not come with a test suite.
|
---|
111 | </para>
|
---|
112 |
|
---|
113 | <para>
|
---|
114 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
115 | </para>
|
---|
116 |
|
---|
117 | <screen role="root"><userinput>make install &&
|
---|
118 | rm -rf /tmp/init.d</userinput></screen>
|
---|
119 | </sect2>
|
---|
120 |
|
---|
121 | <sect2 role="commands">
|
---|
122 | <title>Command Explanations</title>
|
---|
123 |
|
---|
124 | <para>
|
---|
125 | <parameter>INIT_D_PATH=/tmp/init.d</parameter>: This parameter makes it
|
---|
126 | install its bootscript into /tmp/init.d.
|
---|
127 | </para>
|
---|
128 |
|
---|
129 | <para>
|
---|
130 | <command>rm -rf /tmp/init.d</command>: This removes the unneeded
|
---|
131 | bootscript.
|
---|
132 | </para>
|
---|
133 | </sect2>
|
---|
134 |
|
---|
135 | <sect2 role="configuration">
|
---|
136 | <title>Configuring fuse</title>
|
---|
137 |
|
---|
138 | <sect3 id="fuse-config">
|
---|
139 | <title>Config Files</title>
|
---|
140 |
|
---|
141 | <para>Some options regarding mount policy can be set in the file
|
---|
142 | <filename>/etc/fuse.conf</filename>. To install the file run the
|
---|
143 | following command as the <systemitem class="username">root</systemitem>
|
---|
144 | user:</para>
|
---|
145 |
|
---|
146 | <screen role="root"><userinput>cat > /etc/fuse.conf << "EOF"
|
---|
147 | # Set the maximum number of FUSE mounts allowed to non-root users.
|
---|
148 | # The default is 1000.
|
---|
149 | #
|
---|
150 | #mount_max = 1000
|
---|
151 |
|
---|
152 | # Allow non-root users to specify the 'allow_other' or 'allow_root'
|
---|
153 | # mount options.
|
---|
154 | #
|
---|
155 | #user_allow_other
|
---|
156 | EOF</userinput></screen>
|
---|
157 |
|
---|
158 | <para>Additional information about the meaning of the configuration
|
---|
159 | options are found in the man page.</para>
|
---|
160 |
|
---|
161 | </sect3>
|
---|
162 |
|
---|
163 | </sect2>
|
---|
164 |
|
---|
165 |
|
---|
166 | <sect2 role="content">
|
---|
167 | <title>Contents</title>
|
---|
168 |
|
---|
169 | <segmentedlist>
|
---|
170 | <segtitle>Installed Programs</segtitle>
|
---|
171 | <segtitle>Installed Libraries</segtitle>
|
---|
172 | <segtitle>Installed Directory</segtitle>
|
---|
173 |
|
---|
174 | <seglistitem>
|
---|
175 | <seg>
|
---|
176 | fusermount,
|
---|
177 | mount.fuse and
|
---|
178 | ulockmgr_server.
|
---|
179 | </seg>
|
---|
180 | <seg>
|
---|
181 | libfuse.so and
|
---|
182 | libulockmgr.so.
|
---|
183 | </seg>
|
---|
184 | <seg>/usr/include/fuse.</seg>
|
---|
185 | </seglistitem>
|
---|
186 | </segmentedlist>
|
---|
187 |
|
---|
188 | <variablelist>
|
---|
189 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
190 | <?dbfo list-presentation="list"?>
|
---|
191 | <?dbhtml list-presentation="table"?>
|
---|
192 |
|
---|
193 | <varlistentry id="fusermount">
|
---|
194 | <term><command>fusermount</command></term>
|
---|
195 | <listitem>
|
---|
196 | <para>
|
---|
197 | is a set users ID root program to mount and unmount Fuse
|
---|
198 | filesystems.
|
---|
199 | </para>
|
---|
200 | <indexterm zone="fuse fusermount">
|
---|
201 | <primary sortas="b-fusermount">fusermount</primary>
|
---|
202 | </indexterm>
|
---|
203 | </listitem>
|
---|
204 | </varlistentry>
|
---|
205 |
|
---|
206 | <varlistentry id="mount.fuse">
|
---|
207 | <term><command>mount.fuse</command></term>
|
---|
208 | <listitem>
|
---|
209 | <para>
|
---|
210 | is the command <command>mount</command> would call to mount a Fuse
|
---|
211 | filesystem.
|
---|
212 | </para>
|
---|
213 | <indexterm zone="fuse mount.fuse">
|
---|
214 | <primary sortas="b-mount.fuse">mount.fuse</primary>
|
---|
215 | </indexterm>
|
---|
216 | </listitem>
|
---|
217 | </varlistentry>
|
---|
218 |
|
---|
219 | <varlistentry id="ulockmgr_server">
|
---|
220 | <term><command>ulockmgr_server</command></term>
|
---|
221 | <listitem>
|
---|
222 | <para>
|
---|
223 | is the Userspace Lock Manager Server for Fuse filesystems.
|
---|
224 | </para>
|
---|
225 | <indexterm zone="fuse ulockmgr_server">
|
---|
226 | <primary sortas="b-ulockmgr_server">ulockmgr_server</primary>
|
---|
227 | </indexterm>
|
---|
228 | </listitem>
|
---|
229 | </varlistentry>
|
---|
230 |
|
---|
231 | <varlistentry id="libfuse">
|
---|
232 | <term><filename class="libraryfile">libfuse.so</filename></term>
|
---|
233 | <listitem>
|
---|
234 | <para>
|
---|
235 | contains the Fuse API functions.
|
---|
236 | </para>
|
---|
237 | <indexterm zone="fuse libfuse">
|
---|
238 | <primary sortas="c-libfuse">libfuse.so</primary>
|
---|
239 | </indexterm>
|
---|
240 | </listitem>
|
---|
241 | </varlistentry>
|
---|
242 |
|
---|
243 | <varlistentry id="libulockmgr">
|
---|
244 | <term><filename class="libraryfile">libulockmgr.so</filename></term>
|
---|
245 | <listitem>
|
---|
246 | <para>
|
---|
247 | contains the Userspace Lock Manager API functions.
|
---|
248 | </para>
|
---|
249 | <indexterm zone="fuse libulockmgr">
|
---|
250 | <primary sortas="c-libulockmgr">libulockmgr.so</primary>
|
---|
251 | </indexterm>
|
---|
252 | </listitem>
|
---|
253 | </varlistentry>
|
---|
254 | </variablelist>
|
---|
255 | </sect2>
|
---|
256 | </sect1>
|
---|