iso-scan currently uses
for type in scsi ide; do
if [ -d /dev/$type ]; then
find /dev/$type -type b
fi
done
to find available devices.
What do ya'll think about changing that to the following.
find /dev/discs -follow -type b
If you really want cdroms, this would get it.
for type in discs cdroms; do
As far as I can tell, this gives you the same results, except I
don't have to mimic the /dev/ide or /dev/scsi directories for a
2.2.25 kernel. (Okay, at least I haven't needed to yet.)
Thanks,
Stephen
--
Stephen R. Marenka If life's not fun, you're not doing it right!
<stephen@marenka.net>
Attachment:
signature.asc
Description: Digital signature