Comment 28 for bug 136682

Revision history for this message
Tormod Volden (tormodvolden) wrote :

The instructions inside my file were wrong. It should be rootflags=locale=en_US.utf8.

Yes, I tried remounting:
 sudo mount -o rw,locale=C /dev/sdb1 /mnt
 sudo mount -o ro,remount,locale=en_US.utf8 /dev/sdb1 /mnt
but it seems like the locale option is not honoured when remounting. (The "ro" is.) The clue to this might be in the fuse process which is hanging around:
 7013 ? Ss 0:00 /sbin/mount.ntfs /dev/sdb1 /mnt -o rw,locale=C
Again I had a look at the source code, but there it seems like remount is not supported at all. So I don't know how the "ro" flag got changed. Maybe ro is handled on another level, for instance by the kernel without the involvement of the fuse process.

As for adding this to initramfs-tools: It can be added to any package, since it is just a hook. IMHO, the best would be if ntfs-3g could have native utf support, like the old ntfs driver, without having to go through locales. I don't think the NTFS partition has any "locale", it just uses utf.