After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 475869 - g-v-m should unmount ejected media present in fstab
g-v-m should unmount ejected media present in fstab
Status: RESOLVED WONTFIX
Product: gnome-mount
Classification: Deprecated
Component: programs
unspecified
Other Linux
: Normal normal
: ---
Assigned To: David Zeuthen (not reading bugmail)
Gnome volume manager maintainers
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2007-09-11 14:41 UTC by Frederic Crozat
Modified: 2012-02-28 12:30 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
g-v-m patch (2.60 KB, patch)
2007-09-11 14:44 UTC, Frederic Crozat
committed Details | Review
gnome-mount patch (1.32 KB, patch)
2007-09-11 14:45 UTC, Frederic Crozat
none Details | Review
prevent unmounting ejected media at shutdown (1.22 KB, patch)
2007-10-12 17:11 UTC, Frederic Crozat
committed Details | Review

Description Frederic Crozat 2007-09-11 14:41:36 UTC
This is a follow-up of Mandriva bug http://qa.mandriva.com/show_bug.cgi?id=30157 :

when a cdrom, whose entry is present in fstab, is ejected using hardware button on cdrom drive, hal doesn't perform unmount on media removal because hal wasn't used to mount the cdrom in the first place (gnome-mount is calling mount directly in this case). This is causing dangling mount point on the system, which can cause a lot of problems if another cdrom is inserted in the drive.

Attached patches for g-v-m fixes this issue by :
-in gnome-volume-manager, monitoring drive mounted by g-v-m and before g-v-m was started and calling unmount if a device is removed without being unmounted first
-allowing gnome-mount to unmount a device, even if media is no longer detected
Comment 1 Frederic Crozat 2007-09-11 14:44:31 UTC
Created attachment 95350 [details] [review]
g-v-m patch
Comment 2 Frederic Crozat 2007-09-11 14:45:01 UTC
Created attachment 95351 [details] [review]
gnome-mount patch
Comment 3 Frederic Crozat 2007-09-11 14:47:48 UTC
pinging David Zeuthen since he is taking care of gnome-mount
Comment 4 Jeffrey Stedfast 2007-09-12 00:49:52 UTC
committed g-v-m patch
Comment 5 Frederic Crozat 2007-10-12 17:09:14 UTC
I'm uploading an additional patch for g-v-m which prevent unmounting media which were ejected during session. 

David, any hope to have gnome-mount patch applied ?
Comment 6 Frederic Crozat 2007-10-12 17:11:07 UTC
Created attachment 97129 [details] [review]
prevent unmounting ejected media at shutdown
Comment 7 Jeffrey Stedfast 2007-10-13 16:37:03 UTC
committed
Comment 8 Frederic Crozat 2007-10-15 09:40:38 UTC
I'm reopening the bug and assigning to gnome-mount / David Zeuthen in hope he will commit the gnome-mount patch one day ;)
Comment 9 Pacho Ramos 2009-02-05 08:59:39 UTC
Any news on this? Thanks :-)
Comment 10 André Klapper 2012-02-28 12:30:14 UTC
"gnome-mount" will not see active development anymore according to its developers (as HAL is also dead).
Closing this report as WONTFIX - Please feel free to reopen this bug report in
the future if anyone takes the responsibility for active development again.