Red Hat Bugzilla – Bug 182697
eject does not eject anything
Last modified: 2007-11-30 17:11:25 EST
Description of problem:
After CD got mounted one can try to use 'eject' (as various scripts, for
example, were doing for years). For mysterious reasons, as it has a volume
label, CD this time got mounted on /media/disk (????). Whatever. After
typing 'eject' we see:
umount: /media/disk is not in the fstab (and you are not root)
eject: unmount of `/media/disk' failed
One would think that 'eject' at least could try to use 'gnome-mount -e'
at this point as that one seems to be able to do the job at least when
called with '-d <device>' for arguments.
OK, so lets try as root. A CD got mounted this time, mysteriously,
on "/media/FC_5-Test3 i386".
umount: /media/FC_5-Test3\040i386: not found
eject: unmount of `/media/FC_5-Test3\040i386' failed
so beeing root is not good enough either.
Actually it looks like that eject should work through 'gnome-mount',
if available, as the later expects that old mount points in /media
are getting removed.
(No, I am far from pleased with what Gnome is doing here.)
Version-Release number of selected component (if applicable):
it should be fixed in recent eject-2.1.5-0.1.fc5 from FC5-update. Thanks for