From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 27 17:55:37 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BCBB11065676; Wed, 27 Jun 2012 17:55:37 +0000 (UTC) (envelope-from marcel@xcllnt.net) Received: from mail.xcllnt.net (mail.xcllnt.net [70.36.220.4]) by mx1.freebsd.org (Postfix) with ESMTP id 8C7748FC1C; Wed, 27 Jun 2012 17:55:37 +0000 (UTC) Received: from sa-nc-common3-173.static.jnpr.net (natint3.juniper.net [66.129.224.36]) (authenticated bits=0) by mail.xcllnt.net (8.14.5/8.14.5) with ESMTP id q5RHtOiC011786 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 27 Jun 2012 10:55:32 -0700 (PDT) (envelope-from marcel@xcllnt.net) Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=us-ascii From: Marcel Moolenaar In-Reply-To: <4FEA910C.4090305@yandex.ru> Date: Wed, 27 Jun 2012 10:55:19 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <7E41D945-F6FA-48D5-ADDC-4884A7C7C0F8@xcllnt.net> References: <4FE9B01C.30306@yandex.ru> <201206261337.11741.jhb@freebsd.org> <4FEA910C.4090305@yandex.ru> To: "Andrey V. Elsukov" X-Mailer: Apple Mail (2.1278) Cc: Doug Rabson , Marcel Moolenaar , Pawel Jakub Dawidek , freebsd-hackers , Andriy Gapon , freebsd-current Subject: Re: [CFC/CFT] large changes in the loader(8) code X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2012 17:55:37 -0000 On Jun 26, 2012, at 9:50 PM, Andrey V. Elsukov wrote: > If the primary GPT is corrupt, software must check the last LBA of the = device to see if it has a > valid GPT Header and point to a valid GPT Partition Entry Array." >=20 > For the FreeBSD an each GEOM provider can be treated as disk device. > So, i don't see anything criminal if we will add some quirks in the = our loader > for the better supporting of our technologies. You can't just re-interpret standards to match a context you know very = well isn't applicable and consequently redefine what the word "device" means. You're on a slippery slope and while you may not see it as a problem, = you do make it a problem for FreeBSD users. It's our users we should be = keeping in mind when we solve problems. > If a user wants modify GPT in the disk editor from the another OS, > he can do it, and it should work. The result depends only from the = partition editor, > it might overwrite the last sector and might don't. Right. Another happy user that sees his/her FreeBSD installation = destroyed or degraded (no mirroring, warning messages about corrupted GPT, etc) = for no apparent reason and without any kind of warning that what he/she is = doing is potentially harmful... That's the spirit! --=20 Marcel Moolenaar marcel@xcllnt.net