From owner-freebsd-arch Sat Oct 26 6:53:58 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 3940937B401 for ; Sat, 26 Oct 2002 06:53:57 -0700 (PDT) Received: from thuvia.demon.co.uk (thuvia.demon.co.uk [193.237.34.248]) by mx1.FreeBSD.org (Postfix) with ESMTP id A627243E6E for ; Sat, 26 Oct 2002 06:53:55 -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 g9QDqUcF053521; Sat, 26 Oct 2002 14:52:30 +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 g9QDqTH5005262; Sat, 26 Oct 2002 14:52:29 +0100 (BST) (envelope-from mark@dotar.thuvia.org) Received: (from mark@localhost) by dotar.thuvia.org (8.12.6/8.12.6/Submit) id g9QDqT4V005261; Sat, 26 Oct 2002 14:52:29 +0100 (BST) Date: Sat, 26 Oct 2002 14:52:29 +0100 (BST) From: Mark Valentine Message-Id: <200210261352.g9QDqT4V005261@dotar.thuvia.org> In-Reply-To: <20021026225635.C7892-100000@gamplex.bde.org> X-Mailer: Mail User's Shell (7.2.6 beta(5) 10/07/98) To: Bruce Evans Subject: Re: cvs commit: src/lib/libdisk Makefile chunk.c write_alpha_disk.c write_i386_disk.c write_pc98_disk.c Cc: Terry Lambert , 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 > On Sat, 26 Oct 2002, Mark Valentine wrote: > > 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). Sorry, I wasn't talking about the compat slice stuff here, but which slice FreeBSD uses when you initialize a disk. Sysinstall will obviously use partition 1 when installing to the whole disk. In fact what I'm seeing is the "fake" partition table reported for my DD disks, which uses partition 4 for some reason. So if I were to replace my root disk with one which wasn't DD (and if I were using GEOM), I'd likely have to fix up my fstab after restoring the root file system; this seems gratuitous. I'm still a little unclear about the claims that, with GEOM, you can still use /dev/da0c etc. for DD disks (I'm thinking removable media such as Jaz disks here). How does the fake MBR partition table affect this? > FreeBSD ignores the active partition flag. OK. Would it do more harm than good to use this as a hint when locating the compatibility slice? 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