Martin, I can rework the logic so that if both dk-disks and hal-lock are available then both will be used.
The challenge with the proposed method is that the --run "COMMAND $*" portion of hal-lock requires that the command plus arguments must be within quotes. Otherwise the arguments are not passed to the command. Specifically the quotes are lost on the second parsing after the dk- disks available check. Do you know how to work around this problem? Otherwise does the following seem OK with you? if (dk-disks available AND hal_lock available) devkit-disks --inhibit ... hal-lock ... --run "gpartedbin $*" elif (dk-disks available) devkit-disks inhibit ... gpartedbin $* elif (hal_lock available) hal-lock ... --run "gpartedbin $*" else gpartedbin $* fi -- gparted brings up devicekit-disks authentication when scanning https://bugs.launchpad.net/bugs/428133 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