Quote Originally Posted by jef
I haven't tried it yet, but from the citation at the end of your post it seems workable and useable, if potentially pitfall-full.
Okay, it works now as explained from Knoppix 5.2:

Here is a small script sniplet:

Code:
#!/bin/sh

echo "Please start now all apps you'll need for doing what you want while the Knoppix-CD is ejected."
echo " (including just running cdrecord/growisofs once if you are burning a CD/DVD)"
echo "Press any key to continue."
read -n1

eject --help >/dev/null 2>&1
cloop_suspend >/dev/null 2>&1
losetup >/dev/null 2>&1

while true
do
   echo "Suspending cloop interfaces ..."
    [ -f /cdrom/KNOPPIX/KNOPPIX2 ] && cloop_suspend /dev/cloop2
    cloop_suspend /dev/cloop0
    echo "Ejecting /cdrom ..."
    eject /cdrom
    echo "Please take the CD/DVD out of your drive, burn your CD/DVD, put it back in and press a key."
    read -n1
    echo "Re-Mouting /cdrom ..."
    mount /dev/cdrom /cdrom || continue
    echo "Awakening suspended cloop interfaces ..."
    losetup /dev/cloop0 /cdrom/KNOPPIX/KNOPPIX || continue
    if [ -f /cdrom/KNOPPIX/KNOPPIX2 ]
    then
      losetup /dev/cloop2 /cdrom/KNOPPIX/KNOPPIX2 || continue
    fi
    break
done

echo "All setup again. Thanks for using this program."
cu

Fabian