mlabel: renaming USB stick appends "nA" to name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OEM Priority Project |
Fix Released
|
Medium
|
James M. Leddy | ||
Precise |
Fix Released
|
Medium
|
James M. Leddy | ||
mtools (Ubuntu) |
Fix Released
|
Medium
|
James M. Leddy | ||
Precise |
Fix Released
|
Medium
|
James M. Leddy |
Bug Description
[Impact]
* Users can not rename their disks properly.
* HP BIOS looks for a partition named HP_TOOLS for their recovery key.
* Because we don't have an mlabel that works, the recovery key does not work on HP laptops. Thus, it is impossible for an end user to recover their system if they somehow manage to break the main install.
[Test Case]
* Use mlabel to label a partition
* Observe the name is not exactly as intended
[Regression Potential]
* Low, this fix has already been upstream for a few releases.
* Additionally, at 20 additional lines of code, it isn't that large of a change.
[Original Description]
I try to rename a usb stick using mlabel (gparted shows the same erroneous behaviour). The rename works, but the string "nA" is appended to the name (it is less than 11 characters). The appended string is right-justified, and spaces are inserted in the middle between my name and the "nA", resulting in a new label like "new-name nA". This behaviour only takes place with names that are at least 8 characters long.
Related branches
tags: | added: iso-testing |
tags: | added: precise |
Changed in mtools (Ubuntu): | |
status: | Confirmed → Triaged |
importance: | Undecided → Medium |
Changed in oem-priority: | |
importance: | Undecided → Medium |
Changed in oem-priority: | |
status: | New → Triaged |
description: | updated |
Changed in mtools (Ubuntu Precise): | |
assignee: | nobody → James M. Leddy (jm-leddy) |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in mtools (Ubuntu): | |
status: | Triaged → Fix Released |
Changed in oem-priority: | |
status: | Triaged → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.