mount: /mnt/: bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<ty

问题

Ubuntu挂载CIFS类型网盘时,报错:

mount: /mnt/: bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<ty

解决

参考
https://askubuntu.com/questions/525243/why-do-i-get-wrong-fs-type-bad-option-bad-superblock-error

The error message mentions:

(for several filesystems (e.g. nfs, cifs) you might need a
/sbin/mount. helper program)

This is relevant given that you are trying to mount NFS. The
/sbin/mount.nfs helper program is provided by nfs-common. You can
install it with:

sudo apt install nfs-common On the other hand, if you are trying to
mount CIFS, the helper program is provided by cifs-utils. You can
install it with:

sudo apt install cifs-utils

最后通过
sudo apt install cifs-utils
解决


版权声明:本文为qazwsxrx原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。