Comment 16 for bug 7337

Revision history for this message
In , Adrian Bunk (bunk-fs) wrote : Re: Bug#263136: This issue might break applications

On Wed, Aug 11, 2004 at 07:39:44PM +0200, Thomas Schmidt wrote:
> * 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)
>...

Agreed.

But parsing will be simpler if it's simply checked for >= 2.6.8 (it
should be enough if all final kernels are correctly supported).

> Regards,
> Thomas

cu
Adrian

--

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed