Re: Ejecting a mounted CD-ROM works :-(

Jeff Epler (jepler@inetnebr.com)
Fri, 19 Feb 1999 08:10:33 -0600


On Fri, Feb 19, 1999 at 08:30:14AM +0100, Gerd Knorr wrote:
> If you ask the kernel for ejecting the cdrom (CDROMEJECT ioctl), you'll
> get a EBUSY.
>
> cdrecord talks directly to the device (via generic scsi), therefore
> the kernel can't block the eject attempt.

Should we disallow generic scsi access to a device that's otherwise in use?
How hard is this to do?

Jeff

-- 
\/ http://www.redhat.com/                        Jeff Epler jepler@inetnebr.com
Bit off more than my mind could chew,
Shower or suicide, what do I do?
		-- Julie Brown, "Will I Make it Through the Eighties?"

- 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/