Comment 9 for bug 428133

Revision history for this message
Martin Pitt (pitti) wrote :

gedakc,

thanks for fixing that. However, any chance that you can fix the patch to not do an either/or, but do both? All the distros are currently in a transition period where hal can't be entirely disabled yet, but dk-disks is already being used, thus you actually need to both.

It's not truly critical since e. g. GNOME in Ubuntu won't actually react to disk change events in hal any more, but it migh still be safer.

Perhaps something like this structure:

COMMAND="gparted.real"
if (hal_lock available)
   COMMAND="hal-lock ... $COMMAND"
if (dk-disks available)
  COMMAND="devkit-disks inhibit ... $COMMAND"

$COMMAND

?