Subject: Re: [bsd] Re: V2 RC2 shows and uses wrong partition table entry
To: thilo <jeremias_IGNORE_THIS@optushome.com.au>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: current-users
Date: 10/13/2004 20:05:15
On Wed, Oct 13, 2004 at 08:07:16AM +1000, thilo wrote:
> I understand the "hitorical" use of the table,
> but it is working in the 1.6.0
> 
> total sectors: 26704944
> rpm: 3600
> interleave: 1
> trackskew: 0
> cylinderskew: 0
> headswitch: 0           # microseconds
> track-to-track seek: 0  # microseconds
> drivedata: 0
> 
> 16 partitions:
> #        size    offset     fstype  [fsize bsize cpg/sgs]
> a:  10239453  16465491     4.2BSD   1024  8192    93   # (Cyl. 16334*- 
> 26492)
> b:    524288     16065       swap                      # (Cyl.   15*- 536*)
> c:  15925138    540353     4.2BSD   4096 32768  1184   # (Cyl.  536*- 
> 16334*)
> d:  26704944         0     unused      0     0         # (Cyl.    0 - 
> 26492)
> f:     16002        63 Linux Ext2      0     0         # (Cyl.    0*- 15*)
> 
> 
> This is what I did

You shouldn't have used c: in the first place.

> 
> 
> and after booting into 2.0
> wd0c  shows and mounts as wd0a  (wd0a is still the same as before)
> So to me it looks like disklabel/the OS does not READ the partition table,
> I believe this would be just a table on the disk....
> 
> So does this mean 2.0 ignores the table ?

No, it reads it (otherwise you would have no partitions exept c: and d:),
but 2.0 doesn't allow you to override the c: and d: partitions any more
(which were reserved partititions since NetBSD 0.8 and probably before,
but was not enforced by the kernel).

Just move your c: partition to some other letter (e: is free, for example)
and is should work.

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