mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
Restore mount.fuse in fuse-2.x instructions. Add fstab example for sshfs.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@18585 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
ff9b2cd15d
commit
1eaf5ade77
@ -145,7 +145,7 @@ ln -sv ../../lib/libulockmgr.so.1 /usr/lib/libulockmgr.so &&
|
||||
cp -v Dest/lib/pkgconfig/* /usr/lib/pkgconfig &&
|
||||
|
||||
cp -v Dest/bin/* /bin &&
|
||||
|
||||
cp -v Dest/sbin/mount.fuse /sbin &&
|
||||
install -vdm755 /usr/include/fuse &&
|
||||
cp -v Dest/usr/include/*.h /usr/include &&
|
||||
cp -v Dest/usr/include/fuse/*.h /usr/include/fuse/ &&
|
||||
@ -200,7 +200,7 @@ cp -v Dest/usr/share/man/man1/* /usr/share/man/man1</userinput></screen>
|
||||
|
||||
<seglistitem>
|
||||
<seg>
|
||||
fusermount and ulockmgr_server
|
||||
fusermount, mount.fuse, and ulockmgr_server
|
||||
</seg>
|
||||
<seg>
|
||||
libfuse.so and libulockmgr.so
|
||||
@ -229,6 +229,19 @@ cp -v Dest/usr/share/man/man1/* /usr/share/man/man1</userinput></screen>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="mount.fuse2">
|
||||
<term><command>mount.fuse</command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
is the command <command>mount</command> would call to mount a Fuse
|
||||
filesystem.
|
||||
</para>
|
||||
<indexterm zone="fuse2 mount.fuse2">
|
||||
<primary sortas="b-mount.fuse2">mount.fuse</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="ulockmgr_server2">
|
||||
<term><command>ulockmgr_server</command></term>
|
||||
<listitem>
|
||||
|
@ -120,13 +120,27 @@ make</userinput></screen>
|
||||
to write to it):
|
||||
</para>
|
||||
|
||||
<screen><userinput>sshfs THINGY:~ ~/MOUNTPATH</userinput></screen>
|
||||
<screen><userinput>sshfs HOSTNAME:~ ~/MOUNTPATH</userinput></screen>
|
||||
|
||||
<para>
|
||||
When you've finished work and want to unmount it again:
|
||||
</para>
|
||||
|
||||
<screen><userinput>fusermount -u ~/MOUNTPATH</userinput></screen>
|
||||
|
||||
<para>
|
||||
You can also mount an <application>sshfs</application> filesystem at boot
|
||||
by adding an entry similar to the following in the
|
||||
<filename>/etc/fstab</filename> file:
|
||||
</para>
|
||||
|
||||
<screen>USER@HOSTNAME:/path /media/MOUNTPATH fuse.sshfs _netdev,IdentityFile=/home/USER/.ssh/id_rsa 0 0</screen>
|
||||
|
||||
<para>
|
||||
See <command>man 1 sshfs</command> and <command>man 8 mount.fuse</command>
|
||||
for all available mount options.
|
||||
</para>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="content">
|
||||
|
Loading…
Reference in New Issue
Block a user