Comment 7 for bug 443330

Revision history for this message
komputes (komputes) wrote :

Hi Daniel,

By "drive name" I mean the name of the drive that (should) show up when you pop it in. This is a recognizable human readablename such as "My Passport" or "AwesomenessDrive". When using FAT this is achieved in the back end using "sudo mlabel -i <device> ::<label>"

ex.
$ sudo mlabel -i /dev/sdb1 ::AwesomenessDrive

The reason I think any formating tool should request a drive name/label is because we currently mount unlabeled drives to something like ex. (FAT32) /media/F8EB-024G or (ext3) /media/4532f2cd-0110-4dd5-a5d2-2b4d547d84e5. This was introduced in Karmic and is explained in detail in Bug #390304.

Therefore it is good practice that *any* tool which can format a disk, ask for a drive/partition label. This adds to security and intuitiveness by removing the stress brought on bu device paths. The standard response from a user being: "Uh, well... I don't know, not too sure, which drive i should format, /dev/sd...". Very unsafe and leads to data loss.

There is no reason, to show an End User License Agreement when formating a disk. A confirmation pop-up window with the following informative warning should be sufficient (I have expanded my previous suggestion):

"Please make sure you have backed up all data off this drive. $DEVICEPATH $CURRENTLABEL (on $CURRENTMOUNTPOINT/Not mounted) will be formatted to $NEWLABEL".