Hi everyone.
I'm just posting this here because I've been experiencing this problem for quite some time and it was extremely difficult to find the solution.
When inserting a USB flash drive it's mounted with mount_msdosfs(8). But the Handbook fails to mention that unless you supply -L for locale and -D for DOS codepage all your Russian/French/Korean etc, file names will appear as ?????.ext and you won't be able to handle them.
One needs to use syntax like this:
(for Japanese)
Now why is this not mentioned anywhere in the relevant sources? Until I've recently found it in mount_msdosfs(8) I had to rename all files to English names. This one's especially tricky for former Windows users.
Another question: how can corresponding rules (or maps?) be added to the autofs (5) ? The working of these maps seems obscure to me when I try to go beyond the /etc/auto_master file basics.
I'm just posting this here because I've been experiencing this problem for quite some time and it was extremely difficult to find the solution.
When inserting a USB flash drive it's mounted with mount_msdosfs(8). But the Handbook fails to mention that unless you supply -L for locale and -D for DOS codepage all your Russian/French/Korean etc, file names will appear as ?????.ext and you won't be able to handle them.
One needs to use syntax like this:
Code:
mount_msdosfs -L ja_JP.eucJP -D CP932 /dev/ada1s1 /mnt
Now why is this not mentioned anywhere in the relevant sources? Until I've recently found it in mount_msdosfs(8) I had to rename all files to English names. This one's especially tricky for former Windows users.
Another question: how can corresponding rules (or maps?) be added to the autofs (5) ? The working of these maps seems obscure to me when I try to go beyond the /etc/auto_master file basics.