Comment 9 for bug 443330

Revision history for this message
David D Lowe (flimm) wrote :

Hi. I'm the author of the proposed patch in lp:~flimm/usb-creator/warn-before-format

When the user tries to format a drive with just one partition on it, this message would be displayed:

Formatting the drive will erase it in its entirety.
Make a backup copy of any valuable data on $GNOME_PARTITION_NAME (/dev/devicename) before continuing.
   |Cancel| |Format entire drive|

When the user tries to format a drive with several partitions on it, this message would be displayed:

Formatting the drive will erase it in its entirety.
Make a backup copy of any valuable data on $GNOME_DRIVE_NAME (/dev/devicename) before continuing.
The following partitions will be deleted:
  /dev/devicename LABEL1
  /dev/devicename LABEL2 (etc)
   |Cancel| |Format entire drive|

I haven't added the name of the new partition because I don't think USB creator labels the new partition. Correct me if I am wrong.