Messages in this thread |  | | Date | Fri, 01 Sep 2000 17:04:17 +0200 | From | Rene Mayrhofer <> | Subject | Re: Bug: remounting CD-ROM drives does not lock/unlock drive |
| |
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).
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/
|  |