summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-09-06 04:36:20 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-09-06 04:36:20 (GMT)
commitd750af1992378de933ba197a8e757b92d02c21af (patch)
tree306d9cdfa681dd85e69d83bc3308002cc1fb9201 /abs
parent4ce64b1d23306dae9301c7ff84eafeff4443fe27 (diff)
downloadlinhes_pkgbuild-d750af1992378de933ba197a8e757b92d02c21af.zip
linhes_pkgbuild-d750af1992378de933ba197a8e757b92d02c21af.tar.gz
linhes_pkgbuild-d750af1992378de933ba197a8e757b92d02c21af.tar.bz2
udev:modified usb-storage rule to cleanly unmount.
Diffstat (limited to 'abs')
-rw-r--r--abs/core-testing/udev/PKGBUILD2
-rw-r--r--abs/core-testing/udev/usb-storage.rules2
2 files changed, 2 insertions, 2 deletions
diff --git a/abs/core-testing/udev/PKGBUILD b/abs/core-testing/udev/PKGBUILD
index 1acfb02..c22b10b 100644
--- a/abs/core-testing/udev/PKGBUILD
+++ b/abs/core-testing/udev/PKGBUILD
@@ -4,7 +4,7 @@
# Maintainer: Thomas Bächler <thomas@archlinux.org>
pkgname=udev
pkgver=135
-pkgrel=6
+pkgrel=7
pkgdesc="The userspace dev tools (udev)"
arch=(i686 x86_64)
url="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html"
diff --git a/abs/core-testing/udev/usb-storage.rules b/abs/core-testing/udev/usb-storage.rules
index 86eca8e..a7e0726 100644
--- a/abs/core-testing/udev/usb-storage.rules
+++ b/abs/core-testing/udev/usb-storage.rules
@@ -1,4 +1,4 @@
SUBSYSTEMS=="usb", KERNEL=="sd[b-z]", NAME="%k", SYMLINK+="usb-%k", GROUP="users", OPTIONS="last_rule"
ACTION=="add", SUBSYSTEMS=="usb", KERNEL=="sd[b-z][0-9]", SYMLINK+="usb-%k", GROUP="users", NAME="%k"
ACTION=="add", SUBSYSTEMS=="usb", KERNEL=="sd[b-z][0-9]", RUN+="/etc/udev/scripts/mount-usb mount %k", OPTIONS="last_rule"
-ACTION=="remove", SUBSYSTEMS=="usb", KERNEL=="sd[b-z][0-9]", RUN+="/etc/udev/scripts/mount-usb umount %k", OPTIONS="last_rule"#
+ACTION=="remove", SUBSYSTEMS=="block", RUN+="/etc/udev/scripts/mount-usb umount %k", OPTIONS="last_rule"#