*shfs [#c01a626b]
**インストール [#kdae8ec0]
-RPMが使用できる環境の場合
$ cd ~/rpm/SOURCES/
$ wget http://aleron.dl.sourceforge.net/sourceforge/shfs/shfs-0.35.tar.gz
$ tar zxf shfs-0.35.tar.gz
$ cd shfs-0.35
$ rpm -bb shfs-module.spec
$ rpm -bb shfs-utils.spec
$ cd ~/rpm/RPMS/i386/
$ sudo shfs-module-2.4.26-0.35-1.i386.rpm shfs-utils-0.35-1.i386.rpm
-RPMが使用できない環境の場合
**準備 [#za5d1e89]
マウントポイントの作成
$ sudo mkdir /mnt/shfs
ホームディレクトリにシンボリックリンク
$ cd ~
$ sudo ln -s /mnt/shfs mydata_shfs
$ sudo chown hoge:hoge mydata_shfs
マウント
$ sudo mount -t shfs -o rw,noexec,nosuid,nodev,uid=500,gid=500 fuga@foo.bar /mnt/shfs
以上の操作で、ホームディレクトリから任意のサーバのディレクトリ(要アカウント)にアクセスできます。(samba経由でもアクセスできるので、webページの更新などに便利)
ref:~
http://shfs.sourceforge.net/install.html~
http://club.h14m.org/umino/diary/?200402c~
http://omori.asama.net/linux_install2.html
**Caution [#oaab98df]
-マウント元にはPerlが必要?~
mountコマンドを実行してマウント元ホストにログインした後、
/bin/sh: perl: not found
と言うエラーが発生して待機状態になる。
[[家サーバ管理帳]]