[lkml]   [2000]   [Sep]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 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).

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

 \ /
  Last update: 2005-03-22 12:38    [W:9.466 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site