openwrt支援USB的ntfs儲存時的掛載問題
一開始用的這個掛載命令:
mount -t ntfs /dev/sdb1 /mnt/sdb1/
ls /mnt/sdb1
[ 96.790000] ntfs: (device sdb1): ntfs_ucstonls(): Unicode name contains characters that cannot be converted to character set default. You might want to try to use the mount option nls=utf8.
[ 96.820000] ntfs: (device sdb1): ntfs_filldir(): Skipping unrepresentable inode 0x6b2.
[ 96.840000] ntfs: (device sdb1): ntfs_ucstonls(): Unicode name contains characters that cannot be converted to character set default. You might want to try to use the mount option nls=utf8.
[ 96.870000] ntfs: (device sdb1): ntfs_filldir(): Skipping unrepresentable inode 0x6c9.
[ 96.890000] ntfs: (device sdb1): ntfs_ucstonls(): Unicode name contains characters that cannot be converted to character set default. You might want to try to use the mount option nls=utf8.
[ 96.920000] ntfs: (device sdb1): ntfs_filldir(): Skipping unrepresentable inode 0x6a3.
[ 96.970000] ntfs: (device sdb1): ntfs_ucstonls(): Unicode name contains characters that cannot be converted to character set default. You might want to try to use the mount option nls=utf8.
[ 97.000000] ntfs: (device sdb1): ntfs_filldir(): Skipping unrepresentable inode 0xc6b3.
[ 97.020000] ntfs: (device sdb1): ntfs_ucstonls(): Unicode name contains characters that cannot be converted to character set default. You might want to try to use the mount option nls=utf8.
[ 97.050000] ntfs: (device sdb1): ntfs_filldir(): Skipping unrepresentable inode 0x650.
最後千辛萬苦找到的解決辦法:
mount -o nls=utf8 -t ntfs /dev/sdb1 /mnt/sdb1/