Comment 1 for bug 172837

Revision history for this message
Michael Vogt (mvo) wrote :

diff:
--- /etc/udev/rules.d/95-hal.rules.dpkg-dist 2007-11-20 17:39:21.000000000 +0100
+++ /etc/udev/rules.d/95-hal.rules 2007-08-10 13:59:55.000000000 +0200
@@ -1,2 +1,5 @@
 # Have udev pass data over a socket to hal
 RUN+="socket:/org/freedesktop/hal/udev_event"
+
+# unmount block devices when they are removed
+SUBSYSTEM=="block",ACTION="remove", RUN+="/usr/lib/hal/hal-unmount.sh"

md5sums:
1afe5cd68445909b1df6c63b405eead3 /etc/udev/rules.d/95-hal.rules.dpkg-dist
cfccffad251ec044da75c8b74bdda14f /etc/udev/rules.d/95-hal.rules