Re: [PATCH] Fail to boot if mediacheck fails (#817419)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/10/2012 02:24 AM, Harald Hoyer wrote:
> Am 09.05.2012 20:15, schrieb Brian C. Lane:

>> The return value of checkisomd5 was being ignored.

>> -    checkisomd5 --verbose $livedev || :
>> +    checkisomd5 --verbose $livedev

> So, it was wrong from the beginning on... rofl..

And the "fix" is still not the best.  There should be an _option_
to "perform the check, but ignore the result".  The user may want
to try booting anyway.  implantisomd5 generates separate checksums
for 20 separate areas.  If checkisomd5 indicates that exactly one
area is bad, and it is number 19 of 20 [from the beginning],
then continuing to boot may be a very reasonable choice.

-- 
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux