* Adrian Bunk schrieb am 11.08.04, um 12:57 Uhr:
> I wouldn't call it nice, but what about the following workaround:
>=20
> Add two dvb targets to MAKEDEV, and add an init script to makedev that=20
> executes the correct one at boot time (depending on the kernel version).
Yes, this could work, but i would extend/change it a little bit.
I would do the check for the running kernel inside makedev, so that
"MAKEDEV dvb" decides which major-version to use, depending on the
running kernel. (kernel >=3D 2.6.8-rc3 -> char-major-212, otherwise 250)
Then the init-script (which makedev allready uses) would just need to=20
call "MAKEDEV dvb" (but only when /dev/dvb/ allready exists).
Regards,
Thomas
--=20
Thomas Schmidt
<email address hidden>
--xHFwDpU9dbj6ez1V
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
Message-ID: <20040811173943 .GA26419@ slipstream>
Date: Wed, 11 Aug 2004 19:39:44 +0200
From: Thomas Schmidt <email address hidden>
To: Adrian Bunk <email address hidden>
Cc: <email address hidden>, <email address hidden>
Subject: Re: Bug#263136: This issue might break applications
--xHFwDpU9dbj6ez1V Disposition: inline Transfer- Encoding: quoted-printable
Content-Type: text/plain; charset=us-ascii
Content-
Content-
* Adrian Bunk schrieb am 11.08.04, um 12:57 Uhr:
> I wouldn't call it nice, but what about the following workaround:
>=20
> Add two dvb targets to MAKEDEV, and add an init script to makedev that=20
> executes the correct one at boot time (depending on the kernel version).
Yes, this could work, but i would extend/change it a little bit.
I would do the check for the running kernel inside makedev, so that
"MAKEDEV dvb" decides which major-version to use, depending on the
running kernel. (kernel >=3D 2.6.8-rc3 -> char-major-212, otherwise 250)
Then the init-script (which makedev allready uses) would just need to=20
call "MAKEDEV dvb" (but only when /dev/dvb/ allready exists).
Regards,
Thomas
--=20
Thomas Schmidt
<email address hidden>
--xHFwDpU9dbj6ez1V pgp-signature; name="signature .asc" Description: Digital signature Disposition: inline
Content-Type: application/
Content-
Content-
-----BEGIN PGP SIGNATURE-----
NqwoydlIRAoeyAK DEa+wyGFXEAsDD4 RPecvbwJPUkrQCg yWBG JU93cIpQ=
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBGlnfc9+
pIsunPmw4DFEaqS
=5oOz
-----END PGP SIGNATURE-----
--xHFwDpU9dbj6e z1V--