Re: I can eject a mounted CD

Tim Peeler (tim@iss.dccc.edu)
Wed, 18 Apr 2001 05:00:26 -0400


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/