From: Daniel Caujolle-B. <seg...@cl...> - 2001-07-27 15:34:43
|
Bill Fink wrote: > > At least on PPC with a 2.4.6 kernel, pressing the GUI DVD button with > no DVD in the drive causes the system to lock up hard necessitating a > hard reset. OTOH, pressing the VCD button with nothing in the drive > simply results in an error message: > > unable to open /dev/cdroms/cdrom: No such file or directory Yep, this is due of O_NONBLOCK flag in open call, that made open will never return -1 if there is no disc in drive. Cheers. -- 73's de Daniel, F1RMB. -=- Daniel Caujolle-Bert -=- seg...@cl... -=- -=- f1...@f1... (AMPR NET) -=- |