Comment 35 for bug 1060484

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

The script that invokes GParted uses hal-lock, udisks, devkit-disks, and most recently systemctl to exclusively lock or otherwise prevent automounting on disk devices.

The history of these tools being installed by default in Ubuntu appears to be:

- Uses HAL (Hardware Abstraction Layer) at least from 10.04 to 10.10
- Uses udisks from 11.04 to 12.04
- Uses udsisk2 from 12.10 to

Note that udisks2 does not appear to provide a facility to exclusively lock the device or otherwise prevent automounting.

Note also that Fedora starting with version 15 uses systemd to perform this task. However systemd is installed by default in Ubuntu.

Is there some other way to acquire an exclusive device lock or otherwise prevent automounting in Ubuntu 12.10+?

If so then that might be a way to prevent this blacklist problem from occuring.