From owner-freebsd-current@FreeBSD.ORG Tue Dec 22 12:42:27 2009 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 3B79D106566B for ; Tue, 22 Dec 2009 12:42:27 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id EF3948FC1E for ; Tue, 22 Dec 2009 12:42:26 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id EE34E1FFC1E; Tue, 22 Dec 2009 12:42:25 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id A8A5384513; Tue, 22 Dec 2009 13:42:25 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Thomas Backman References: <200912210600.46044.mel.flynn+fbsd.current@mailing.thruhere.net> <20091221150514.GB75616@roberto-al.eurocontrol.fr> <4B2F9877.70201@jrv.org> <867hsf6xhh.fsf@ds4.des.no> <45929E18-EA48-4340-9954-683FF06B180B@exscape.org> Date: Tue, 22 Dec 2009 13:42:25 +0100 In-Reply-To: <45929E18-EA48-4340-9954-683FF06B180B@exscape.org> (Thomas Backman's message of "Tue, 22 Dec 2009 13:22:21 +0100") Message-ID: <86r5qn5gem.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.95 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Ollivier Robert , freebsd-current@freebsd.org, "James R. Van Artsdalen" Subject: Re: Some notes on RootOnZFS article in wiki X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Dec 2009 12:42:27 -0000 Thomas Backman writes: > The fact that some BIOSes do read it and freeze is obviously a bug, > further strengthening his argument that the BIOS shouldn't care about > the partition table. Reading it is a feature. Freezing may or may not be a bug. In that particular case, the problem arose because a) the BIOS's partition type check was sloppy (IIRC, it only checked the lower nybble) and b) it apparently didn't check that the partition it found really was a valid suspend-to-disk partition. Both of these are arguably poor design and / or sloppy implementation, but they are not bugs. The BIOS performed just like its authors expected under the circumstances they had expected; they just hadn't anticipated the circumstances under which their code failed. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no