Re: CDROM_LOCKDOOR, CDROMEJECT...

Torben Mathiasen (tmm@image.dk)
Wed, 8 Dec 1999 10:37:03 +0100


>
> I noticed that you could send a CDROM_LOCKDOOR ioctl to a CDROM even
> though its usage count is more than 1, whereas an
> ioctl(CDROM_LOCKDOOR,0) returns -EBUSY. Is there any reason to this?
>
I guess Jens is checking for multiple opens. If this is the case we
return -EBUSY because we don't want to unlock the door, otherwise we
just lock the door.

Torben

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