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