From owner-freebsd-questions@FreeBSD.ORG Sun Apr 22 06:03:27 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 69ED416A402 for ; Sun, 22 Apr 2007 06:03:27 +0000 (UTC) (envelope-from xrayv19@yahoo.com) Received: from web58110.mail.re3.yahoo.com (web58110.mail.re3.yahoo.com [68.142.236.133]) by mx1.freebsd.org (Postfix) with SMTP id 1453313C45B for ; Sun, 22 Apr 2007 06:03:26 +0000 (UTC) (envelope-from xrayv19@yahoo.com) Received: (qmail 15598 invoked by uid 60001); 22 Apr 2007 06:03:26 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=bdL5V39BkuesG6Wbv8Essoh+lefxE/FsivwumWOUgIJeMrlEbUx9RaJ7mGF1ULGzG2oaOSOTBiT5Td/pIvSwqz85donE2vjLu/0WjOjc6oDLgDrshnAhl68m6ngqK0WGO1i42AzgKiyXDQuLoBcLU6s5DPelqjyaPJ9L5UyBw+w=; X-YMail-OSG: x_whhfgVM1nptwqjlKsVj1..uM.htCesmPY09Sek7zo5_M_fDrL_Qh2rxJ4ObBXZHVkOoH6f_ZX9pAVp_dRBUtyDi1gOg17qEB.Yv2KEEd502nbVZt1T5i4OgEhpTegL Received: from [131.191.24.2] by web58110.mail.re3.yahoo.com via HTTP; Sat, 21 Apr 2007 23:03:26 PDT Date: Sat, 21 Apr 2007 23:03:26 -0700 (PDT) From: L Goodwin To: "illoai@gmail.com" In-Reply-To: MIME-Version: 1.0 Message-ID: <463388.15571.qm@web58110.mail.re3.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: bsdlabel editing to create a single partition 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: Sun, 22 Apr 2007 06:03:27 -0000 Got it, thanks! "illoai@gmail.com" wrote: On 21/04/07, L Goodwin wrote: > I want to dedicate the entire disk to a single FreeBSD partition ("da1s1a"), and > am a little confused about editing partitions via "bsdlabel -e ". > > Prior to editing, it looks like this: > ---------------------------------------------------------------------------------------- > # /dev/da1s1: > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > a: 17908300 16 unused 0 0 > c: 17908316 0 unused 0 0 # "raw" part, don't edit > ---------------------------------------------------------------------------------------- > > I gather that I should change the following field values for "c:": > fstype: 4.2BSD > fsize: 2048 > bsize: 16384 > > Questions: > 1) Do I change the "size" value for "a:" or leave at current size? NO > 2) Do I leave the "c:" line alone (in place) and if YES does > its "size" and "offset" values need to be edited? Leave it alone. > > If someone could show me what it should look like when done, I'd appreciate it. > > When I leave the "c:" entry in place, I get /dev/da1s1a and /dev/da1s1c in /dev/. > Should I delete the "c:" entry? Here's what I have now: > ---------------------------------------------------------------------------------------- > # /dev/da1s1: > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > a: 17908300 16 4.2BSD 2048 16384 > c: 17908316 0 unused 0 0 # "raw" part, don't edit > ---------------------------------------------------------------------------------------- > Don't edit the bsdlabel at all, just: # newfs -U /dev/da1s1a and it will automatically fill out the fsize, bsize, and bps/cpg fields. You can then add a line to fstab, mount it, fill it with text files containing the word "corn" ever and over. c: should nearly never be touched, and definitely never in the course of simply setting up a disk for use. -- -- --------------------------------- Ahhh...imagining that irresistible "new car" smell? Check outnew cars at Yahoo! Autos.