Update of /cvsroot/devil-linux/build/config/etc/initrd
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14330/config/etc/initrd
Modified Files:
mount_cdrom
Log Message:
- updated loop-AES to 3.1b
- downgraded cdrtools to 2.01 and added patch to successfully compile
mkisofs
- updated util-linux to 2.12q
- re-added the udev fixes for mount_cdrom
Index: mount_cdrom
===================================================================
RCS file: /cvsroot/devil-linux/build/config/etc/initrd/mount_cdrom,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- mount_cdrom 26 Apr 2005 03:26:41 -0000 1.31
+++ mount_cdrom 27 Sep 2005 16:20:27 -0000 1.32
@@ -22,9 +22,9 @@
fi
# generate list of cdroms from devfs
-CDROM_IDE=`find /dev/ide/ -name "cd*" 2> /dev/null`
-CDROM_SCSI=`find /dev/scsi/ -name "cd*" 2> /dev/null`
-CDROMS="$CDROM_IDE $CDROM_SCSI"
+DEVICES_IDE=`find /dev -name "hd*" 2> /dev/null`
+CDROM_SCSI=`find /dev -name "sr*" 2> /dev/null`
+CDROMS="$DEVICES_IDE $CDROM_SCSI"
if [ "$3" != "silent" ]; then
$GREEN
@@ -58,10 +58,11 @@
done
# ok let's check all partitions if we find the bootcd.iso & the file DEVIL-LINUX
-PARTITIONS_IDE=`find /dev/ide/ -name "part*" 2> /dev/null`
-PARTITIONS_SCSI=`find /dev/scsi/ -name "part*" 2> /dev/null`
-PARTITIONS="$PARTITIONS_IDE $PARTITIONS_SCSI"
-for disk in $PARTITIONS
+DEVICES_IDE=`find /dev -name "hd*" 2> /dev/null`
+DISCS_SCSI=`find /dev -name "sd*" 2> /dev/null`
+DISCS="$DEVICES_IDE $DISCS_SCSI"
+
+for disk in $DISCS
do
echo -n "checking $disk "
if mount -n -t auto -o rw,noatime $disk /mnt 2> /dev/null; then
|