--- rescan-scsi-bus.sh.orig 2008-01-15 01:01:21.316547000 -0800 +++ rescan-scsi-bus.sh 2008-01-15 01:02:02.704184735 -0800 @@ -444,7 +444,10 @@ echo $result } -if test ! -d /proc/scsi/; then +# /proc/scsi may not exist in new 2.6 kernels without CONFIG_SCSI_PROC_FS +if test -d /proc/scsi/ || test -d /sys/bus/scsi/; then + : +else echo "Error: SCSI subsystem not active" exit 1 fi