> FWIW, a simple "sudo dosfsck /dev/sdb1" on my USB stick which has
> Japanese file names on it did not break things.  But I have been mostly
> using this stick from Linux and only occasionally from a friend's
> computer with Windows.

dosfsck seems to break filenames which includes 0x5c, this code equal to
the code of \(back slash).
I made some files includes 0x5c in my USB stick on windows, and then 
connected it to Ubuntu box, run "sudo dosfsck -a /dev/sdb1", and those
files are renamed.

$ sudo mount /dev/sdc1 /mnt
$ ls /mnt
噂.txt  暴.txt  禄.txt
$ sudo umount /mnt
$ sudo dosfsck -a /dev/sdc1
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
/:5P2.txt
  Bad file name.
  Auto-renaming it.
  Renamed to 000\0000000.\000XT
/:6Qq.txt
  Bad file name.
  Auto-renaming it.
  Renamed to 001\0000000.\000XT
/:7c4.txt
  Bad file name.
  Auto-renaming it.
  Renamed to 002\0000000.\000XT
Performing changes.
/dev/sdc1: 3 files, 1/501040 clusters
$ sudo mount /dev/sdc1 /mnt
$ ls /mnt
000  001  002

-- 
Ubuntu installation breaks Japanese file names on FAT32 patition
https://bugs.launchpad.net/bugs/217121
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to