From owner-freebsd-arch Sat Oct 26 2: 6:34 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A3D4D37B401 for ; Sat, 26 Oct 2002 02:06:32 -0700 (PDT) Received: from thuvia.demon.co.uk (thuvia.demon.co.uk [193.237.34.248]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2179F43E65 for ; Sat, 26 Oct 2002 02:06:31 -0700 (PDT) (envelope-from mark@thuvia.demon.co.uk) Received: from dotar.thuvia.org (dotar.thuvia.org [10.0.0.4]) by phaidor.thuvia.org (8.12.3/8.12.3) with ESMTP id g9Q96FcF053049; Sat, 26 Oct 2002 10:06:15 +0100 (BST) (envelope-from mark@thuvia.demon.co.uk) Received: from dotar.thuvia.org (localhost [IPv6:::1]) by dotar.thuvia.org (8.12.6/8.12.6) with ESMTP id g9Q96FH5098772; Sat, 26 Oct 2002 10:06:15 +0100 (BST) (envelope-from mark@dotar.thuvia.org) Received: (from mark@localhost) by dotar.thuvia.org (8.12.6/8.12.6/Submit) id g9Q96CRx098771; Sat, 26 Oct 2002 10:06:12 +0100 (BST) Date: Sat, 26 Oct 2002 10:06:12 +0100 (BST) From: Mark Valentine Message-Id: <200210260906.g9Q96CRx098771@dotar.thuvia.org> In-Reply-To: <20021026095818.B5924-100000@gamplex.bde.org> X-Mailer: Mail User's Shell (7.2.6 beta(5) 10/07/98) To: Bruce Evans , Terry Lambert Subject: Re: cvs commit: src/lib/libdisk Makefile chunk.c write_alpha_disk.c write_i386_disk.c write_pc98_disk.c Cc: Julian Elischer , Poul-Henning Kamp , "M. Warner Losh" , Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > From: Bruce Evans > Date: Sat 26 Oct, 2002 > Subject: Re: cvs commit: src/lib/libdisk Makefile chunk.c write_alpha_disk.c write_i386_disk.c write_pc98_disk.c > > > Because DOS doesn't refer to its partition by its index in the MBR partition > > > table, and apparently some tools therefore feel free to reorder the table on > > > a whim. > > This is a bug in the tools, so they belong in the same bin as BIOSes that > interpret the MBR. That's reassuring to know... (The behaviour seems evil to me, but I haven't seen anything so far which explicitly forbids it, and of course It Happens.) I'm less inclined to worry about workarounds for buggy tools, but I still feel there's a flaw here. By the way, FreeBSD doesn't seem to be consistent about which partition it uses, but I've never tried to figure out when it uses partition 1 and when it uses partition 4, though I've seen both occur on disks with only FreeBSD (is it DD mode that makes the difference?). > > OK, say we buy this. > > > > How does the DOS algorithm distiguisch between partitions, if not by > > the order in the table? > > Not. IIRC, it doesn't permit multiple primary DOS partitions, but logical > drives just move around if you add one in the middle. Indeed, you lose if you try to use this with multiple 0xA5 partitions without making one and only one of them "active" (or does that even make a difference?). That's DOS-compatible. Cheers, Mark. -- Mark Valentine, Thuvia Labs "Tigers will do ANYTHING for a tuna fish sandwich." Mark Valentine uses "We're kind of stupid that way." *munch* *munch* and endorses FreeBSD -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message