Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jun 2012 10:55:19 -0700
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        "Andrey V. Elsukov" <bu7cher@yandex.ru>
Cc:        Doug Rabson <dfr@freebsd.org>, Marcel Moolenaar <marcel@freebsd.org>, Pawel Jakub Dawidek <pjd@freebsd.org>, freebsd-hackers <freebsd-hackers@freebsd.org>, Andriy Gapon <avg@freebsd.org>, freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: [CFC/CFT] large changes in the loader(8) code
Message-ID:  <7E41D945-F6FA-48D5-ADDC-4884A7C7C0F8@xcllnt.net>
In-Reply-To: <4FEA910C.4090305@yandex.ru>
References:  <4FE9B01C.30306@yandex.ru> <201206261337.11741.jhb@freebsd.org> <4FEA910C.4090305@yandex.ru>

index | next in thread | previous in thread | raw e-mail


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."
> 
> 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!

-- 
Marcel Moolenaar
marcel@xcllnt.net




help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7E41D945-F6FA-48D5-ADDC-4884A7C7C0F8>