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

Boris Samorodov bsam at passap.ru
Thu Jun 28 11:06:02 UTC 2012


28.06.2012 13:41, Andrey V. Elsukov пишет:
> On 28.06.2012 13:19, Boris Samorodov wrote:
>> 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?
>
> Then this sector contains GPT table.

OK, then place GEOM sector before GPT table.

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve




More information about the freebsd-current mailing list