bsdlabel editing to create a single partition

L Goodwin xrayv19 at yahoo.com
Sun Apr 22 00:21:42 UTC 2007


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.


More information about the freebsd-questions mailing list