diff -NurpP --exclude cscope.out --exclude '*.ignore' --minimal gnome-volume-manager-2.22.5.orig/src/manager.c gnome-volume-manager-2.22.5/src/manager.c --- gnome-volume-manager-2.22.5.orig/src/manager.c 2008-09-18 14:16:46.000000000 +0200 +++ gnome-volume-manager-2.22.5/src/manager.c 2008-09-18 15:06:19.000000000 +0200 @@ -1939,6 +1939,9 @@ gvm_device_mounted (const char *udi) DBusError error; dbus_error_init (&error); + if (libhal_device_get_property_bool (hal_ctx, udi, "volume.ignore", NULL)) + goto out; + if (!(device = libhal_device_get_property_string (hal_ctx, udi, "block.device", &error))) { warn ("cannot get block.device: %s", error.message); if (dbus_error_is_set (&error)) @@ -3187,6 +3190,9 @@ hal_property_modified (LibHalContext *ct GSList *l, *n; #endif + if (libhal_device_get_property_bool (hal_ctx, udi, "volume.ignore", NULL)) + return; + if (strcmp (key, "volume.is_mounted") != 0) return; @@ -3258,6 +3264,9 @@ gvm_device_eject (const char *udi) DBusError error; char *command; int i, n; + + if (libhal_device_get_property_bool (hal_ctx, udi, "volume.ignore", NULL)) + return; if (!libhal_device_get_property_bool (hal_ctx, udi, "block.is_volume", NULL)) { dbus_error_init (&error);