Based on comment #7, are you saying that you need something like the following if both udisks and hal-lock are present together?
E.g.: udisks --inhibit -- \ hal-lock --interface org.freedesktop.Hal.Device.Storage --exclusive \ --run "/path-to-gpartedbin $*" My testing on Lucid with only the udisks command (without hal-lock) has shown that udisks alone appears to prevent auto-mounting. E.g.: sudo udisks --inhibit -- /path-to-gpartedbin $* -- Automounting not prevented with GParted in Ubuntu 10.04 https://bugs.launchpad.net/bugs/588530 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs