Subject: Re: workaround for FreeBSD binary that hardcodes a device major (was: Re: CVS commit: src/sys/conf)
To: Emmanuel Dreyfus <manu@netbsd.org>
From: Quentin Garnier <cube@cubidou.net>
List: source-changes
Date: 09/24/2006 11:25:35
--jJVMc5+FiwMz9o91
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Sep 24, 2006 at 10:20:06AM +0200, Emmanuel Dreyfus wrote:
> Bill Studenmund <wrstuden@netbsd.org> wrote:
>=20
> > I think we're only talking about mapping mknod requests. Everything else
> > will be using NetBSD node values.
>=20
> Yes, tw_cli creates the device with a hardcoded major then immediatly
> opens it. If the device already existed, it unlink it first.=20

Now that's something especially moronic of them.

What is supposed to happen under FreeBSD's devfs stuff?

--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"You could have made it, spitting out benchmarks
Owe it to yourself not to fail"
Amplifico, Spitting Out Benchmarks, Hometakes Vol. 2, 2005.

--jJVMc5+FiwMz9o91
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iQEVAwUBRRZPD9goQloHrPnoAQLI7QgAj35xIh+mnbXGiPCf5qrKDRfeqM/r+Zvp
+p2iiMnHI2SM9HEvzIbKmzsafAfHQ26QFusOAo+HaME+VcW+ZmQi3GRjW3/kDazn
XUc8hJ2IuUzMBYzGasKbQk6ODaGcMeiuMBvKgyL8qd9k/MvoTyCLFc16dG61ASPk
kRqp+K7ZChFE1g8n1PCWQPV9wc2ONbzKOYeZNDTpluLmIGwwWbRv9F5ZhWTKZdP3
4mtKyPgwlqNCriRZF+JeWYjkKYnkt+k9MoTWCJhqTQty9Q7D91pxRijL6yn3UrhJ
MnC2r8j23hCqaN1cxe/lfsFT4Y+wtpFmsqHre1gQnzMwjPMA/D9o2w==
=emO7
-----END PGP SIGNATURE-----

--jJVMc5+FiwMz9o91--