Comment 9 for bug 1078445

Revision history for this message
Curtis Gedak (gedakc) wrote :

Thanks Chris for your interest in improving GParted.

As far as I know, udisks2 *does not* contain a command to inhibit automounting of devices.

In the past I was told that a "udisks2-inhibit" command existed, but I have not been able to locate it.

If anyone knows how to inhibit or prevent automounting of devices on systems using udisks2 then I'm all ears.

Many other distributions are migrating to systemd. GParted already contains code to prevent systemd automounting.
The relevant code can be found at the following link:

GParted startup script 'gparted'
https://git.gnome.org/browse/gparted/tree/gparted.in

If I recall correctly, ubuntu will be migrating to systemd for future releases (14.10/15.04).

Ubuntu To Switch to Systemd As Default Following Debian Decision
http://www.omgubuntu.co.uk/2014/02/ubuntu-debian-switching-systemd