From owner-freebsd-questions@FreeBSD.ORG Fri Jan 28 23:49:14 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B25316A4CE for ; Fri, 28 Jan 2005 23:49:14 +0000 (GMT) Received: from weller-fahy.com (pD9FFF174.dip.t-dialin.net [217.255.241.116]) by mx1.FreeBSD.org (Postfix) with ESMTP id 353A043D49 for ; Fri, 28 Jan 2005 23:49:13 +0000 (GMT) (envelope-from dave-lists-freebsd-questions@weller-fahy.com) Received: (qmail 47808 invoked by uid 1001); 28 Jan 2005 23:49:11 -0000 Date: Sat, 29 Jan 2005 00:49:11 +0101 From: "David J. Weller-Fahy" To: freebsd-questions@freebsd.org Message-ID: <20050128234849.GF307@weller-fahy.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <20050128143546.GD307@weller-fahy.com> <200501281547.j0SFlju14517@clunix.cl.msu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200501281547.j0SFlju14517@clunix.cl.msu.edu> X-URL-Me: http://www.weller-fahy.com X-Accept-Language: en X-Location: Germany, Gangelt, Hof Grootfeld User-Agent: Mutt/1.5.6i Subject: Re: Adding a partition X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Jan 2005 23:49:14 -0000 * Jerry McAllister [2005-01-28 16:48 +0100]: > > a: 1048576 0 4.2BSD 2048 16384 8 > > b: 2097152 1048576 swap > > c: 156296322 0 unused 0 0 # "raw" part, don't edit > > d: 73400320 30408704 4.2BSD 2048 16384 28544 > > e: 2097152 3145728 4.2BSD 2048 16384 28552 > > f: 12582912 5242880 4.2BSD 2048 16384 28552 > > g: 12582912 17825792 4.2BSD 2048 16384 28552 > > > > To use up the unused space, I believe I need to add the following line: > > > > h: 52487298 103809024 4.2BSD 2048 16384 28552 > > That looks correct to me, though I wonder why you made a d: partition > out of order in there. Hrmmm... I was not aware that I had until I did the calculations, and the partitions come from a clean install of 5.3 RELEASE. Weird. > In FreeBSD 4.xx disklabel, you can just put a '*' in for the size and > it will make a partition of all remaining unpartitioned space. I don't > have a 5.xx bsdlabel handy, but would be surprised if it didn't offer > that feature. I think I'll stick with the calculated value, as I don't want to risk it with my server. But, if I get a chance I'll try the *. > You will need to be booted in such a way as nothing on that slice > is mounted to be able to write the new label, I believe. Ah! That's what I was missing. Thanks for the tip, I'll try it out tomorrow and let the list know how it goes. Regards, -- dave [ please don't CC me ]