Re: Questions on CDROM support

Anthony Barbachan (barbacha@Hinako.AMBusiness.com)
Mon, 11 Oct 1999 01:30:33 -0400


> > CDROM_MEDIA_CHANGED and use that information, although that
> > can't tell you about eject attempts.
>
> DirectCD in Win95 does determine that the eject button was pressed with
> a mounted disc, and pops up a dialog asking if they want to close the
> disc before ejecting.
>
> Dave Boynton
> dave@trylinux.com
>

This is encouraging. Now I just have to figure out how they did it.
The other problem that I may have from a userspace utility it that I want to
be able to force an unmount or better to allow an unmount if no files are
currently open on the CDROM. I don't want to be called away from
programming to find out why a CDROM from a CDROM server refuses to
eject/open a CDROM, when the usual case is that some shell or process just
happens to currently be in its mount directory or one of the decending ones.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/