Subject: Re: kern/29211: Old partition name limits on kernel "config" directive
To: None <,,>
From: Quentin Garnier <>
List: netbsd-bugs
Date: 02/03/2005 11:09:02
The following reply was made to PR kern/29211; it has been noted by GNATS.

From: Quentin Garnier <>
Subject: Re: kern/29211: Old partition name limits on kernel "config" directive
Date: Thu, 3 Feb 2005 12:08:07 +0100

 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 On Thu, Feb 03, 2005 at 09:33:00AM +0000, wrote:
 > >Number:         29211
 > >Category:       kern
 > >Synopsis:       Old partition name limits on kernel "config" directive
 > >Description:
 >   Under a recent i386 netbsd-2 checkout (and maybe under earlier RELs,
 > although I happened to notice it under 2.0) the name limit on
 > partitions in the
 >     config <exec_name> root on <rootdev> [stuff]
 > directive of kernel config files doesn't appear to support the updated
 > 16 partition-per-drive limit.  In other words, the statement
 >     config	netbsd	root on sd0o
 > results in an error ("invalid root device name `sd0o'"), whereas if
 > one sets up sd0h with geometry identical to that of sd0o, this one,
 >     config	netbsd	root on sd0h
 > will succeed.  I'm guessing that it's because h is in the first 8
 > partitions and o is not?
 This is because config(8) doesn't know about the kludgy way we assign
 minors to partitions on i386.
 A workaround would be to do
 config netbsd root on major 4 minor 524294
 Right now I don't see a clean way to correct that issue.  Introducing
 MD code in config(8) would be gross.
 Quentin Garnier - -
 "When I find the controls, I'll go where I like, I'll know where I want
 to be, but maybe for now I'll stay right here on a silent sea."
 KT Tunstall, Silent Sea, Eye to the Telescope, 2004.
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 Version: GnuPG v1.2.6 (NetBSD)