Subject: Advice on partitioning
To: Port-Cobalt <port-cobalt@netbsd.org>
From: Paul Nevin <paul@evilspider.com>
List: port-cobalt
Date: 08/15/2001 18:33:10
Just a quick question on BSD partioning.
Should partitions be created with any space between them? For instance
if a disk was to be partitioned as
20Mb 128Mb 20Gb
|<-Linux
Boot->|<----swap---->|<-----------------4.2BSD----------------->|
|0--------40920|40921---303105|303106----------------------------4194304
0|
Should the parameters be
Partition | Start | End | Size/Mb
------------------------------------------
ext2 | 0 | 40920 | 40920/20Mb
swap | 40921 | 303105 | 262144/128Mb
4.2bsd | 303106 | 42246146 | 41943040/20Gb
I only ask because a couple of the examples posted in the mailing list
have had the partitions stop and start on the same ?block?.
E.g. from http://mail-index.netbsd.org/port-cobalt/2001/05/15/0001.html
" f: 262521 1024002 swap # (Cyl. 1806 -
2268)
g: 409941 1286523 Linux Ext2 0 0 # (Cyl. 2269 -
2991)"
Would indicate that
Size 1024002 Size 409941
.........--------|262521----swap-----1286523|
|1286523----Linux
Ext2---1695454|
If you can see my poor attempt at ascii art you will notice that these
two partitions seem to overlap at 1286523. I am ignorant in the ways of
BSD partitioning but I would assume that this WOULD BE BAD.
Should the partitions be created to be concurrent or should some space
be left between them? E.g.
Partition | Start | End |
------------------------------
ext2 | 0 | 10000 |
swap | 10010 | 20010 |
4.2bsd | 20020 | 42246146 |