source: postlfs/filesystems/fuse2.xml@ ff9b2cd

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 ff9b2cd was ff9b2cd, checked in by Bruce Dubbs <bdubbs@…>, 7 years ago

Update to fuse-3.0.1
Update fuse-2.9.7 instructions and add clarification.

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

  • Property mode set to 100644
File size: 7.9 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 fuse2-download-http "https://github.com/libfuse/libfuse/releases/download/fuse-&fuse2-version;/fuse-&fuse2-version;.tar.gz">
8 <!ENTITY fuse2-download-ftp " ">
9 <!ENTITY fuse2-md5sum "9bd4ce8184745fd3d000ca2692adacdb">
10 <!ENTITY fuse2-size "646 KB">
11 <!ENTITY fuse2-buildsize "8.2 MB (9.8 MB with API documentation)">
12 <!ENTITY fuse2-time "0.1 SBU">
13]>
14
15<sect1 id="fuse2" xreflabel="Fuse-&fuse2-version;">
16 <?dbhtml filename="fuse2.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>Fuse-&fuse2-version;</title>
24
25 <indexterm zone="fuse2">
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 <para>
41 This package is only installed for compatibility with
42 <xref linkend="ntfs-3g"/> and <xref linkend="sshfs"/>. It is
43 not needed with other packages. For full fuse functionality,
44 install <xref linkend="fuse3"/> which does not interfere with
45 these instructions.
46 </para>
47
48 &lfs80_checked;
49
50 <bridgehead renderas="sect3">Package Information</bridgehead>
51 <itemizedlist spacing="compact">
52 <listitem>
53 <para>
54 Download (HTTP): <ulink url="&fuse2-download-http;"/>
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download (FTP): <ulink url="&fuse2-download-ftp;"/>
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Download MD5 sum: &fuse2-md5sum;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Download size: &fuse2-size;
70 </para>
71 </listitem>
72 <listitem>
73 <para>
74 Estimated disk space required: &fuse2-buildsize;
75 </para>
76 </listitem>
77 <listitem>
78 <para>
79 Estimated build time: &fuse2-time;
80 </para>
81 </listitem>
82 </itemizedlist>
83
84 <bridgehead renderas="sect3">Fuse Dependencies</bridgehead>
85
86<!-- What is this?
87 <bridgehead renderas="sect3">Required</bridgehead>
88 <para role="required">
89 <xref linkend="fuse3"/> (runtime only)
90 </para>
91-->
92 <bridgehead renderas="sect4">Optional</bridgehead>
93 <para role="optional">
94 <xref linkend="doxygen"/> (to rebuild the API documentation)
95 </para>
96
97 <para condition="html" role="usernotes">
98 User Notes: <ulink url="&blfs-wiki;/fuse2"/>
99 </para>
100 </sect2>
101
102 <sect2 role="kernel" id="fuse2-kernel">
103 <title>Kernel Configuration</title>
104
105 <para>
106 Enable the following options in the kernel configuration and recompile the
107 kernel if necessary:
108 </para>
109
110<screen><literal>File systems ---&gt;
111 &lt;*/M&gt; FUSE (Filesystem in Userspace) support [CONFIG_FUSE_FS]</literal></screen>
112
113 <indexterm zone="fuse2 fuse2-kernel">
114 <primary sortas="d-fuse2">fuse</primary>
115 </indexterm>
116 </sect2>
117
118 <sect2 role="installation">
119 <title>Installation of Fuse</title>
120
121 <para>
122 Install <application>Fuse</application> by running the following
123 commands:
124 </para>
125
126<screen><userinput>./configure --prefix=/usr \
127 --disable-static \
128 --exec-prefix=/ &amp;&amp;
129
130make &amp;&amp;
131make DESTDIR=$PWD/Dest install</userinput></screen>
132
133 <para>
134 This package does not come with a test suite.
135 </para>
136
137 <para>
138 Now, as the <systemitem class="username">root</systemitem> user:
139 </para>
140
141<screen role="root"><userinput>cp -v Dest/lib/*.so.* /lib &amp;&amp;
142ln -sv ../../lib/libfuse.so.2 /usr/lib/libfuse.so &amp;&amp;
143ln -sv ../../lib/libulockmgr.so.1 /usr/lib/libulockmgr.so &amp;&amp;
144
145cp -v Dest/lib/pkgconfig/* /usr/lib/pkgconfig &amp;&amp;
146
147cp -v Dest/bin/* /bin &amp;&amp;
148
149install -vdm755 /usr/include/fuse &amp;&amp;
150cp -v Dest/usr/include/*.h /usr/include &amp;&amp;
151cp -v Dest/usr/include/fuse/*.h /usr/include/fuse/ &amp;&amp;
152
153cp -v Dest/usr/share/man/man1/* /usr/share/man/man1</userinput></screen>
154
155 </sect2>
156
157 <sect2 role="commands">
158 <title>Command Explanations</title>
159
160 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
161 href="../../xincludes/static-libraries.xml"/>
162
163 <para>
164 <parameter>--exec-prefix=/</parameter>: This parameter moves programs and
165 libraries that could be needed before the
166 <filename class="directory">/usr</filename> directory is mounted, to the
167 root filesystem.
168 </para>
169
170 <para>
171 <command>make DESTDIR=$PWD/Dest install</command>: This command installs
172 the files to a temporary directory, so that the needed files can be
173 installed.
174 </para>
175
176 </sect2>
177
178 <sect2 role="configuration">
179 <title>Configuring fuse</title>
180
181 <sect3 id="fuse2-config">
182 <title>Config Files</title>
183
184 <para>
185 Information on configuring fuse can be found at
186 <xref linkend="fuse-configuration"/>.
187 </para>
188
189 </sect3>
190
191 </sect2>
192
193 <sect2 role="content">
194 <title>Contents</title>
195
196 <segmentedlist>
197 <segtitle>Installed Programs</segtitle>
198 <segtitle>Installed Libraries</segtitle>
199 <segtitle>Installed Directory</segtitle>
200
201 <seglistitem>
202 <seg>
203 fusermount and ulockmgr_server
204 </seg>
205 <seg>
206 libfuse.so and libulockmgr.so
207 </seg>
208 <seg>
209 /usr/include/fuse
210 </seg>
211 </seglistitem>
212 </segmentedlist>
213
214 <variablelist>
215 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
216 <?dbfo list-presentation="list"?>
217 <?dbhtml list-presentation="table"?>
218
219 <varlistentry id="fusermount2">
220 <term><command>fusermount</command></term>
221 <listitem>
222 <para>
223 is a set users ID root program to mount and unmount Fuse
224 filesystems.
225 </para>
226 <indexterm zone="fuse2 fusermount2">
227 <primary sortas="b-fusermount2">fusermount</primary>
228 </indexterm>
229 </listitem>
230 </varlistentry>
231
232 <varlistentry id="ulockmgr_server2">
233 <term><command>ulockmgr_server</command></term>
234 <listitem>
235 <para>
236 is the Userspace Lock Manager Server for Fuse filesystems.
237 </para>
238 <indexterm zone="fuse2 ulockmgr_server2">
239 <primary sortas="b-ulockmgr_server2">ulockmgr_server</primary>
240 </indexterm>
241 </listitem>
242 </varlistentry>
243
244 <varlistentry id="libfuse2">
245 <term><filename class="libraryfile">libfuse.so</filename></term>
246 <listitem>
247 <para>
248 contains the <application>FUSE</application> API functions.
249 </para>
250 <indexterm zone="fuse2 libfuse2">
251 <primary sortas="c-libfuse2">libfuse.so</primary>
252 </indexterm>
253 </listitem>
254 </varlistentry>
255
256 <varlistentry id="libulockmgr2">
257 <term><filename class="libraryfile">libulockmgr.so</filename></term>
258 <listitem>
259 <para>
260 contains the Userspace Lock Manager API functions.
261 </para>
262 <indexterm zone="fuse2 libulockmgr2">
263 <primary sortas="c-libulockmgr2">libulockmgr.so</primary>
264 </indexterm>
265 </listitem>
266 </varlistentry>
267 </variablelist>
268
269 </sect2>
270
271</sect1>
Note: See TracBrowser for help on using the repository browser.