commit | 76df07370118bb7420407b2a084972aeee2c1e5d | [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 | 1f863058c6fd3408d5fea0f6221ce80b10c82e94 [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>