Messages in this thread | | | Subject | Re: [PATCH] partitions/efi: complete gpt kernel param purpose | From | Davidlohr Bueso <> | Date | Thu, 05 Dec 2013 06:52:11 -0800 |
| |
On Thu, 2013-12-05 at 12:21 +0100, Karel Zak wrote: > On Wed, Dec 04, 2013 at 03:16:02PM -0800, Davidlohr Bueso wrote: > > From: Davidlohr Bueso <davidlohr@hp.com> > > > > The usage of the 'gpt' kernel parameter is twofold: > > (i) skip any mbr integrity checks and (ii) enable the > > backup GPT header to be used in situations where the > > primary one is corrupted. This last "feature" is not > > obvious and needs to be properly documented in the > > kernel-parameters document. > > The question is if we really have to force users to specify "gpt" > kernel parameter to use the backup GPT header. Maybe it would be > enough to report the problem (print warning) and use the valid backup > header. IMHO the current behaviour is overkill.
Well yes, however, the rationale behind having to use 'gpt' is to protect against devices which misreport their size, and forces the user to decide to use the alternate GPT when they still have a valid primary header. This has been the policy for years.
Thanks, Davidlohr
| |