Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Apr 2007 17:21:41 -0700 (PDT)
From:      L Goodwin <xrayv19@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   bsdlabel editing to create a single partition
Message-ID:  <907596.95892.qm@web58113.mail.re3.yahoo.com>

next in thread | raw e-mail | index | archive | help
I want to dedicate the entire disk to a single FreeBSD partition ("da1s1a"), and
 am a little confused about editing partitions via "bsdlabel -e <slicename>".

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?
 2) Do I leave the "c:" line alone (in place) and if YES does its "size" and "offset" values need to be edited?

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
 ----------------------------------------------------------------------------------------

Thanks!

       
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
 Check outnew cars at Yahoo! Autos.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?907596.95892.qm>