Subject: Re: kern/29211: Old partition name limits on kernel "config" directive
To: None <firstname.lastname@example.org>
From: Quentin Garnier <email@example.com>
Date: 02/03/2005 12:08:07
Content-Type: text/plain; charset=us-ascii
On Thu, Feb 03, 2005 at 09:33:00AM +0000, firstname.lastname@example.org wrote:
> >Number: 29211
> >Category: kern
> >Synopsis: Old partition name limits on kernel "config" directive
> 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 - email@example.com - cube@NetBSD.org
"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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)
-----END PGP SIGNATURE-----