首先,需要samba的客户端软件包:samba-client。
比如将 \\192.168.0.61\editors 挂载到 /mnt/editors
mount.cifs //192.168.0.61/editors /mnt/editors -o user=editors,pass=xxxxxx
比如将 \\192.168.0.61\editors 挂载到 /mnt/editors
mount.cifs //192.168.0.61/editors /mnt/editors -o user=editors,pass=xxxxxx