number of partitions

Wojciech Puchar wojtek at wojtek.tensor.gdynia.pl
Fri May 16 20:26:30 UTC 2008


> how to do it ?
> I need to create something like 16 partitions on a disk.

you may create up to 4 slices if you use slices at all (i don't)

on each you can make 7 partitions (8-one for c)

but each partition CAN be partitioned again. so you can make any number of 
partitions.

example of my home system (lots of DVD-sized partitions to make backups 
easy)

[root at wojtek ~]# bsdlabel ad0
# /dev/ad0:
8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
   a:  9180416       16    4.2BSD        0     0     0
   b:  2000000  9180432    4.2BSD     2048 16384 28384
   c: 234441648        0    unused        0     0         # "raw" part, 
don't edit
   d:  2000000 11180432    4.2BSD     4096 32768 62504
   e: 64262928 13180432    4.2BSD        0     0     0
   h: 156998288 77443360    4.2BSD        0     0     0

[root at wojtek ~]# bsdlabel ad0e
# /dev/ad0e:
8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
   a:  9180416       16    4.2BSD        0     0     0
   b:  9180416  9180432    4.2BSD        0     0     0
   c: 64262928        0    unused        0     0         # "raw" part, 
don't edit
   d:  9180416 18360848    4.2BSD        0     0     0
   e:  9180416 27541264    4.2BSD        0     0     0
   f:  9180416 36721680    4.2BSD        0     0     0
   g:  9180416 45902096    4.2BSD        0     0     0
   h:  9180416 55082512    4.2BSD        0     0     0



More information about the freebsd-questions mailing list