From owner-freebsd-arch Fri Oct 25 13: 0:20 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 C002037B401 for ; Fri, 25 Oct 2002 13:00:17 -0700 (PDT) Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F8C743E8A for ; Fri, 25 Oct 2002 13:00:17 -0700 (PDT) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20021025200016.JKJL17494.rwcrmhc51.attbi.com@InterJet.elischer.org>; Fri, 25 Oct 2002 20:00:16 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id MAA07534; Fri, 25 Oct 2002 12:46:26 -0700 (PDT) Date: Fri, 25 Oct 2002 12:46:24 -0700 (PDT) From: Julian Elischer To: Mark Valentine Cc: Poul-Henning Kamp , "M. Warner Losh" , freebsd-arch@freebsd.org 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: <200210251909.g9PJ9d4F078508@dotar.thuvia.org> Message-ID: 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 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. Very few systems have ad0a in /etc/fstab as we specifically have been telling people to not do that for ages.. > > > If someone doesn't know > > what ad0s1a means yet then they haven't been paying attention. > > It doesn't mean what most people would want it to mean, i.e. their FreeBSD > root partition, according to the conventions for the PC platform. 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) > > > To address some of your concerns > > We COULD have a /dev/ad0sBa that always reflects the first BSD slice > > "a" partition. that would give the characteristics you have asked for.. > > and still abides by the naming convention.. (devfs could make a symlink > > or something..) but ad0a is already taken.. > > Hmm. How about if you use a different name space for the new naming > scheme, and we can use the old names to symlink, e.g. da0a -> 0sBa? > > In actual fact I'm less fussy about using /dev/da0a forever than I am > at having _some_ /dev/0a do the right thing (which is not > /dev/0s1a). the simplest you're likely to get is ad0s1a if you don't know where your root is you are in trouble. One scheme I played with was: /dev/ad0/whole /dev/ad0/s1 /dev/ad0/s1/a /dev/ad0/bsd0 --> s1 /dev/ad0/s1/whole /dev/ad0/s2 /dev/ad0/s2/whole /dev/ad0/s3 /dev/ad0/s3/whole /dev/ad0/s4 /dev/ad0/s4/whole so that /dev/ad0/bsd0/a would always be the root but I don't know if the new devfs can do that.. This had a lot of advantages but blew POLA right out the window :-) > > 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