summaryrefslogtreecommitdiffstats
path: root/fdisks/fdisk.c
diff options
context:
space:
mode:
Diffstat (limited to 'fdisks/fdisk.c')
-rw-r--r--fdisks/fdisk.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/fdisks/fdisk.c b/fdisks/fdisk.c
index ca49606a5..874f9d138 100644
--- a/fdisks/fdisk.c
+++ b/fdisks/fdisk.c
@@ -546,7 +546,11 @@ int main(int argc, char **argv)
if (!fdisk_dev_has_disklabel(cxt)) {
fdisk_info(cxt, _("Device does not contain a recognized partition table."));
fdisk_create_disklabel(cxt, NULL);
- }
+
+ } else if (fdisk_is_disklabel(cxt, GPT) && fdisk_gpt_is_hybrid(cxt))
+ fdisk_warnx(cxt, _(
+ "The hybrid GPT detected. You have to sync "
+ "the hybrid MBR manually (expert command 'M')."));
while (1)
process_fdisk_menu(&cxt);