由于我将 ubuntu 更新为 natty narwhal(从 10.04 开始),因此我的挂载脚本不再起作用。
这些脚本将本地网络中 NAS (WD mybookworld) 中的文件夹挂载到我的主文件夹中的文件夹中。
脚本看起来像这样:
#!/bin/bash
sudo mount //192.168.2.222/Public/Shared\ Music/ /home/simon/Musik/
Run Code Online (Sandbox Code Playgroud)
错误:
mount: wrong fs type, bad option, bad superblock on //192.168.2.222/Public/Shared Music/,
missing codepage or helper program, or other error
(for several filesystems (e.g. nfs, cifs) you might
need a /sbin/mount.<type> helper program)
Manchmal liefert das Syslog wertvolle Informationen – versuchen
Sie dmesg | tail oder so
Run Code Online (Sandbox Code Playgroud)
现在,因为脚本不再工作,我决定将挂载进程添加到我的 fstab 中,因为每次启动时都应该挂载网络驱动器。
我的 fstab 条目如下所示:
//192.168.2.222/Public/Shared\ Music/ /home/simon/Musik cifs credentials=/home/simon/.smbcredentials 0 0
Run Code Online (Sandbox Code Playgroud)
但它也不起作用。我在启动过程中收到一条消息,无法安装 Musik。
是否有任何日志文件可以检查错误?系统是全新安装的11.04。
你好