Re: [PATCH 1/3] fdisk: accept lowercase K/M/G suffixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

2011/5/10 Karel Zak <kzak@xxxxxxxxxx>:
>> These suffixes were accepted in previous fdisk versions but with
>> a different meaning.
>
>  Oh.. then it seems like a bad idea to apply this patch.
>
>> Presumably some users are inclined not to use shift key here even if
>> this isn't the expected way to write these units.
>
>  premature optimization
>
>  Kb, kB, KiB, .... all this is mess, and provide more alternatives for
>  the mess is only bigger mess.

Do you think it would be clearer if fdisk prints a message after the
dialog, something like:

 Last sector, +sectors or +size{K,M,G} (2048-125045423, default 125045423): +40G
 A partition of 40 GiB is set.

and 'K' lower-case removed or replaced with an error message?
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux