On 4/24/07, Alexander Hall <[EMAIL PROTECTED]> wrote:
Jan Stary wrote:
> Hello list,
>
> I am trying to share swap between OpenBSD 4.0/i386 and FreeBSD,
> on a Dell laptop. I have sliced the disk as
>
> Disk: wd0 geometry: 41344/15/63 [39070080 Sectors]
> Offset: 0 Signature: 0xAA55
>         Starting       Ending       LBA Info:
> #: id    C   H  S -    C   H  S [       start:      size   ]
> ------------------------------------------------------------------------
> 0: A5    0   1  1 - 22191  14 63 [          63:    20971377 ] FreeBSD
> *1: A6 22192   0  1 - 39944  14 63 [    20971440:    16776585 ] OpenBSD
> 2: 82 39945   0  1 - 41053  14 63 [    37748025:     1048005 ] OpenBSD
> 3: 82 41054   0  1 - 41343  14 63 [    38796030:      274050 ] OpenBSD
>
> and I try to make both systems use partiton 3 as their swap.
>

I'm not sure this is really recommended. I *think* that each "slice" gets
its own disklabel, and only one disklabel per disk is used. I'd use only
one 'OpenBSD' partition.

Nagging point: iirc, the disklabel is written immediately after the
master boot record. I know for sure there is only one disklabel per
disk (because you use disklabel as `disklabel $DISK`). This is not the
same as "each slice gets it's own disklabel"; it's the other way
around, each slice gets an entry in the disklabel.

-Nick

Reply via email to