Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#11759 - initscripts: LANG not exported when mounting filesystems

Attached to Project: Arch Linux
Opened by Tony (grai) - Thursday, 16 October 2008, 00:34 GMT
Last edited by Ronald van Haren (pressh) - Monday, 26 January 2009, 11:31 GMT
Task Type Bug Report
Category System
Status Closed
Assigned To Aaron Griffin (phrakture)
Thomas Bächler (brain0)
Ronald van Haren (pressh)
Architecture All
Severity Medium
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
NTFS-3g partitions mounted at boot time don't show files with funny characters in their names. This can be confusing and distressing when you don't notice the log messages about it.

This particular case can be worked around with a locale=foo mount option, but http://www.ntfs-3g.org/support.html#locale suggests exporting language env vars in rc.sysinit to at least the /bin/mount process. Sounds sensible to me.

Additional info:
* initscripts version 2008.09-2
This task depends upon

Closed by  Ronald van Haren (pressh)
Monday, 26 January 2009, 11:31 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed upstream with ntfs-3g 2009.1 release
Comment by Tony (grai) - Wednesday, 05 November 2008, 09:36 GMT
Actually I think the minimal change is enough:

sed -i 's|^/bin/mount|LANG=$LOCALE &|' /etc/rc.sysinit
Comment by Aaron Griffin (phrakture) - Friday, 05 December 2008, 05:14 GMT
Thomas? You tend to be good with this stuff. My idea was to export LANG=$LOCALE in the rc.d/functions file.
Comment by Thomas Bächler (brain0) - Friday, 05 December 2008, 08:31 GMT
IMO, this is a bug in ntfs-3g. Remember that users on a machine can use different locales, still they should be able to use the mounted partitions. ntfs-3g should work fine no matter what locale is set! In the posted FAQ, they claim it's the OS vendor's bug, which is very stupid IMO, for the resons I just told you.

I even doubt this depends on the locale, but rather on the charset: If you would use any *.utf8 locale, I bet ntfs-3g will behave all the same.

However, ntfs-3g has a locale= mount option which can perfectly work around this problem.
Comment by Tony (grai) - Monday, 26 January 2009, 11:14 GMT
The new ntfs-3g in [extra] fixes this - "Built-in, transparent UTF-8 conversion support".

Loading...