Automatic device detection
Bruce Edge
bedge at troikanetworks.com
Fri Apr 19 16:32:50 CEST 2002
I added script, class/S03discover.source that I thought was a useful way to get scsi drivers loaded without having to have per-host config entries:
%> cat S03discover.source
#! /bin/sh
# Check devices
setscsi=0
for d in ` discover --module scsi`; do
modprobe $d
if [ $setscsi -eq 0 ]; then
newclasses=SCSI
setscsi=1
fi
case "$d" in
aic7xxx)
newclasses="$newclasses ADAPTEC"
;;
esac
done
More information about the linux-fai
mailing list