I was wondering if it would be possible to make hotplug insert sd_mod when a usb
compact flash card is inserted?
Right now, when I plug in the reader, it inserts the usb-storage module. then I
have to manually insert sd_mod which creates the device entrys so I can mount my
I know other distros like mandrake do this...
from the modules.conf man-page:
[add] above module module_list
This directive makes it possible for one module to "pull in"
another set of modules on top of itself in a module stack, as
seen in the output of the lsmod(8) command. The above directive
is useful for those circumstances when the dependencies are more
complex than what can be described in the modules.dep dependency
file. This is an optimized case of the post-install and pre-
remove directives. Note that failure of installing the module
will not influence the exit status of modprobe. The optional
add prefix adds the new list to the previous list instead of
So something like 'above usb-storage sd_mod' added to modules.conf (using /etc/modules.d/...) should work.
I had hoped to get that in the default config or something, oh well, no sense in leaving the bug open.
Closing old bugs.