From owner-freebsd-arch Fri Oct 25 14:12:26 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 CE23A37B401 for ; Fri, 25 Oct 2002 14:12:24 -0700 (PDT) Received: from thuvia.demon.co.uk (thuvia.demon.co.uk [193.237.34.248]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C95D43E42 for ; Fri, 25 Oct 2002 14:12:23 -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 g9PLAtcF051110; Fri, 25 Oct 2002 22:10:55 +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 g9PLAsH5081666; Fri, 25 Oct 2002 22:10:54 +0100 (BST) (envelope-from mark@dotar.thuvia.org) Received: (from mark@localhost) by dotar.thuvia.org (8.12.6/8.12.6/Submit) id g9PLAsxP081665; Fri, 25 Oct 2002 22:10:54 +0100 (BST) Date: Fri, 25 Oct 2002 22:10:54 +0100 (BST) From: Mark Valentine Message-Id: <200210252110.g9PLAsxP081665@dotar.thuvia.org> In-Reply-To: X-Mailer: Mail User's Shell (7.2.6 beta(5) 10/07/98) To: Julian Elischer Subject: Re: cvs commit: src/lib/libdisk Makefile chunk.c write_alpha_disk.c write_i386_disk.c write_pc98_disk.c Cc: Poul-Henning Kamp , "M. Warner Losh" , freebsd-arch@freebsd.org 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: Julian Elischer > Date: Fri 25 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 Fri, 25 Oct 2002, Mark Valentine wrote: > > The GEOM naming scheme therefore removes my ability to specify the partition > > in the most natural way for this platform. > > I dispute that. > The install code has been using ad0s1a for about 5 years I think. That doesn't make it correct. I fix it when it bites me. > Very few systems have ad0a in /etc/fstab as we specifically have been > telling people to not do that for ages.. My fstab is the way it is because otherwise I have problems, due to a mismatch between the way FreeBSD sees the MBR partition table and the way the rest of the world does. There is currently a mechanism for making FreeBSD play ball better with the systems it shares a disk with. GEOM in its current state removes this mechanism, with no replacement. > Most systems other than BSD and Linux only ever see their own > partitions. We are trying to set things up so we can > read anything anywhere any time. > > Anyway I had a machine where the -current root partition was ad1s4e. > How does the old scheme help me? ad1s3 was also a BSD slice (FBSD3.x) You're simply describing the obscure usage I mentioned earlier. Modulo the 8 partition limit, there's nothing here a single disklabel can't do; in fact that's all we have on most BSD platforms. > if you don't know where your root is you are in trouble. I know where my root is - it's BSD partition 'a' on the MBR partition of type 0xa5. There is no guarantee as to which partition table entry might refer to that partition at any given time. That is not my choice, it's based on the assumptions made by DOS (which originally implemented the MBR partition table). All I need is a way to tell the system where it is so that my FreeBSD systems will continue to boot. 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