]> git.ipfire.org Git - thirdparty/util-linux.git/commit
fdisk: add a default response for the partition type dialog
authorFrancesco Cosoleto <cosoleto@gmail.com>
Fri, 6 May 2011 15:23:32 +0000 (17:23 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 10 May 2011 11:50:11 +0000 (13:50 +0200)
commit37b4484fe6af74c5744af88d5132969404e35029
treebecefffa2cdacc1346e744488e58b2ac0b752803
parentffde29b2bd770b3717d2f32be2485cb74ac88278
fdisk: add a default response for the partition type dialog

The default response is 'p' until three primary partitions are created,
then 'e'.

The original idea is from Karel Zak.

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