modprobe from module-init-tools has a hack that replaces /etc/modules.devfs
with /etc/modprobe.devfs if "module name" starts with "/dev". This hack does
not work reliably, it is quite possible that modprobe will be called with
"generic" name while resolving device (esp. as modprobe has very limited
aliasing support so it is neccessary to use install with nested modprobe
call).
This patch makes devfsd autodetect what tools are is use and use corr.
modules.devfs or modprobe.devfs. It is using exactly the same check as
modprobe to decide if it should fallback to modprobe.old (a.k.a. modutils).
So far I had no evil from using it and it allows me to boot both 2.4 and 2.5
without any problem (I did have problems booting 2.5 before).
It also allowed me to remove hack from modprobe. Hopefully it gets applied.
-andrey
devfsd-1.3.25-kernel-2.5.patch.bz2
Description: BZip2 compressed data
|