Re: Questions on CDROM support

Bryce McKinlay (bryce@albatross.co.nz)
Mon, 11 Oct 1999 13:23:30 +1300


Anthony Barbachan wrote:

> This is what I'd like to do. I'd like to modify the EIDE and/or SCSI
> CDROM driver(s) to automatically mount a CD when it is inserted and unmount
> and eject it when the eject button is pressed (with possibly a flag to
> indicate unmount/eject only if no files are open on the CDROM or to delay

FYI: there is some user-space software that does this job quite well, and
automatically unmounts CDs when the eject button is pressed (though it doesn't
eject CDs that can not be unmounted due to being "in-use"). Maybe it will be of
some use to you:

http://www.delix.de/~harald/index.html#autorun

regards

[ bryce ]

-
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/