mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-23 22:42:14 +08:00
Added Fuse and Sshfs Fuse
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10069 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
c1a5b500ae
commit
ee000c3d6d
@ -3,13 +3,13 @@ $LastChangedBy$
|
||||
$Date$
|
||||
-->
|
||||
|
||||
<!ENTITY day "02"> <!-- Always 2 digits -->
|
||||
<!ENTITY day "03"> <!-- Always 2 digits -->
|
||||
<!ENTITY month "05"> <!-- Always 2 digits -->
|
||||
<!ENTITY year "2012">
|
||||
<!ENTITY copyrightdate "2001-&year;">
|
||||
<!ENTITY copyholder "The BLFS Development Team">
|
||||
<!ENTITY version "&year;-&month;-&day;">
|
||||
<!ENTITY releasedate "May 2nd, &year;">
|
||||
<!ENTITY releasedate "May 3rd, &year;">
|
||||
<!-- <!ENTITY releasedate "November &day;st, &year;"> -->
|
||||
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
|
||||
<!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
|
||||
@ -146,6 +146,8 @@ $Date$
|
||||
<!ENTITY mdadm-version "3.2.3">
|
||||
<!ENTITY reiser-version "3.6.21">
|
||||
<!ENTITY xfsprogs-version "3.1.7">
|
||||
<!ENTITY fuse-version "2.9.0">
|
||||
<!ENTITY sshfs-fuse-version "2.4">
|
||||
|
||||
<!-- Chapter 6 -->
|
||||
<!ENTITY vim-version "7.3">
|
||||
@ -922,7 +924,6 @@ $Date$
|
||||
|
||||
<!-- Chapter 36 -->
|
||||
<!ENTITY seamonkey-version "2.9">
|
||||
<!-- Don't forget xulrunner -->
|
||||
<!ENTITY firefox-version "12.0">
|
||||
|
||||
<!-- Obsolete
|
||||
|
@ -41,6 +41,18 @@
|
||||
</listitem>
|
||||
|
||||
-->
|
||||
<listitem>
|
||||
<para>Mar 3rd, 2012</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[abenton] - Added Fuse 2.9.0.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[abenton] - Added Sshfs Fuse 2.4.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>May 2nd, 2012</para>
|
||||
<itemizedlist>
|
||||
|
@ -30,5 +30,7 @@ $Date$
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="aboutraid.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="reiser.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="xfs.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="fuse.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sshfs-fuse.xml"/>
|
||||
|
||||
</chapter>
|
||||
|
225
postlfs/filesystems/fuse.xml
Normal file
225
postlfs/filesystems/fuse.xml
Normal file
@ -0,0 +1,225 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
||||
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
||||
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
||||
%general-entities;
|
||||
|
||||
<!ENTITY fuse-download-http
|
||||
"&sourceforge-repo;/fuse/fuse-&fuse-version;.tar.gz">
|
||||
<!ENTITY fuse-download-ftp " ">
|
||||
<!ENTITY fuse-md5sum "894ee11674f89a915ae87524aed55bc4">
|
||||
<!ENTITY fuse-size "548 KB">
|
||||
<!ENTITY fuse-buildsize "8.2 MB">
|
||||
<!ENTITY fuse-time "0.1 SBU">
|
||||
]>
|
||||
|
||||
<sect1 id="fuse" xreflabel="fuse-&fuse-version;">
|
||||
<?dbhtml filename="fuse.html"?>
|
||||
|
||||
<sect1info>
|
||||
<othername>$LastChangedBy$</othername>
|
||||
<date>$Date$</date>
|
||||
</sect1info>
|
||||
|
||||
<title>fuse-&fuse-version;</title>
|
||||
|
||||
<indexterm zone="fuse">
|
||||
<primary sortas="a-fuse">fuse</primary>
|
||||
</indexterm>
|
||||
|
||||
<sect2 role="package">
|
||||
<title>Introduction to Fuse</title>
|
||||
|
||||
<para>
|
||||
<application>FUSE</application> (Filesystem in Userspace) is a simple
|
||||
interface for userspace programs to export a virtual filesystem to the
|
||||
Linux kernel. <application>Fuse</application> also aims to provide a
|
||||
secure method for non privileged users to create and mount their own
|
||||
filesystem implementations.
|
||||
</para>
|
||||
|
||||
&lfs71_checked;
|
||||
|
||||
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>
|
||||
Download (HTTP): <ulink url="&fuse-download-http;"/>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Download (FTP): <ulink url="&fuse-download-ftp;"/>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Download MD5 sum: &fuse-md5sum;
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Download size: &fuse-size;
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Estimated disk space required: &fuse-buildsize;
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Estimated build time: &fuse-time;
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<para condition="html" role="usernotes">
|
||||
User Notes: <ulink url="&blfs-wiki;/fuse"/>
|
||||
</para>
|
||||
</sect2>
|
||||
|
||||
<sect2 role="kernel" id="fuse-kernel">
|
||||
<title>Kernel Configuration</title>
|
||||
|
||||
<para>
|
||||
Enable the following options in the kernel configuration and recompile the
|
||||
kernel if necessary:
|
||||
</para>
|
||||
|
||||
<screen><literal>File systems --->
|
||||
[*] FUSE (Filesystem in Userspace) support</literal></screen>
|
||||
|
||||
<indexterm zone="fuse fuse-kernel">
|
||||
<primary sortas="d-fuse">fuse</primary>
|
||||
</indexterm>
|
||||
</sect2>
|
||||
|
||||
<sect2 role="installation">
|
||||
<title>Installation of Fuse</title>
|
||||
|
||||
<para>
|
||||
Install <application>Fuse</application> by running the following
|
||||
commands:
|
||||
</para>
|
||||
|
||||
<screen><userinput>./configure --prefix=/usr INIT_D_PATH=/tmp/init.d &&
|
||||
make</userinput></screen>
|
||||
|
||||
<para>
|
||||
This package does not come with a test suite.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
Now, as the <systemitem class="username">root</systemitem> user:
|
||||
</para>
|
||||
|
||||
<screen role="root"><userinput>make install &&
|
||||
rm -rf /tmp/init.d</userinput></screen>
|
||||
</sect2>
|
||||
|
||||
<sect2 role="commands">
|
||||
<title>Command Explanations</title>
|
||||
|
||||
<para>
|
||||
<parameter>INIT_D_PATH=/tmp/init.d</parameter>: This parameter makes it
|
||||
install its bootscript into /tmp/init.d.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<command>rm -rf /tmp/init.d</command>: This removes the unneeded
|
||||
bootscript.
|
||||
</para>
|
||||
</sect2>
|
||||
|
||||
<sect2 role="content">
|
||||
<title>Contents</title>
|
||||
|
||||
<segmentedlist>
|
||||
<segtitle>Installed Programs</segtitle>
|
||||
<segtitle>Installed Libraries</segtitle>
|
||||
<segtitle>Installed Directory</segtitle>
|
||||
|
||||
<seglistitem>
|
||||
<seg>
|
||||
fusermount,
|
||||
mount.fuse and
|
||||
ulockmgr_server.
|
||||
</seg>
|
||||
<seg>
|
||||
libfuse.so and
|
||||
libulockmgr.so.
|
||||
</seg>
|
||||
<seg>/usr/include/fuse.</seg>
|
||||
</seglistitem>
|
||||
</segmentedlist>
|
||||
|
||||
<variablelist>
|
||||
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
||||
<?dbfo list-presentation="list"?>
|
||||
<?dbhtml list-presentation="table"?>
|
||||
|
||||
<varlistentry id="fusermount">
|
||||
<term><command>fusermount</command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
is a set users ID root program to mount and unmount Fuse
|
||||
filesystems.
|
||||
</para>
|
||||
<indexterm zone="fuse fusermount">
|
||||
<primary sortas="b-fusermount">fusermount</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="mount.fuse">
|
||||
<term><command>mount.fuse</command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
is the command <command>mount</command> would call to mount a Fuse
|
||||
filesystem.
|
||||
</para>
|
||||
<indexterm zone="fuse mount.fuse">
|
||||
<primary sortas="b-mount.fuse">mount.fuse</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="ulockmgr_server">
|
||||
<term><command>ulockmgr_server</command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
is the Userspace Lock Manager Server for Fuse filesystems.
|
||||
</para>
|
||||
<indexterm zone="fuse ulockmgr_server">
|
||||
<primary sortas="b-ulockmgr_server">ulockmgr_server</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="libfuse">
|
||||
<term><filename class="libraryfile">libfuse.so</filename></term>
|
||||
<listitem>
|
||||
<para>
|
||||
contains the Fuse API functions.
|
||||
</para>
|
||||
<indexterm zone="fuse libfuse">
|
||||
<primary sortas="c-libfuse">libfuse.so</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="libulockmgr">
|
||||
<term><filename class="libraryfile">libulockmgr.so</filename></term>
|
||||
<listitem>
|
||||
<para>
|
||||
contains the Userspace Lock Manager API functions.
|
||||
</para>
|
||||
<indexterm zone="fuse libulockmgr">
|
||||
<primary sortas="c-libulockmgr">libulockmgr.so</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</sect2>
|
||||
</sect1>
|
160
postlfs/filesystems/sshfs-fuse.xml
Normal file
160
postlfs/filesystems/sshfs-fuse.xml
Normal file
@ -0,0 +1,160 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
||||
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
||||
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
||||
%general-entities;
|
||||
|
||||
<!ENTITY sshfs-fuse-download-http
|
||||
"&sourceforge-repo;/fuse/sshfs-fuse-&sshfs-fuse-version;.tar.gz">
|
||||
<!ENTITY sshfs-fuse-download-ftp " ">
|
||||
<!ENTITY sshfs-fuse-md5sum "3c7c3647c52ce84d09486f1da3a3ce24">
|
||||
<!ENTITY sshfs-fuse-size "132 KB">
|
||||
<!ENTITY sshfs-fuse-buildsize "2.6 MB">
|
||||
<!ENTITY sshfs-fuse-time "0.1 SBU">
|
||||
]>
|
||||
|
||||
<sect1 id="sshfs-fuse" xreflabel="sshfs-fuse-&sshfs-fuse-version;">
|
||||
<?dbhtml filename="sshfs-fuse.html"?>
|
||||
|
||||
<sect1info>
|
||||
<othername>$LastChangedBy$</othername>
|
||||
<date>$Date$</date>
|
||||
</sect1info>
|
||||
|
||||
<title>sshfs-fuse-&sshfs-fuse-version;</title>
|
||||
|
||||
<indexterm zone="sshfs-fuse">
|
||||
<primary sortas="a-sshfs-fuse">sshfs-fuse</primary>
|
||||
</indexterm>
|
||||
|
||||
<sect2 role="package">
|
||||
<title>Introduction to Sshfs Fuse</title>
|
||||
|
||||
<para>
|
||||
The <application>Sshfs Fuse</application> package contains a filesystem
|
||||
client based on the SSH File Transfer Protocol. This is useful for
|
||||
mounting a remote computer that you have ssh access to as a local
|
||||
filesystem. This allows you to drag and drop files or run shell commands
|
||||
on the remote files as if they were on your local computer.
|
||||
</para>
|
||||
|
||||
&lfs71_checked;
|
||||
|
||||
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>
|
||||
Download (HTTP): <ulink url="&sshfs-fuse-download-http;"/>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Download (FTP): <ulink url="&sshfs-fuse-download-ftp;"/>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Download MD5 sum: &sshfs-fuse-md5sum;
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Download size: &sshfs-fuse-size;
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Estimated disk space required: &sshfs-fuse-buildsize;
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Estimated build time: &sshfs-fuse-time;
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<bridgehead renderas="sect3">Sshfs Fuse Dependencies</bridgehead>
|
||||
|
||||
<bridgehead renderas="sect4">Required</bridgehead>
|
||||
<para role="required">
|
||||
<xref linkend="fuse"/> and
|
||||
<xref linkend="openssh"/>.
|
||||
</para>
|
||||
|
||||
<para condition="html" role="usernotes">
|
||||
User Notes: <ulink url="&blfs-wiki;/sshfs-fuse"/>
|
||||
</para>
|
||||
</sect2>
|
||||
|
||||
<sect2 role="installation">
|
||||
<title>Installation of Sshfs Fuse</title>
|
||||
|
||||
<para>
|
||||
Install <application>Sshfs Fuse</application> by running the following
|
||||
commands:
|
||||
</para>
|
||||
|
||||
<screen><userinput>./configure --prefix=/usr &&
|
||||
make</userinput></screen>
|
||||
|
||||
<para>
|
||||
This package does not come with a test suite.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
Now, as the <systemitem class="username">root</systemitem> user:
|
||||
</para>
|
||||
|
||||
<screen role="root"><userinput>make install</userinput></screen>
|
||||
</sect2>
|
||||
|
||||
<sect2 id="sshfs-fuse-install">
|
||||
<title>Using Sshfs Fuse</title>
|
||||
|
||||
<para>
|
||||
To mount an ssh server you need to be able to log into the server. For
|
||||
example, to mount your home folder on the computer called THINGY on the
|
||||
folder ~/MOUNTPATH (the directory must exist and you must have permissions
|
||||
to write to it):
|
||||
</para>
|
||||
|
||||
<screen><userinput>sshfs THINGY:~ ~/MOUNTPATH</userinput></screen>
|
||||
|
||||
<para>
|
||||
When you've finished work and want to unmount it again:
|
||||
</para>
|
||||
|
||||
<screen><userinput>fusermount -u ~/MOUNTPATH</userinput></screen>
|
||||
</sect2>
|
||||
|
||||
<sect2 role="content">
|
||||
<title>Contents</title>
|
||||
|
||||
<segmentedlist>
|
||||
<segtitle>Installed Program</segtitle>
|
||||
|
||||
<seglistitem>
|
||||
<seg>sshfs.</seg>
|
||||
</seglistitem>
|
||||
</segmentedlist>
|
||||
|
||||
<variablelist>
|
||||
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
||||
<?dbfo list-presentation="list"?>
|
||||
<?dbhtml list-presentation="table"?>
|
||||
|
||||
<varlistentry id="sshfs">
|
||||
<term><command>sshfs</command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
mounts an <command>ssh</command> server as a local file system.
|
||||
</para>
|
||||
<indexterm zone="sshfs-fuse sshfs">
|
||||
<primary sortas="b-sshfs">sshfs</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</sect2>
|
||||
</sect1>
|
Loading…
Reference in New Issue
Block a user