Re: [CFC/CFT] large changes in the loader(8) code

From: Boris Samorodov <bsam_at_passap.ru>
Date: Thu, 28 Jun 2012 13:19:54 +0400
27.06.2012 23:27, Andrey V. Elsukov пишет:

> 1. You are against from:
> Our loader detects that primary GPT header is damaged. It tries to read
> backup GPT header from the last LBA and it detects that there is
> "GEOM::" signature. It tries to read one previous sector and there is
> *valid*  GPT header.

Can we do the other way round? I.e. the GPT header is at the last 
sector. And if GEOM singature is not found at last sector of the disk
and this sector is a GPT header then look at the previous sector?

> It is valid, because it's CRC is valid, it's
> self_LBA is valid. For the*FreeBSD*  users it is better to don't use
> this GPT and just complain "i'm sorry, can't boot". The other OSes
> can't, and we shouldn't.

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
Received on Thu Jun 28 2012 - 07:20:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:28 UTC