probably not doable, but one thing I've noticed is that if it says to put in cd2
and you put it in the tray (but tray is still ejected) and click OK, the tray
closes but anaconda doesn't give enough time for the cd-rom to finish reading
the new disc and you get a mount error.
Ideally, something would note current cd-rom drive status and not try a mount
until it's closed and finished scanning the new cd-rom. I'm not sure about
anaconda/boot-kernel interaction, so this may not be doable and asking for it to
include something like a "sleep 3" is kinda ugly, I'd admit
Any ideas jeremy?
There is a cdrom drive status ioctl that we could possibly use to check this but
I'd have to poke around a bit to see if it's actually useful
it'd be rad to poll with the ioctl and even just keep going once the CD is
ready, destroying the dialog and continuing once the drive is ready - then those
with KVM switches like me can just swap CD's at the appropriate times w/o having
to switch over to the machine just to click the button
> [Michael E Brown]
> > Ok, to change the subject... :-)
> > Since you have all of this "magic" code, why do you still require the user
> > to press "enter" when they insert a new CD? That is really silly.
> > I did a simple thing that lets the user put in the next CD without
> > pressing any keys (for a different project):
> > echo 0 > /proc/sys/dev/cdrom/autoclose
> > while ! match_cdrom_header( /dev/cdrom, header_of_next_cd ); do
> > eject /dev/cdrom
> > sleep 1
> > done
*** Bug 87635 has been marked as a duplicate of this bug. ***
Not going to do this right now.