では、shlight で jhon の c:\hogehoge を Windows2000ユーザのkenz というユーザでアクセスして /mnt にマウントします。
chaco# shlight //jhon/hogehoge /mnt -U kenz
Password:
Using port 1042 for NFS.
パスワードは、ユーザのパスワードを入力してください。
/mnt に cd して ls すると、マウントできたことがわかります。
chaco# cd /mnt
chaco# ls -la
total 101
drwxr-xr-x 1 root wheel 100000 4/13 15:05 .
drwxr-xr-x 1 root wheel 100000 4/13 15:05 .
drwxr-xr-x 18 root wheel 512 2/24 14:57 ..
drwxr-xr-x 18 root wheel 512 2/24 14:57 ..
-rwxr-xr-x 1 root wheel 10 4/13 15:05 hoge.txt
df すると、こんな感じ。
chaco# df
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/ad0s1a 99183 38653 52596 42% /
/dev/ad0s1f 12485970 1720102 9766991 15% /usr
/dev/ad0s1e 128943 823 117805 1% /var
procfs 4 4 0 100% /proc
shlight-236 39069696 5880832 33188864 15% /mnt
shlight-236 の数字は、shlight のPID です。
chaco# ps -aux | grep shlight
root 236 0.0 1.3 1048 760 p0 S 2:54PM 0:00.05 shlight //jhon/ho
nfsと同じように使えます。
便利便利。