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

From: Rene Mayrhofer (
Date: Fri Sep 01 2000 - 10:04:17 EST

Jens Axboe wrote:
> > I always though about issuing some single call to lock or unlock the drive
> > (e.g. setcd), but I never thought about this. What do I have to do to make
> > this possible ? Could you give me some hint on how to allow root to unlock
> > it in a clean way ? I wouldn't be very happy to apply special 'CD-ROM
> > bootable interim hack' patches to each kernel I build for the project. Is
> > there a way to do this general enough so that it can go into the main
> > kernel (maybe another config option in /proc/sys/dev/cdrom if root should
> > be allowed to unlock under all conditions) ?
> I don't think that allowing root to unlock a busy tray is that big a
> deal, we have to assume he/she knows what they are doing anyway. But
> for now, you can try this patch.
Thank you, I will try it as soon as possible (hopefully tomorrow).

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

This archive was generated by hypermail 2b29 : Thu Sep 07 2000 - 21:00:11 EST