Re: Bug: remounting CD-ROM drives does not lock/unlock drive

From: Rene Mayrhofer (rene.mayrhofer@vianova.at)
Date: Sun Aug 27 2000 - 12:37:59 EST


Thank you for your quick response.

Erik Andersen wrote:
>
> On Sun Aug 27, 2000 at 02:56:48PM +0200, Rene Mayrhofer wrote:
> >
> > Is this a bug or a feature ? I consider it a bug but I would really like to hear
> > the opinions of the CD-ROM driver maintainers before I try to fix it.
>
> Try using
> options cdrom lockdoor=0

This has the same effect as doing a 'setcd -l0' before mounting the CD-ROM disk.
But this way, it is never locked. I need to have the CD-ROM drive locked during
normal operation (ejecting the root filesystem is not very nice :) ), but
unlocked immediately before the reboot is done.
I was unable to find a way to unlock the tray *after* the disk has been mounted.
Is there any or do I need to patch the kernel for the Gibraltar project (other
bootable CD-ROM projects will definitely need this too) ?

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



This archive was generated by hypermail 2b29 : Thu Aug 31 2000 - 21:00:19 EST