GNU bug report logs - #15346
[PATCH 01/19] libparted: copy pmbr_boot when duplicating GPT disk

Previous Next

Package: parted;

Reported by: "Brian C. Lane" <bcl <at> redhat.com>

Date: Wed, 11 Sep 2013 20:15:04 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 15346 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-parted <at> gnu.org:
bug#15346; Package parted. (Wed, 11 Sep 2013 20:15:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Brian C. Lane" <bcl <at> redhat.com>:
New bug report received and forwarded. Copy sent to bug-parted <at> gnu.org. (Wed, 11 Sep 2013 20:15:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Brian C. Lane" <bcl <at> redhat.com>
To: bug-parted <at> gnu.org
Subject: [PATCH 01/19] libparted: copy pmbr_boot when duplicating GPT disk
Date: Wed, 11 Sep 2013 12:24:51 -0700
From: "Brian C. Lane" <bcl <at> redhat.com>

* 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





This bug report was last modified 11 years and 283 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.