Now I can answer my own questions, maybe this saves other newbies some
hours...
>
> No device entry is generated for my ide-cd. If I manually execute "modprobe
> ide-cd" I get /dev/cdroms/cdrom* and /dev/hdb but not /dev/cdrom. How can I
> generate this entry?
>
> The same with /dev/mouse. I would like to have a symlink /dev/mouse -->
> /dev/psaux.
>
I load the cdrom modules by "modprobe ide-cd" in rc.local (not elegant, but
works).
To get your favourate links in /dev you have to add lines like this to
/etc/devfsd.conf:
REGISTER mydir/mydev CFUNCTION GLOBAL symlink $devname mydev
UNREGISTER mydir/mydev CFUNCTION GLOBAL unlink mydev
Examples:
REGISTER ide/host0/bus0/target1/lun0/cd CFUNCTION GLOBAL symlink
$devname
cdrom
UNREGISTER ide/host0/bus0/target1/lun0/cd CFUNCTION GLOBAL unlink cdrom
REGISTER misc/psaux CFUNCTION GLOBAL symlink $devname mouse
UNREGISTER misc/psaux CFUNCTION GLOBAL unlink mouse
I think mydir/mydev has to be the actual device not a link, i.e.
cdroms/cdrom0 did not work.
Manfred
maba.vcf
Description: Card for Manfred W. Baumstark
|