init.d/mount change?

Auke Kok sofar at foo-projects.org
Sat Nov 12 22:37:13 UTC 2005


The following code in the current mount script:

      case ${DEVICE} in
         usbdevfs,usbfs)
            run_with_msg " * Trying to modprobe usbcore for ${DEVICE} : 
" "modprobe usbcore"
            ;;
      esac

Is a complete waste of time IMHO - the discover startup script already 
probes this module way before the mount script runs and it doesn't put 
up an ugly [FAILED] on the iso.

Secondly if you don't want auto-module-loading and it is builtin to your 
kernel it still gives an error.

thirdly if you do want the module loaded but don't want discover you can 
still add it to /etc/modules.

I will therefore remove it from the mount init script.

Auke



More information about the Lunar-dev mailing list