From owner-freebsd-current@FreeBSD.ORG Sat Oct 8 08:57:01 2011 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A8D98106566B; Sat, 8 Oct 2011 08:57:01 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [IPv6:2a01:4f8:131:60a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id 3E4A98FC0C; Sat, 8 Oct 2011 08:57:01 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:b9fd:2f11:cd06:1a6]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id 731194AC2D; Sat, 8 Oct 2011 12:55:56 +0400 (MSD) Date: Sat, 8 Oct 2011 12:55:43 +0400 From: Lev Serebryakov Organization: FreeBSD Project X-Priority: 3 (Normal) Message-ID: <1993293883.20111008125543@serebryakov.spb.ru> To: Daniel Kalchev 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> <4E8CD662.90202@quip.cz> <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> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@FreeBSD.org, perryh@pluto.rain.com, ivoras@FreeBSD.org, freebsd-geom@FreeBSD.org Subject: Re: RFC: Project geom-events X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lev@FreeBSD.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Oct 2011 08:57:01 -0000 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