[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#17108: [PATCH 1/4] libparted: Check AlternateLBA against LBA-1
From: |
Phillip Susi |
Subject: |
bug#17108: [PATCH 1/4] libparted: Check AlternateLBA against LBA-1 |
Date: |
Thu, 27 Mar 2014 20:04:28 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
On 03/27/2014 06:48 PM, Brian C. Lane wrote:
> Tried that (with my modified code) and it works fine. The header
> munge is changing the PE count to 9 from 128 and re-calculating the
> checksums.
>
> I went through the code -- when we rewrite the headers all the
> sizes and references are updated, in the pmbr and in both headers.
Ok, now I'm not seeing that odd 2g problem. Maybe before I was
running it on a 32 bit machine? Anyhow, the problem is that
gpt-header-munge shrinks the table but doesn't update LastUsableLba to
agree. It should do that, but I suppose we could put the two tests
together. If the backup is *either* at the last sector, *or* the
right location relative to LastUsableLba, then it's in the right place.
Following up with a patch to do this.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBCgAGBQJTNLyMAAoJEI5FoCIzSKrw7DAH/j8v8CxDVlRNGsOVYEs7v9hp
LfXsiKEvV/shIa89IOjOZCRYiBESNxNBoRqhlgujrlCKhlB0GCHTsZwdWxQy3nst
/goTdl4gFwKZ/oCZ44SGM9jNpy2eTpwodgPZOIejerRq0a+mzbc5g5PL7xdpreai
jZMKNWTHzxm6ruQt75Img8YyZO7rrxPyOljAB8L6PV2Rf7M4DE6hTkWzZ7sM1PFu
GpGAwHfk7jFBmGEPylg9uC78eP60/swp+aXeSHmOcnylT/ZaPQEkvi1nK2uEdWa0
r5wRkIu976djJ2QTAfgC81SdMJjf4ZFIu6kL6zLPxlAS7xkkgrD6pNEuk+A91VE=
=FfJR
-----END PGP SIGNATURE-----
- bug#17105: [PATCH 4/4] tests: Use msdos-overlap to setup t0283, (continued)
bug#17107: [PATCH 2/4] tests: Fix the t0281 test to respond to the backup GPT location question, Brian C. Lane, 2014/03/26
bug#17108: [PATCH 1/4] libparted: Check AlternateLBA against LBA-1, Brian C. Lane, 2014/03/26
- bug#17108: [PATCH 1/4] libparted: Check AlternateLBA against LBA-1, Phillip Susi, 2014/03/26
- bug#17108: [PATCH 1/4] libparted: Check AlternateLBA against LBA-1, Brian C. Lane, 2014/03/27
- bug#17108: [PATCH 1/4] libparted: Check AlternateLBA against LBA-1, Phillip Susi, 2014/03/27
- bug#17108: [PATCH 1/4] libparted: Check AlternateLBA against LBA-1, Brian C. Lane, 2014/03/27
- bug#17108: [PATCH 1/4] libparted: Check AlternateLBA against LBA-1,
Phillip Susi <=
- bug#17108: [PATCH] libparted: Check AlternateLBA against LBA-1, Phillip Susi, 2014/03/27
- bug#17108: [PATCH] libparted: Check AlternateLBA against LBA-1, Brian C. Lane, 2014/03/28
- bug#17108: [PATCH] libparted: Check AlternateLBA against LBA-1, Phillip Susi, 2014/03/28
bug#17108: [PATCH 1/4] libparted: Check AlternateLBA against LBA-1, Phillip Susi, 2014/03/27
bug#17108: [PATCH 1/4] libparted: Check AlternateLBA against LBA-1, Brian C. Lane, 2014/03/27
bug#17108: [PATCH 1/4] libparted: Check AlternateLBA against LBA-1, Phillip Susi, 2014/03/27