Unmounting and ejecting the root fs on shutdown.
Quoted 4 lines · Per Erik Stendahl
What I do know now is how to make the kernel not lock the CD in the first place. Simply
ioctl(/dev/cdrom, CDROM_CLEAR_OPTIONS, CDO_LOCK)from /linuxrc in the initrd. This way I can remove the CD anytime I please which is enough for me. And I dont have to patch the kernel.
Or : echo 0 > /proc/sys/dev/cdrom/lock
( I am not sure if this is the right filename )
Or run magicdev ;-)
Signature · 4 lines
David Balazic -------------- "Be excellent to each other." - Bill & Ted - - - - - - - - - - - - - - - - - - - - - -