Re: floppy/cd eject on unmount behavior

Jens Axboe (axboe@image.dk)
Fri, 11 Dec 1998 20:05:43 +0100


"Pat St. Jean" wrote:
> Hey folks,
> Why not do it in reverse? I'm reasonably sure that CD-ROM drives will
> lock the tray. Why not, when that is available, lock it on mount, and do
> an unlock + eject on umount?

That's already an option. If the CD-ROM drive supports door locking, it
will be locked by default. Autoeject can be forced by loading the cdrom
module with autoeject=1.

> I know it isn't an ideal solution, but it works with hardware that
> exists...

Most of it.

-- 
*  Jens Axboe <axboe@image.dk>
*  Linux CD-ROM Maintainer
* "The only thing that interferes with my
*  learning is my education." -- A. Einstein

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