|
发表于 2007-4-20 14:15:34
|
显示全部楼层
# mount -t smbfs -o ip=192.168.0.21 //public/mp3 /mnt/music
mount: wrong fs type, bad option, bad superblock on //public/mp3,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
# dmesg | tail
smbfs: mount_data version 1919251317 is not supported
到软件包管理器里看了一下,结果 smbfs 根本没装。Debian 4.0 Testing,装好后smbclient 就可用,从网络里有时也能连到其他 Windows 机器的共享。装好 smbfs 就能好了。然后
# mount -t smbfs -o ro,iocharset=utf8,ip=192.168.0.21 //public/mp3 /mnt/music
不再报错,也能看见上面的文件了。smbfs不支持nls=***,直接写utf8也不行。在 fstab 里写入
//public/mp3 /mnt/music smbfs ro,iocharset=utf8,ip=192.168.0.21 0 0
终于搞掂了。 |
|