]> git.ipfire.org Git - thirdparty/util-linux.git/commit
fdisk: change primary or extended partition type dialog
authorFrancesco Cosoleto <cosoleto@gmail.com>
Fri, 6 May 2011 15:23:31 +0000 (17:23 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 10 May 2011 11:50:06 +0000 (13:50 +0200)
commitffde29b2bd770b3717d2f32be2485cb74ac88278
treedd5ce6e3b5af73d35c8c3099f2f91d0916de61e7
parentb152e3595cfa0046f374a555066b654692a4c8ba
fdisk: change primary or extended partition type dialog

Mainly this appends a colon for the prompt, reverses order of the list,
reports the number of primary partitions used and unused.

Old version:
 Command action
    e   extended
    p   primary partition (1-4)
 p

New version:
 Partition type:
    p   primary (0 primary, 0 extended, 4 free)
    e   extended
 Select: p

Old version:
 Command action
    l   logical (5 or over)
    p   primary partition (1-4)
 l

New version:
 Partition type:
    p   primary (0 primary, 1 extended, 3 free)
    l   logical (numbered from 5)
 Select: l

Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
fdisk/fdisk.c