[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#15346: [PATCH 01/19] libparted: copy pmbr_boot when duplicating GPT
From: |
Brian C. Lane |
Subject: |
bug#15346: [PATCH 01/19] libparted: copy pmbr_boot when duplicating GPT disk |
Date: |
Wed, 11 Sep 2013 12:24:51 -0700 |
From: "Brian C. Lane" <address@hidden>
* libparted/labels/gpt.c (gpt_duplicate): copy pmbr_boot flag
---
libparted/labels/gpt.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libparted/labels/gpt.c b/libparted/labels/gpt.c
index 490de70..25490af 100644
--- a/libparted/labels/gpt.c
+++ b/libparted/labels/gpt.c
@@ -556,6 +556,7 @@ gpt_duplicate (const PedDisk *disk)
old_disk_data->data_area.length);
new_disk_data->entry_count = old_disk_data->entry_count;
new_disk_data->uuid = old_disk_data->uuid;
+ new_disk_data->pmbr_boot = old_disk_data->pmbr_boot;
return new_disk;
}
--
1.8.3.1
- bug#15356: [PATCH 00/19] Fedora parted patches, Brian C. Lane, 2013/09/11
- bug#15349: [PATCH 10/19] libparted: mklabel to support EDEV DASD, Brian C. Lane, 2013/09/11
- bug#15353: [PATCH 12/19] tests: rewrite t6001 to use /dev/mapper, Brian C. Lane, 2013/09/11
- bug#15351: [PATCH 09/19] libparted: Avoid dasd as default disk type while probe, Brian C. Lane, 2013/09/11
- bug#15352: [PATCH 04/19] libparted: preserve the uuid on dm partitions (#832145), Brian C. Lane, 2013/09/11