Subject: Re: questions: pmsprobe, fdisk/disklabel
To: Peter L. Peres <plp@actcom.co.il>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: port-i386
Date: 01/24/2005 15:46:26
On Mon, Jan 24, 2005 at 04:25:52PM +0200, Peter L. Peres wrote:
> 
> 
> >c: is supposed to be the MBR partition on i386 (that is, the portion of
> >the disk reserved for NetBSD). So it will overlap (or, to be more exact,
> >contain) others NetBSD partitions. But it should be marked as "unused",
> >no "4.2BSD".
> 
> So far the MBR slice for netbsd was always d: not c: on i386 ata 
> (wd?) disks. This is the way the default 1.6.1 install constructed it 
> and I left it alone.

No, d: is the whole disk, c: is the MBR slice.

> 
> quoting disklabel manual:
> "
> BUGS
> 
>    If the disk partition is not specified in the disk name (i.e. 
> ``xy0'' in-stead of ``/dev/rxy0c''), disklabel will construct the full 
> pathname of the disk and use the ``a'' partition on the tahoe, the ``d'' 
> partition on i386 or hpcmips or arc, and the ``c'' partition on all 
> others.
> "

disklabel wants to work on the raw partition (the one pointing to the
whole disk).

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--