commit | d46933839f98d8cdb34fc87299b5f2a4ec4bbfec | [log] [tgz] |
---|---|---|
author | Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> | Mon Mar 08 16:07:11 2021 +0000 |
committer | Tom Rini <trini@konsulko.com> | Mon Apr 12 17:17:11 2021 -0400 |
tree | a5b50124886981da1c9a84b143945c0b1f4cb75e | |
parent | b935d190662306b4174a8f7e3dbd6194c5f55ecb [diff] |
disk: gpt: verify alternate LBA points to last usable LBA The gpt command require the GPT backup header at the standard location at the end of the device. Check the alternate LBA value before reading the GPT backup header from the last usable LBA of the device. Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>