linux的ssh or ftp 网络mount目录

在linux下怎么mount网络硬盘或者目录呢?
这里提供一个工具:fuse
从fedora8安装如下:

yum install fuse-sshfs-1.9-2.fc8 fuse-libs-2.7.3-2.fc8 fuse-smb-0.8.7-1.fc8 fuse-2.7.3-2.fc8 fuse-devel-2.7.3-2.fc8 fuseiso-20070708-2.fc8
完成对fuse的安装;该软件也是开源的,若想从源码安装,请参观官方开源网站:http://fuse.sourceforge.net/
1,如何mount?
# sshfs [user@]host:[dir] mountpoint
or
# sshfs [user@]host:[dir] mountpoint -o allow_other
2,如何卸载?
# fusermount -u mountpoint
3,注意事项
有些平台的需要进行内核装入fuse才能使用,所以编译时要么使用该fuse内核版本的包安装,或者源码和内核一起编译安装,对于有些发行版本,可以采用如下方式:
#modprobe fuse
加载一下fuse模块,然后mount。


Monthly Archives

Pages

Powered by Movable Type 7.7.2

About this Entry

This page contains a single entry by Cnangel published on March 24, 2008 2:28 PM.

介绍一款目录对比工具——Meld was the previous entry in this blog.

网络链接关系模型分析 is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.