Subject: Re: Device minor numbers conversion in COMPAT_NETBSD32
To: Martin Husemann <martin@duskware.de>
From: Bill Studenmund <wrstuden@netbsd.org>
List: tech-kern
Date: 01/03/2006 09:50:54
--NzB8fVQJ5HfG6fxh
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jan 03, 2006 at 11:34:44AM +0100, Martin Husemann wrote:
> On Tue, Jan 03, 2006 at 09:23:18AM +0000, David Brownlee wrote:
> > 	We could allocate new matching device numbers for disks on both
> > 	ports, and leave the old numbers as compat glue for each port,
> > 	so old machines can continue to work but the results of a new
> > 	MAKEDEV can be shared between ports...
>=20
> We could simply do
>=20
>  - enable magic symlinks in fstab and kernels on i386 and amd64
>  - have i386 standard install create /dev.i386 and /dev.amd63, each
>    popluated with proper content
>  - ln -s /dev.${MACHINE_ARCH} /dev
>=20
> Or:
>  - create a sysctl to turn on/off the i386 compat magic (or patch a kernel
>    variable, or build double sets of kernels - one with, one w/o ;-} )

A sysctl might work.

>  - only use compat magic on update installs
>  - keep new dev numbers strictly in sync (like sparc and sparc64 do)

We need to do this.

Take care,

Bill

--NzB8fVQJ5HfG6fxh
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)

iD8DBQFDurl+Wz+3JHUci9cRAphTAJ4hMYrulvyECVi9vZ/l8IzMWw8nswCglPU8
IdZJkuRZVH6uu+JXB1layBU=
=YZVV
-----END PGP SIGNATURE-----

--NzB8fVQJ5HfG6fxh--