Bug 182046 - HAL fails to remove mount point for floppy device after unmounting
HAL fails to remove mount point for floppy device after unmounting
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: gnome-vfs2 (Show other bugs)
rawhide
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Alexander Larsson
:
: 182693 (view as bug list)
Depends On:
Blocks: FC5Target
  Show dependency treegraph
 
Reported: 2006-02-19 13:53 EST by William Shotts
Modified: 2007-11-30 17:11 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-03-01 08:14:28 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description William Shotts 2006-02-19 13:53:20 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060210 Fedora/1.5.0.1-3 Firefox/1.5.0.1

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):
hal-0.5.7-0.cvs20060213.1

How reproducible:
Always

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 info:

Additional attempts to mount floppy results in build up of mount points.  Further, Konqueror never offers an unumount option for the floppy.
Comment 1 David Zeuthen 2006-02-20 12:13:04 EST
Does 'gnome-umount --block --no-ui --device /dev/fd0' do the right thing?
Comment 2 William Shotts 2006-02-20 12:33:30 EST
Yes. 'gnome-umount --block --no-ui --device /dev/fd0' unmounts it and removes
the mount point in /media.
Comment 3 David Zeuthen 2006-02-20 12:40:25 EST
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.
Comment 4 David Zeuthen 2006-02-21 12:57:32 EST
I've posted a patch to upstream here

 http://mail.gnome.org/archives/gnome-vfs-list/2006-February/msg00037.html
Comment 5 David Zeuthen 2006-02-24 19:25:26 EST
Patch mentioned in comment 4 is now upstream. Will be included in new gnome-vfs2
packages sometime next week.
Comment 6 David Zeuthen 2006-02-24 19:25:50 EST
*** Bug 182693 has been marked as a duplicate of this bug. ***
Comment 7 Matthias Clasen 2006-03-01 08:14:28 EST
The patch mentioned in comment #4 is in gnome-vfs2-2.13.92, so I assume this is
fixed.
Comment 8 Michal Jaegermann 2006-03-01 11:26:00 EST
Yes, indeed, it looks that this works now as expected.

Note You need to log in before you can comment on or make changes to this bug.