Red Hat Bugzilla – Bug 182046
HAL fails to remove mount point for floppy device after unmounting
Last modified: 2007-11-30 17:11:24 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:126.96.36.199) Gecko/20060210 Fedora/188.8.131.52-3 Firefox/184.108.40.206
Description of problem:
Unlike other devices, when a floppy is unmounted its mount point in /media is not removed. This seems to cause problems for both KDE and GNOME regarding floppy mounting.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Using a file manager (Konqueror or Nautilus) mount a floppy
2. Note creation of mount point in /media
3. Unmount floppy in file manager
Actual Results: Mount point remains after floppy is unmounted
Expected Results: Mount point is removed
Additional attempts to mount floppy results in build up of mount points. Further, Konqueror never offers an unumount option for the floppy.
Does 'gnome-umount --block --no-ui --device /dev/fd0' do the right thing?
Yes. 'gnome-umount --block --no-ui --device /dev/fd0' unmounts it and removes
the mount point in /media.
Right.. we need a small patch for gnome-vfs to do the right thing. Shouldn't be
terribly difficult, we just need gnome-vfs to use gnome-mount when the
GnomeVFSDrive is known by hal but the GnomeVFSVolume isn't.
I don't know how the KDE bits work, someone needs to open a separate bug for
these bits as I'm reassigning this bug to gnome-vfs2.
I've posted a patch to upstream here
Patch mentioned in comment 4 is now upstream. Will be included in new gnome-vfs2
packages sometime next week.
*** Bug 182693 has been marked as a duplicate of this bug. ***
The patch mentioned in comment #4 is in gnome-vfs2-2.13.92, so I assume this is
Yes, indeed, it looks that this works now as expected.