Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 May 2008 22:26:21 +0200 (CEST)
From:      Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
To:        Carlo.Capponi@unibo.it
Cc:        freebsd-questions@freebsd.org
Subject:   Re: number of partitions
Message-ID:  <20080516222445.I21927@wojtek.tensor.gdynia.pl>
In-Reply-To: <Pine.LNX.4.61.0805150934280.26961@slacknet.com>
References:  <Pine.LNX.4.61.0805150934280.26961@slacknet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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@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@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




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