Addresses: https://github.com/karelzak/util-linux/issues/699
Signed-off-by: Karel Zak <kzak@redhat.com>
may be used instead of the partition numbers to switch off the bootable flag
on all partitions.
+The activation command is supported for MBR and PMBR only. If GPT label is detected
+than sfdisk prints warning and automatically enter PMBR.
+
If no \fIpartition-number\fR is specified, then list the partitions with an
enabled flag.
.TP
sf->cxt = fdisk_new_nested_context(sf->cxt, "dos");
if (!sf->cxt)
err(EXIT_FAILURE, _("cannot switch to PMBR"));
+ fdisk_info(sf->cxt, _("Activation is unsupported for GPT -- entering nested PMBR."));
+
} else if (!fdisk_is_label(sf->cxt, DOS))
errx(EXIT_FAILURE, _("toggle boot flags is supported for MBR or PMBR only"));