From owner-cvs-src@FreeBSD.ORG Sun Aug 14 22:46:50 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 C6A4B16A41F; Sun, 14 Aug 2005 22:46:50 +0000 (GMT) (envelope-from iedowse@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8194643D45; Sun, 14 Aug 2005 22:46:50 +0000 (GMT) (envelope-from iedowse@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j7EMkolK091289; Sun, 14 Aug 2005 22:46:50 GMT (envelope-from iedowse@repoman.freebsd.org) Received: (from iedowse@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j7EMkogU091288; Sun, 14 Aug 2005 22:46:50 GMT (envelope-from iedowse) Message-Id: <200508142246.j7EMkogU091288@repoman.freebsd.org> From: Ian Dowse Date: Sun, 14 Aug 2005 22:46:50 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: 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: Sun, 14 Aug 2005 22:46:50 -0000 iedowse 2005-08-14 22:46:50 UTC FreeBSD src repository Modified files: sbin/bsdlabel bsdlabel.c 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. 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). Revision Changes Path 1.111 +62 -5 src/sbin/bsdlabel/bsdlabel.c