Subject: Re: Odd disklabel
To: David Laight <david@l8s.co.uk>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: current-users
Date: 07/23/2003 11:10:25
On Wed, Jul 23, 2003 at 11:05:29AM +0100, David Laight wrote:
> On Wed, Jul 23, 2003 at 10:45:40AM +0100, Patrick Welche wrote:
..
> > Where does that wd0c 16 come from? I thought it was right before.. This is
> > after booting a kernel yesterday made from yesteray's -current/i386. It was
> > running a 30th June before then. (Still 30th June userland)
> 
> What does fdisk say about that disk?
> The 'c' partition is defined to be the area of the disk that matches
> the NetBSD MBR partition.
> The new kernel might be enforcing that.

Indeed..
Disk: /dev/rwd0d
NetBSD disklabel disk geometry:
cylinders: 16383, heads: 16, sectors/track: 63 (1008 sectors/cylinder)
total sectors: 39102336

BIOS disk geometry:
cylinders: 1023, heads: 255, sectors/track: 63 (16065 sectors/cylinder)
total sectors: 39102336

Partition table:
0: <UNUSED>
1: <UNUSED>
2: <UNUSED>
3: NetBSD (sysid 169)
    start 0, size 16 (0 MB, Cyls 0-0/0/17), Active

I never did fdisk it.. just disklabeled the lot! Anyway, thanks for the
explanation,

Patrick