lkml.org 
[lkml]   [2016]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] block: partitions: efi: Always check for alternative GPT at end of drive
On Tue, 26 Apr 2016, Austin S. Hemmelgarn wrote:

>At the absolute minimum, we should be logging (at least at a warning
>level) that we had to fall back the the backup GPT. If somebody is
>dealing with a disk that had a torn write to the primary GPT, that's
>one thing, but this could also be caused by any number of other
>problems (hardware issues, malicious intent, etc), and we need to log
>that we detected corrupted data.

We already complain about corrupted primary gpt (at a warn level), and
there's also plenty of verbosity about differences between primary and
backup (see compare_gpts()), or are you referring to something else?

Thanks,
Davidlohr

\
 
 \ /
  Last update: 2016-04-26 20:41    [W:0.114 / U:0.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site