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

2000-09-01 Thread Rene Mayrhofer
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

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

2000-09-01 Thread Jens Axboe
On Fri, Sep 01 2000, Rene Mayrhofer wrote: > Ok, now I think to know what you are meaning: The program locking the door > should stay active until the CD-ROM should be unlocked, right ? No, not necessarily. What matters is the open count of the drive. Currently it will not unlock a tray, that is

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

2000-08-31 Thread Rene Mayrhofer
Jens Axboe wrote: > > On Mon, Aug 28 2000, Rene Mayrhofer wrote: > > I already tried to do so, but I could not find a way.to lock the CD-ROM > > tray on my (SCSI DVD) CD-ROM drive after it has been mounted with the door > > not being lock. How can this be done ? > > > > 'setcd -l1' does not work

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

2000-08-31 Thread Jens Axboe
On Thu, Aug 31 2000, Alan Cox wrote: > > will lock the door. Unmounting is a different issue, because currently > > you can't do that if the drive is opened more than once (which it will > > be, mount + locking program). I guess we could work around this by allowing > > root to unlock a busy drive

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

2000-08-31 Thread Alan Cox
> will lock the door. Unmounting is a different issue, because currently > you can't do that if the drive is opened more than once (which it will > be, mount + locking program). I guess we could work around this by allowing > root to unlock a busy drive, or some other hack like that. Umm.. Thats

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

2000-08-31 Thread Jens Axboe
On Mon, Aug 28 2000, Rene Mayrhofer wrote: > I already tried to do so, but I could not find a way.to lock the CD-ROM > tray on my (SCSI DVD) CD-ROM drive after it has been mounted with the door > not being lock. How can this be done ? > > 'setcd -l1' does not work I don't know setcd, but issuin