]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libfdisk: (gpt) fix hybrid MBR detection, fix 'w'
authorKarel Zak <kzak@redhat.com>
Tue, 1 Oct 2019 10:51:04 +0000 (12:51 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 1 Oct 2019 10:51:04 +0000 (12:51 +0200)
commit1d84470388cb6b101a4ce1ecc079af9404bf052d
treee6fc6861c92db27c07dd6d2c3bee73f1f067e5f9
parenteb913f6b98c2198592341b38fd70cc061a8904b2
libfdisk: (gpt) fix hybrid MBR detection, fix 'w'

* current code overwrites hybrid MBR because EE partition
  is expected from fist sector, this is not true for hybrid MBR

* print "The partition table has been altered." message also for
  nested contexts

* remove "You have to sync the MBR manually" message

Addresses: https://github.com/karelzak/util-linux/issues/851
Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/fdisk-menu.c
libfdisk/src/context.c
libfdisk/src/gpt.c