Re: fdisk: +size{k,K,m,M,g,G} chaos

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

 



On Wed, Dec 12, 2007 at 04:38:27PM -0800, Randy Dunlap wrote:
> >  		snprintf(mesg, sizeof(mesg),
> > -			 _("Last %s or +size or +sizeM or +sizeK"),
> > +			 _("Last %s or +size, +sizeK, +sizeM or +sizeG"),
> 
> I would use
> 
>   +			 _("Last %s or +size[KkMmGg]"),
> 
> or are you trying to encourage use of 2^N?  :)

 Yes, I think 2^N is enough and more readable for end-users. IMHO
 10^N is non-sense and we need it for backward compatibility only.

> Of course, if [KkMmGg] is used, somewhere it needs to tell users what
> the difference in them is.

 Exactly, I don't see a space for this description in the message
 (nobody reads man pages:-).

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" 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