Comment 19 for bug 7337

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

* Bdale Garbee schrieb am 12.08.04, um 23:22 Uhr:
> Someone want to offer me a patch that implements this? It's not hard, but I'm
> working on other things today and it'll get done faster if someone hands me a
> patch.
>
> There's already code in the consoleonly target to do kernel version checking.

Ah, this was the part where i did not know how to realize this check,
thanks for the hint. :)

Well, i created a patch for this bug now, but i am not completely sure
about the check of the $kern_rev3, because it will also output just 8
on kernels like 2.6.8-pre2 (where char-major 250 was used).

The second thing where i am not sure is if it is needed to check for
devfs before calling makedev, and if the ckeck in my patch is right.

See the attached file.

Thomas

--
Thomas Schmidt
<email address hidden>