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