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

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

 



On Fri, Dec 14, 2007 at 04:06:09PM +0800, Li Zefan wrote:
> I deliberately leave a space after '+1000M' ;)

 Fixed. Ignore space makes sense.

> And before applying the patch, fdisk accepts this.

 The original code was very liberal, try '+1000Mjunk' :-)

> BTW: I feel the message "Last cylinder,...):" is a bit too long after patch.

 Hmm... any suggestion?

Last cylinder, +cylinders or +size{K,M,G} (1-267349, default 267349):

 or

Last cylinder      - absolute number
     +cylinders    - size in cylinders
     +sizeK        - size in KiB
     +sizeM        - size in MiB
     +sizeG        - size in GiB

    (1-267349, default 267349):


    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