路傍亭@はてなブログ

備忘録とか記録とか

FreeBSDのサーバーをNFSでzaurusからmountする設定のメモ

設定

サーバー(emanon)の/etc/exports
/tmp 127.168.0.4*1
サーバー(emanon)の/etc/rc.conf
mountd_enable="YES"
nfs_server_enable="YES"
nfs_reserved_port_only="YES"
rpc_lockd_enable="YES"
rpc_statd_enable="YES"
rpcbind_enable="YES"
nfs_client_enable="YES"

クライアント(zaurus)の/etc/fstab

emanon:/tmp /home/zaurus/tmp nfs noauto

rootになって、mount /home/zaurus/tmpでマウント、umount /home/zaurus/tmpでアンマウント。

*1:127.168.0.4はzaurusのIP