[parted-devel] Sector size warning message

David Cantrell dcantrell at redhat.com
Mon Apr 10 19:32:19 UTC 2006


The if block on lines 370-384 in libparted/linux.c (I'm looking at
parted-1.6.25.1) present a warning message if your sector size isn't 512
bytes.  The message itself is a little confusing, but the options
presented to the user are ambigious.  The message:

   The sector size on /dev/XYZ is NNNN bytes.  Parted is known not to
   work properly with drives with sector sizes other than 512 bytes
   Ignore/Cancel?

The message fails to explain what Ignore and Cancel do.  Selecting
ignore means ignore the warning and continue with the detected sector
size whereas cancel means to force a 512 byte sector size.

Both 'Ignore' and 'Cancel' are bad words to use here.  Does anyone have
any suggestions for better wording on this message?

-- 
David Cantrell
Red Hat / Westford, MA



More information about the parted-devel mailing list