--- knoppix-autoconfig.orig 2006-05-10 18:12:25.000000000 +0200 +++ knoppix-autoconfig 2006-05-10 18:11:32.000000000 +0200 @@ -131,7 +131,7 @@ # This should work, but doesn't with Kernel 2.4.19-rc1 # CMDLINE="$(/dev/null fi @@ -814,6 +821,20 @@ $(cat /proc/sys/dev/cdrom/info 2>/dev/null) EOT +# /dev/dvd symlink +if ! [ -e "/dev/dvd" ]; then + for d in $(cd /proc/ide 2>/dev/null && echo hd[a-z]); do + if test -d /proc/ide/$d; then + MODEL="$(cat /proc/ide/$d/model 2>/dev/null)" + case "$MODEL" in *DVD*) + ln -sf "/dev/$d" /dev/dvd + break ;; + esac + fi + done + [ -e "/dev/dvd" ] || ln -sf /dev/cdrom /dev/dvd +fi + update_progress 60 # Read in what hwsetup has found