https://bugzilla.novell.com/show_bug.cgi?id=455760
User ms@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=455760#c4
Marcus Schaefer changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
Info Provider|ms@novell.com |
--- Comment #4 from Marcus Schaefer 2009-01-07 04:06:39 MST ---
you are right the best way is a runlevel script included for shutdown
It should run directly before /etc/init.d/halt
* The problem I see is that the CD drive is always busy because the
root file system referenced it. As soon as the media is ejected the
system is dead it's like plug off the power from a hard disk. I'm not
sure if we can manage a call to eject the CD/DVD as last action
That's also the reason why you can't see the cdrom mount point when
inside the live system. You should do the following:
cat /proc/mounts | grep livecd
you will get something like:
/dev/sr0 /mnt/livecd iso9660 ro 0 0
and now you know the device to eject
* A runlevel script could be generic enough to detect if there is a livecd
device active or not. The runlevel script itself must be part of the system
image and therefore is something image description specific. We can add
an example of the script into the doc/examples descriptions if you like
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.