From owner-freebsd-questions@FreeBSD.ORG Wed May 31 21:09:30 2006 Return-Path: X-Original-To: questions@freebsd.org 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 3A59016AD40 for ; Wed, 31 May 2006 21:09:30 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id A26C943D49 for ; Wed, 31 May 2006 21:09:29 +0000 (GMT) (envelope-from roberthuff@rcn.com) Received: from 209-6-203-77.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.203.77]) by smtp01.lnh.mail.rcn.net with ESMTP; 31 May 2006 17:10:42 -0400 X-IronPort-AV: i="4.05,194,1146456000"; d="scan'208"; a="214198691:sNHT6136445926" From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17534.1452.443218.271412@jerusalem.litteratus.org> Date: Wed, 31 May 2006 17:07:56 -0400 To: questions@freebsd.org In-Reply-To: <200605312042.k4VKgOSU008664@clunix.cl.msu.edu> References: <17533.61128.28295.514215@jerusalem.litteratus.org> <200605312042.k4VKgOSU008664@clunix.cl.msu.edu> X-Mailer: VM 7.17 under 21.5 (beta27) "fiddleheads" XEmacs Lucid Cc: Subject: Re: using bsdlabel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 May 2006 21:09:34 -0000 Jerry McAllister writes: > The only thing you aren't doing in either of these cases is making > that da0s1a bootable. If you want that, you need to do: That's because it already is, and I do _not_ want to change that. It's a 4.5 G disk. When I installed the system, I spent 0.5 G on /, 1 G for swap, another for /var ... and left the rest untouched. I now have a project that can use that space. > If I am doing it by hand, I would prefer using direct edit as in: > (NOTE, you apparently already have some usable label on the disk) > > >> bsdlabel -e -r da0s1 > > This will bring up an edit session (vi unless you have your editor > set to something else - I use vi) > as follows. > > > # /dev/da0s1: > > 8 partitions: > > # size offset fstype [fsize bsize bps/cpg] > > a: 1024000 0 4.2BSD 0 0 0 > > b: 2097152 * swap > > c: * 0 unused 0 0 # "raw" part, don't edit > > d: 2097152 * 4.2BSD 0 0 0 > > e: * * 4.2BSD 0 0 0 So (using the file method) I can specify the start, use '*' for the size, and it will compute the correct value for "rest of the slice"? Robert Huff