From owner-cvs-src@FreeBSD.ORG Thu Aug 18 14:56:49 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org 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 14F8A16A41F; Thu, 18 Aug 2005 14:56:49 +0000 (GMT) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 966D243D46; Thu, 18 Aug 2005 14:56:48 +0000 (GMT) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id D80E361E5; Thu, 18 Aug 2005 16:56:28 +0200 (CEST) Received: from xps.des.no (des.no [80.203.228.37]) by tim.des.no (Postfix) with ESMTP id C1DA861E2; Thu, 18 Aug 2005 16:56:28 +0200 (CEST) Received: by xps.des.no (Postfix, from userid 1001) id 557F933D38; Thu, 18 Aug 2005 16:56:40 +0200 (CEST) To: Ian Dowse References: <200508142246.j7EMkogU091288@repoman.freebsd.org> From: des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) Date: Thu, 18 Aug 2005 16:56:40 +0200 In-Reply-To: <200508142246.j7EMkogU091288@repoman.freebsd.org> (Ian Dowse's message of "Sun, 14 Aug 2005 22:46:50 +0000 (UTC)") Message-ID: <864q9ncmzb.fsf@xps.des.no> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Tests: ALL_TRUSTED,AWL,BAYES_00 X-Spam-Learn: ham X-Spam-Score: -5.2/5.0 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on tim.des.no Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/bsdlabel bsdlabel.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 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, 18 Aug 2005 14:56:49 -0000 Ian Dowse writes: > Log: > Attempt to improve the logic for automatically sizing partitions > to take into account the new default of starting the first partition > after the boot blocks instead of at sector 0. If you used automatic > sizing when the first partition did not start at 0, you would get > an error that the automatically sized partition extended beyond the > end of the disk. >=20=20=20 > Note that there are probably still many more complex cases where > automatic sizing and placement will not work (e.g. non-contiguous > or out of order partitions). I've tried to do this on and off without really getting anywhere. I believe the correct solution is to keep a list of slices ordered by starting offset, and interpret '*' as "until the start of the next partition, or the end of the device if there is no next partition" DES --=20 Dag-Erling Sm=F8rgrav - des@des.no