[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">
|
---|
| 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 |
|
---|
[ff9b2cd] | 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 |
|
---|
[1647d338] | 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 |
|
---|
[ff9b2cd] | 86 | <!-- What is this?
|
---|
[1647d338] | 87 | <bridgehead renderas="sect3">Required</bridgehead>
|
---|
| 88 | <para role="required">
|
---|
[81060947] | 89 | <xref linkend="fuse3"/> (runtime only)
|
---|
[1647d338] | 90 | </para>
|
---|
[ff9b2cd] | 91 | -->
|
---|
[1647d338] | 92 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 93 | <para role="optional">
|
---|
[ff9b2cd] | 94 | <xref linkend="doxygen"/> (to rebuild the API documentation)
|
---|
[1647d338] | 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 --->
|
---|
| 111 | <*/M> FUSE (Filesystem in Userspace) support [CONFIG_FUSE_FS]</literal></screen>
|
---|
| 112 |
|
---|
| 113 | <indexterm zone="fuse2 fuse2-kernel">
|
---|
[81060947] | 114 | <primary sortas="d-fuse2">fuse</primary>
|
---|
[1647d338] | 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=/ &&
|
---|
| 129 |
|
---|
| 130 | make &&
|
---|
| 131 | make 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 |
|
---|
[ff9b2cd] | 141 | <screen role="root"><userinput>cp -v Dest/lib/*.so.* /lib &&
|
---|
| 142 | ln -sv ../../lib/libfuse.so.2 /usr/lib/libfuse.so &&
|
---|
| 143 | ln -sv ../../lib/libulockmgr.so.1 /usr/lib/libulockmgr.so &&
|
---|
[1647d338] | 144 |
|
---|
[ff9b2cd] | 145 | cp -v Dest/lib/pkgconfig/* /usr/lib/pkgconfig &&
|
---|
| 146 |
|
---|
[1eaf5ad] | 147 | cp -v Dest/bin/* /bin &&
|
---|
| 148 | cp -v Dest/sbin/mount.fuse /sbin &&
|
---|
[ff9b2cd] | 149 | install -vdm755 /usr/include/fuse &&
|
---|
| 150 | cp -v Dest/usr/include/*.h /usr/include &&
|
---|
| 151 | cp -v Dest/usr/include/fuse/*.h /usr/include/fuse/ &&
|
---|
[1647d338] | 152 |
|
---|
| 153 | cp -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>
|
---|
[1eaf5ad] | 203 | fusermount, mount.fuse, and ulockmgr_server
|
---|
[1647d338] | 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 |
|
---|
[1eaf5ad] | 232 | <varlistentry id="mount.fuse2">
|
---|
| 233 | <term><command>mount.fuse</command></term>
|
---|
| 234 | <listitem>
|
---|
| 235 | <para>
|
---|
| 236 | is the command <command>mount</command> would call to mount a Fuse
|
---|
| 237 | filesystem.
|
---|
| 238 | </para>
|
---|
| 239 | <indexterm zone="fuse2 mount.fuse2">
|
---|
| 240 | <primary sortas="b-mount.fuse2">mount.fuse</primary>
|
---|
| 241 | </indexterm>
|
---|
| 242 | </listitem>
|
---|
| 243 | </varlistentry>
|
---|
| 244 |
|
---|
[1647d338] | 245 | <varlistentry id="ulockmgr_server2">
|
---|
| 246 | <term><command>ulockmgr_server</command></term>
|
---|
| 247 | <listitem>
|
---|
| 248 | <para>
|
---|
| 249 | is the Userspace Lock Manager Server for Fuse filesystems.
|
---|
| 250 | </para>
|
---|
| 251 | <indexterm zone="fuse2 ulockmgr_server2">
|
---|
| 252 | <primary sortas="b-ulockmgr_server2">ulockmgr_server</primary>
|
---|
| 253 | </indexterm>
|
---|
| 254 | </listitem>
|
---|
| 255 | </varlistentry>
|
---|
| 256 |
|
---|
| 257 | <varlistentry id="libfuse2">
|
---|
| 258 | <term><filename class="libraryfile">libfuse.so</filename></term>
|
---|
| 259 | <listitem>
|
---|
| 260 | <para>
|
---|
| 261 | contains the <application>FUSE</application> API functions.
|
---|
| 262 | </para>
|
---|
| 263 | <indexterm zone="fuse2 libfuse2">
|
---|
| 264 | <primary sortas="c-libfuse2">libfuse.so</primary>
|
---|
| 265 | </indexterm>
|
---|
| 266 | </listitem>
|
---|
| 267 | </varlistentry>
|
---|
| 268 |
|
---|
| 269 | <varlistentry id="libulockmgr2">
|
---|
| 270 | <term><filename class="libraryfile">libulockmgr.so</filename></term>
|
---|
| 271 | <listitem>
|
---|
| 272 | <para>
|
---|
| 273 | contains the Userspace Lock Manager API functions.
|
---|
| 274 | </para>
|
---|
| 275 | <indexterm zone="fuse2 libulockmgr2">
|
---|
| 276 | <primary sortas="c-libulockmgr2">libulockmgr.so</primary>
|
---|
| 277 | </indexterm>
|
---|
| 278 | </listitem>
|
---|
| 279 | </varlistentry>
|
---|
| 280 | </variablelist>
|
---|
| 281 |
|
---|
| 282 | </sect2>
|
---|
| 283 |
|
---|
| 284 | </sect1>
|
---|