No, no, no! That's getting into policy! We want to minimise policy in
the kernel.
> Try a _ls -l /dev/ide/_ with ide-disk, ide-mod and ide-probe as modules.
> It does not work. There should be some reference to the module name
> in devfs. E.g. /dev/ide/hd would load the module ide-disk. Or
> /dev/sr would load sr_mod. Btw. maybe it is time to rename some modules
> and find a standard name style. If I think of the modules
All you need is a properly configured /etc/modules.conf with the right
aliases. For example:
alias sr sr_mod
alias ide/hd ide-cd
and so on. Ideally, I'd like to prepend some special string (say
"/dev/") to the names passed to kmod to reserve a "namespace" for
devfs and avoid any possible conflicts.
Richard: are you happy to include a set of aliases with modutils that
does this? If so I'll start collating names.
Regards,
Richard....
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html