Re: I can eject a mounted CD

From: Tim Peeler (tim@iss.dccc.edu)
Date: Wed Apr 18 2001 - 04:00:26 EST


On Wed, Apr 18, 2001 at 09:25:43AM +0200, Giuliano Pochini wrote:
>
> >> > /dev/cdrom /mnt/cdrom auto noauto,user,ro 0 0
> >> >
> >> > And remove the other cdrom listing. This will allow mounting any
> >> > supported format and eliminate the duel support for one device.
> >>
> >> That's not the point. The kernel should not allow someone to
> >> eject a mounted media.
> >
> > 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.

eject(1) line 36:

   If the device is currently mounted, it is unmounted before
   ejecting.

-
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:25 EST