]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libfdisk: (gpt) write PMBR only when useful
authorPhilippe Reynes <philippe.reynes@softathome.com>
Mon, 11 Apr 2022 12:42:29 +0000 (14:42 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 12 Apr 2022 09:50:39 +0000 (11:50 +0200)
commit17b4496a1819b8bf1b78683e49e3ade1f8941b3f
treeacc5068296a7260876c37d214795b72078a77e46
parentb956bc8662645b7cc6d43021ae33bd091c34d9e1
libfdisk: (gpt) write PMBR only when useful

The MBR is critical as it doesn't have a backup, so we only write it when it is
really useful (ie: the current MBR is different than the new one).

Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
libfdisk/src/gpt.c