mount windows 共享参数有所改变
发表于 : 2009-07-22 14:22
论坛的 tip: 中
挂载共享文件: sudo mount -t smbfs -o username=xxx,password=xxx,iocharset=utf8 //192.168.1.1/share /mnt/share
使用这条命令挂win共享时候 提示
man mount 看了一下,
将 -t smbfs 换成 cifs 就可以
[/color]
这样挂就成功了
挂载共享文件: sudo mount -t smbfs -o username=xxx,password=xxx,iocharset=utf8 //192.168.1.1/share /mnt/share
使用这条命令挂win共享时候 提示
代码: 全选
root@nosmoke:~# mount -t smbfs -o username=XXX,password=XXX,iocharset=utf8 //192.168.1.121/tools /mnt
mount: wrong fs type, bad option, bad superblock on \192.168.1.234tools,
missing codepage or helper program, or other error
(for several filesystems (e.g. nfs, cifs) you might
need a /sbin/mount.<type> helper program)
系统日志中可能有一些重要的信息,
试试用 dmesg | tail 之类的命令查看。
将 -t smbfs 换成 cifs 就可以
代码: 全选
root@nosmoke:~# mount -t cifs -o username=XXX,password=XXX,iocharset=utf8 //192.168.1.121/tools /mnt
这样挂就成功了