mount: wrong fs type, bad option, bad superblock on //192.168.10.58/test/,
missing codepage or helper program, or other error
(for several filesystems (e.g. nfs, cifs) you might
need a /sbin/mount.<type> helper program)
当出现这个问题的时候,是新版本的软件包升级了。升级新版本的软件包即可。
apt-get install cifs-util
mkdir /win
mount -t cifs -o username=zhangsan,passwd=123 //192.168.10.58/test /win
umount /win
fstab挂载方法
//192.168.10.58/test /win cifs default,username=zhangsan,password=123 0 2 (0代表不做备份,2代表fsck做检查)