OSDN Git Service

gpt: preserve first 446 bytes of the PMBR (protective MBR)
authorJoel Granados Moreno <jgranado@redhat.com>
Wed, 3 Jun 2009 18:36:55 +0000 (20:36 +0200)
committerJim Meyering <meyering@redhat.com>
Wed, 17 Jun 2009 11:55:43 +0000 (13:55 +0200)
commit14a1589194dc0adcebb6cca2ab2c2a87e1d26b38
tree193e72dbc165928200a9ae952a92a81b59ffe00c
parent0f9559513a2dee588263a4b78c3b08a24cc69529
gpt: preserve first 446 bytes of the PMBR (protective MBR)

* libparted/label/gpt.c (_write_pmbr): Make sure we read and preserve
the first 446 bytes of the device when we are creating the PMBR.
libparted/labels/gpt.c