Comment 14 for bug 7337

Revision history for this message
In , Thomas Schmidt (tschmidt) wrote : Re: Bug#263136: This issue might break applications

* Adrian Bunk schrieb am 11.08.04, um 12:57 Uhr:
> I wouldn't call it nice, but what about the following workaround:
>
> Add two dvb targets to MAKEDEV, and add an init script to makedev that
> 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 >= 2.6.8-rc3 -> char-major-212, otherwise 250)

Then the init-script (which makedev allready uses) would just need to
call "MAKEDEV dvb" (but only when /dev/dvb/ allready exists).

Regards,
Thomas

--
Thomas Schmidt
<email address hidden>