]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libfdisk: (dos) more carefully check for primary partitions
authorKarel Zak <kzak@redhat.com>
Mon, 8 Sep 2014 14:13:42 +0000 (16:13 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 7 Oct 2014 12:55:31 +0000 (14:55 +0200)
commitea987bb509054e962f1aeb322082f1080f7e0e8a
treedaf176767de7380a7b784955ccebcf1d4c98233b
parent254b1dfcc396cb2e2cd2bdeb5d3e0a5b6dd4b504
libfdisk: (dos) more carefully check for primary partitions

  * check if there is space for primary partitions, if no and extended
    exists then create logical partitions

  * create extended if @pa->type is extended partition

Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk/src/dos.c