[NTLUG:Discuss] Eject CD before reboot?
Daniel Hauck
daniel at yacg.com
Thu Jan 10 22:50:40 CST 2008
When running the live CD, it's running from a RAM disk. If you're doing
that, you should be able to unmount the CDROM drive. I'm guessing
you're not doing it the same way as in the LiveCDs you have used.
Keller Giacomarro wrote:
> Much thanks for all the awesome help in the past - it's been
> invaluable. Got another one for you guys:
>
> I'm creating an automated CD to image computers for a school lab. I've
> written a custom script with a 'reboot' at the end. However, there is
> no opportunity to have the user remove the CD before the reboot.
>
> If I put a pause and an eject before the reboot, the filesystem won't be
> unmounted, so it can't eject.
>
> Is there a way to get Linux to eject the CD after shutting everything
> down, and then giving a pause for the user to remove the CD? I've seen
> Ubuntu do it before to remove the LiveCD, but I'm not sure how to figure
> out how they do it.
>
> Thanks in advance for the great advice. =)
>
> -Keller
>
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss
>
More information about the Discuss
mailing list