/etc/devfs/conf.d/rdvd.conf calls /etc/dynamic/scripts/rawdevice.script to
setup raw device and link rdvd -> raw/rawN. This does not work if module
"raw" is not yet loaded because it runs as devfsd action and module
autoloading is supressed in this case.
To setup raw device /dev/raw/* enrties must already exist; entries are created
on module loading; but module is never loaded in this case due to stated
reason.
Somewhat ugly workaround is to force raw loading in rawdevice.script, i.e.
something like
--- rawdevice.script.devfs 2003-03-07 17:45:05.000000000 +0300
+++ rawdevice.script 2003-06-15 19:50:57.000000000 +0400
@@ -19,6 +19,10 @@
case "$1" in
add)
[ -e $3 ] && exit 0
+ # force "raw" loading; it will not be loaded automagically
+ # because we run as devfs action and no module loading happens
+ # in this case
+ /sbin/modprobe raw > /dev/null 2>&1
already_in_use=`raw -qa`
n=1
while :; do
I was about to suggest adding LOOKUP rdvd but then realized it won't work for
the same reasons - if module (ide-cd or whatever) is not yet loaded it won't
be loaded during LOOKUP as well. This probably should be solved by adding a
suitable line to modules.conf (alias rdvd ide-cd or whatever).
-andrey