Re: I can eject a mounted CD

From: Jens Axboe (axboe@suse.de)
Date: Wed Apr 18 2001 - 07:25:36 EST


On Wed, Apr 18 2001, Alan Cox wrote:
> > > rpm -e magicdev
> >
> > Magicdev is not installed.
> > Ok, I'm the only one with this problem, I'll manage to find the bug by myself.
>
> vmware and one or two other apps I've also seen do this. WHen you unlock the
> cdrom door as root you can unlock it even if a file system is mounted

yes, unlocking is definitely possible and then of course a manual eject.
Only by root of course, however an ioctl eject should fail unless the
cdrom really isn't busy (ie mounted or has other opens).

-- 
Jens Axboe

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



This archive was generated by hypermail 2b29 : Mon Apr 23 2001 - 21:00:26 EST