Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I try to rename a usb stick (i.e. give it a new label). Both using gparted and mlabel I get following behaviour: The rename works, but the string "nA" is appended to the name (it is less than 11 characters). This is very annoying, because 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".

Anyone have an idea how to get rid of the "nA"?

Update: This behaviour only takes place with new names that are at least 8 characters long.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

It's a bug in mtools and a patch was offered earlier this month.

The bug entry mentions a partial workaround (pad it out with underscores until you hit the label length limit and the nA is pushed off the end).

Another I have is to add a space to the end of your desired label (eg. "DOCUMENTS "). Then you get " A" rather than "nA", which can then often be made to look intentional.

share|improve this answer
    
Yes, bug report and patch are from me; I forgot to add that information here.. –  daniel kullmann Dec 27 '11 at 7:27
    
Ahh. That'll teach me to write answers when I'm too tired to read names. –  ssokolow Dec 27 '11 at 13:24

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.