GNOME Bugzilla – Bug 491109
Don't create file gparted-disable-automount.fdi
Last modified: 2008-04-09 19:38:52 UTC
Please describe the problem: If you start gparted, a file gparted-disable-automount.fdi is created which disables hal automounting of removable disks. The problem is that if for some reason GParted is not closed correctly, this file is not removed, and so automounting is completely broken until the user starts and closes GParted again. Steps to reproduce: 1. Start GParted 2. Hard reset your computer while GParted is running 3. Once your system has rebooted, connect a removable disk Actual results: The disk is not mounted anymore Expected results: Does this happen every time? Other information: Please don't disable hal automounting, rather add an option in GParted to eject removable devices, and propose this option if a certain operation requires the partitions to be unmounted.
Mandriva bug: http://qa.mandriva.com/show_bug.cgi?id=34018 fcrozat gave also this interesting info that maybe could help: They should lock mount interfaces using dbus, as explained in http://people.freedesktop.org/~david/hal-spec/hal-spec.html#locking Thanks a lot for fixing this
Well, I am not the dev of GParted, only LiveCD maintainer. Any way I know why Plors did this : when creating a new partition, if hal is not disabled, the fresh created partition is auto-mounted by the system, and this makes gparted to crash...
It crashes anyway, so that makes no difference: See: http://bugzilla.gnome.org/show_bug.cgi?id=468598
Fedora currently launches gparted with: /usr/bin/hal-lock --interface org.freedesktop.Hal.Device.Storage --exclusive --run /usr/sbin/gparted And patches it for not using gparted-disable-automount.fdi
(In reply to comment #0) > Please describe the problem: > If you start gparted, a file gparted-disable-automount.fdi is created which > disables hal automounting of removable disks. The problem is that if for some > reason GParted is not closed correctly, this file is not removed, and so > automounting is completely broken until the user starts and closes GParted > again. I second that - spent whole morning trying to debug why automount suddenly stopped working in Xfce with thunar. Once I had issue with gparted scr**ing my ext3 partition on laptop and today wasted too many hours with this issue, so, gparted won't see my system again :-/ Sincerely, Gour
*** This bug has been marked as a duplicate of 324220 ***