mdev change no longer supporting v2.6.2x kernels by using /sys/dev

Ralf Friedl Ralf.Friedl at online.de
Thu Mar 23 16:32:53 UTC 2017


Peter Korsgaard wrote:
>>>>>> "Richard" == Richard Moore <rich at richud.com> writes:
>   > Hi,
>   > Would it be possible to please make the recent mdev change in v1.26 an
>   > option?
>
>   > * mdev (mdev: create devices from /sys/dev) commit 20a3262 (Sep 7, 2016)
>
>   > I am stuck with a v2.6.2x kernel and I am sure other people must be too
>   > who have no /sys/dev support in their kernel ?
>
> /sys/dev support got added in 2.6.27-rc1 (July 2008), E.G. ~9 years ago:
Busybox is often used in embedded devices, where kernels (and other 
software) are not changed that often. Firmware may contain kernel 
modules without full source, so a change to a newer kernel is not an 
option. As an example, I have a router with kernel 2.6.13. I can't 
update the kernel, but I can replace the busybox with a newer version 
(and much more applets) than the original.

So it would be nice to have support for older kernels. I understand that 
you may not want to have it enabled by default to keep the code small, 
but in this case the code to support the older kernels seems already 
present, so why not give the user an option to use it.


More information about the busybox mailing list