From owner-cvs-src@FreeBSD.ORG Thu Aug 28 12:14:10 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E00816A4C0; Thu, 28 Aug 2003 12:14:10 -0700 (PDT) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A90E43FBD; Thu, 28 Aug 2003 12:14:08 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by canning.wemm.org (Postfix) with ESMTP id 65D172A7EA; Thu, 28 Aug 2003 12:14:08 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: "Poul-Henning Kamp" In-Reply-To: <20030828185445.1A96C2A7EA@canning.wemm.org> Date: Thu, 28 Aug 2003 12:14:08 -0700 From: Peter Wemm Message-Id: <20030828191408.65D172A7EA@canning.wemm.org> cc: Wes Peters cc: src-committers@FreeBSD.org cc: "Daniel C. Sobral" cc: cvs-all@FreeBSD.org cc: cvs-src@FreeBSD.org Subject: Re: cvs commit: src/sbin/bsdlabel bsdlabel.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2003 19:14:10 -0000 Peter Wemm wrote: > "Poul-Henning Kamp" wrote: > > In message <200308280815.12638.wes@softweyr.com>, Wes Peters writes: > > > > >If I understand this correctly, this is a nice little change. You're > > >trying to discourage people from just using the 'c' partition *as a > > >filesystem*, right? > > > > yes. > > I'd like to see this go further and have the magic 'c' partition go away. > eg: instead of using ad0c or ad0s1c, use ad0 or ad0s1 as the 'whole > partition'. Having ad0c and ad0 as pseudo aliases for each other is a > waste of a disklabel partition IMHO. Before this turns into another 'thread from hell', let me clarify that. I'm suggesting: 1) remove any remaining knowledge of the magic 'c' partition in utilities 2) remove any assumptions that the 'c' partition even exists 3) stop creating the 'c' partition on new disklabels This will not break existing disklabels and wont break existing systems that have the 'c' partition in use etc. I'm suggesting just completing the de-magicification of it. That is, assuming it isn't already done. eg: things like this: peter@overcee[12:12pm]/home/src/tools/regression/usr.bin/make-100# bsdlabel da0s1 # /dev/da0s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 262144 0 4.2BSD 1024 8192 16 b: 2097152 262144 swap c: 35840952 0 unused 0 0 # "raw" part, don't edit e: 4194304 2359296 4.2BSD 1024 8192 16 f: 409600 6553600 4.2BSD 1024 8192 16 g: 262144 6963200 4.2BSD 1024 8192 16 h: 28615608 7225344 4.2BSD 1024 8192 16 .. get rid of the "don't edit" part. Make it Just Another Partition. Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5