Hi, I am trying to write a udev rule for my external HD that needs some special "care" when being unmounted (see here: http://elliotli.blogspot.com/2009/01/safely-remove-usb-hard-drive-in- linux.html). The problem is that I can not find a way to make udev react on the unmount command and execute a script. The "ACTION==remove" rule only works when I unplug the device. Is there a way to execute a script when unmounting? I guess doing this on the DE level is not the best way to go. Cheers, Chris -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html