日期:2014-05-16 浏览次数:20726 次
sudo mount //192.168.10.22/FTPServer /windows -o username=user,password=abcdefg -t cifs
sudo mount //192.168.10.22/FTPServer /windows -o username=user -t cifs password:abcdefg
umount /FTPServer
/home/user/source *(rw)
$/etc/rc.d/init.d/nfs restart
mount -t nfs -o rw 192.168.10.94:/home/user/source /home/user/target
chmod 777 mount_AtoB.sh
$ echo /home/user/mount_94to93.sh >> /etc/rc.d/rc.local
set fileformat=unix #!bin/bash mount -t nfs -o rw 192.168.10.94:/home/user/source /home/user/target <<EOF abcdefg EOF