From owner-freebsd-arch Sat Oct 26 5:57: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 D117837B401 for ; Sat, 26 Oct 2002 05:57:32 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 59A1843E42 for ; Sat, 26 Oct 2002 05:57:31 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id WAA08678; Sat, 26 Oct 2002 22:56:56 +1000 Date: Sat, 26 Oct 2002 23:08:09 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Mark Valentine Cc: Terry Lambert , Julian Elischer , Poul-Henning Kamp , "M. Warner Losh" , Subject: Re: cvs commit: src/lib/libdisk Makefile chunk.c write_alpha_disk.c write_i386_disk.c write_pc98_disk.c In-Reply-To: <200210260906.g9Q96CRx098771@dotar.thuvia.org> Message-ID: <20021026225635.C7892-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 On Sat, 26 Oct 2002, Mark Valentine wrote: > > From: Bruce Evans > 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?). It is consistent: the first slice with type 0xa5 is mapped to the compatibilty slice (except with GEOM of course). Extended partit^Wslice types are special. Otherwise, FreeBSD ignores the slice type as much as possible (sort of the opposite of what you say QNX does and you seem to want). Any type of slice may be labeled. Partitions of type 0xA5 may be left unlabeled, but this is warned about. > > > 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?). FreeBSD ignores the active partition flag. The numbers of slices only change if something moves the slice entries or if you use slices above the fourth (in extended partit^Wslices) and delete one in the middle. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message