[Bug 468343] [NEW] Automounted NTFS disks with Unicode in label results in invalid path after upgrading to 9.10
Launchpad Bug Tracker
468343 at bugs.launchpad.net
Sun Nov 1 11:32:07 GMT 2009
You have been subscribed to a public bug:
Binary package hint: hal
When plugging in an external harddrive with an NTFS filesystem with a
label set to contain UTF-8 characters, the mounted path as well as the
label displayed in nautilus are incorrect. The label reported by ntfs-3g
are always correct. The labels are set with the command ntfslabel.
Some different examples follows:
NTFS label # HAL label discovered # Label used in Nautilus / Filesystem path (/media/...)
dong # dong # dong
東西 # 55 # ??
Å # % # 4A12287F1228725D
dong西 # dong% # dong?
dongÅ # dong% # dong
dong西xi # dong%xi # dong?xi
dongÅxi # dong%xi # dong
Examining the above table shows that depending on what Unicode character the file system path and label shown in nautilus differ. The behaviour of hal is also a bit odd. When a chinese character is used together with a ASCII character, hal with read it as '%', while nautilus and the path as '?'. When the swedish character 'Å' is used together with ASCII characters, hal with do the same as with chinese characters, but nautilus and the path will simply truncate everything including and after the swedish character.
If only chinese characters are used, hal with read them as the number
'5'. '東西' is translated into '55'. ‘東西南北’ translates to '5555'. When
only swedish characters are used, hal will read them in as '%', while
the path as well as the label presented in nautilus will be something
looking like a large random identifier number.
In Ubuntu 9.04, these issues did not exist. A NTFS partition with label
東西 would automatically mount into /media/東西/, and would be presented
correctly in nautilus. The issue occurred immediately after upgrading to
Setting the label is done with the command ntfslabel. Reading hal values
is done with the command hal-devices.
** Affects: autofs (Ubuntu)
Automounted NTFS disks with Unicode in label results in invalid path after upgrading to 9.10
You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to autofs in ubuntu.
More information about the Ubuntu-server-bugs