Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Oct 2011 12:55:43 +0400
From:      Lev Serebryakov <lev@FreeBSD.org>
To:        Daniel Kalchev <daniel@digsys.bg>
Cc:        freebsd-current@FreeBSD.org, perryh@pluto.rain.com, ivoras@FreeBSD.org, freebsd-geom@FreeBSD.org
Subject:   Re: RFC: Project geom-events
Message-ID:  <1993293883.20111008125543@serebryakov.spb.ru>
In-Reply-To: <4E8F5D82.7050906@digsys.bg>
References:  <1927112464.20111004220507@serebryakov.spb.ru> <4E8B7A27.5070908@quip.cz> <344794801.20111005101957@serebryakov.spb.ru> <4E8C1426.60107@quip.cz> <251861322.20111005125825@serebryakov.spb.ru> <4E8C6E85.90005@quip.cz> <CACdU%2Bf8mA1wLUnHVyrJwaf89ahf2oc_904=8mme7kkBLxLSCCQ@mail.gmail.com> <4E8CD662.90202@quip.cz> <j6k252$hpm$1@dough.gmane.org> <4E8D9136.6040200@digsys.bg> <672948039.20111006175334@serebryakov.spb.ru> <4e8f076e.XGNH7dUgsC/mhr1j%perryh@pluto.rain.com> <1822982078.20111007234412@serebryakov.spb.ru> <4E8F5D82.7050906@digsys.bg>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello, Daniel.
You wrote 8 =EE=EA=F2=FF=E1=F0=FF 2011 =E3., 0:13:54:

>>>>    GPT (and MBR) metadata placement is dictated from outside world,
>>>> where is no GEOM and geom_label. They INTENDED to be used on DISKS.
>>>> BIOSes should be able to find it :)
>>> Certainly GPT and MBR must place an instance of the partition table
>>> where the BIOS expects it, but there's no immediately obvious reason
>>> why they must regard that instance as their GEOM metadata.  GPT puts
>>> a second copy in the provider's last block, and AFAICT it could just
>>> as well use _that_ instance -- or even a differently-formatted block
>>> that included the same data -- as the primary.  MBR could do likewise.
>>    I have deja-vu, that I answered this. Please, read standard. GPT
>>   _must_ be placed twice -- at first and last sectors (really, more
>>   than one sectors). By standard. Secondary copy must be at end of
>>   disk. Period.
> Then, "by standard" GPT cannot coexist with GLABEL. Such setup should be
> disallowed, or at least big nasty message that you have just shoot=20
> yourself in the leg should be output. (period)
  Ok, maybe adding check to geom_part, that it is used on rank-1
 provider (whole disk) is not so bad idea. But it then raise question
 how to install FreeBSD on software mirror, what is useful. But could
 bite you sometimes... Hm...

--=20
// Black Lion AKA Lev Serebryakov <lev@FreeBSD.org>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1993293883.20111008125543>