The code in cdrom-detect to test if a module is available, will fail
to find some modules:

  if [ ! -f /lib/modules/*/*/"$module".o ]

It will fail to understand aliases, and will fail in the module is
further down in the file hierarcy.  Anyone know a better way to test
this.  The way discover do it is no good either, as it will ignore
aliases:

  if ! (modprobe -l ${MODULE}.o | grep ${MODULE}.o) > /dev/null

Is there a way to find out if the module or alias exists, without
trying to load the module?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to