Ah, so it seems that blkid is not able to read the label that ntfslabel
set. I can reproduce this:
$ sudo mkfs.ntfs /dev/ram0
works fine for ascii:
$ sudo ntfslabel /dev/ram0 ascii
$ sudo blkid -p /dev/ram0
/dev/ram0: UUID="340F594C06D212D8" LABEL="ascii" TYPE="ntfs" USAGE="filesystem"
when mixing ASCII and some German umlaut/Euro sign, output becomes scrambled:
$ sudo ntfslabel /dev/ram0 'aäo€xx'
$ sudo blkid -p /dev/ram0
/dev/ram0: UUID="340F594C06D212D8" LABEL="aM-do?xx" TYPE="ntfs"
USAGE="filesystem"
Chinese characters aren't detected at all:
$ sudo ntfslabel /dev/ram0 'dong西xi'
$ sudo blkid -p /dev/ram0
/dev/ram0: UUID="340F594C06D212D8" LABEL="dong?xi" TYPE="ntfs"
USAGE="filesystem"
** Package changed: devicekit-disks (Ubuntu) => util-linux (Ubuntu)
** Changed in: util-linux (Ubuntu)
Status: Incomplete => Triaged
** Summary changed:
- Automounted NTFS disks with Unicode in label results in incorrect path after
upgrading to 9.10
+ blkid does not read non-ASCII characters from NTFS labels
--
blkid does not read non-ASCII characters from NTFS labels
https://bugs.launchpad.net/bugs/468343
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