summaryrefslogtreecommitdiffstats
path: root/package/usbmount/usbmount-rules-fix.patch
diff options
context:
space:
mode:
authorYegor Yefremov <yegor_sub1@visionsystems.de>2011-07-22 16:58:19 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-07-27 21:07:54 +0200
commit1f2879ccb7ebb13fed94607da3c8a27506a18e5b (patch)
treeea17492d9e3cec45f7d2bcba6ecbabc1daf29de2 /package/usbmount/usbmount-rules-fix.patch
parent4ee9d569f9ae5da199b6e64a45d83dc6aa9c78ce (diff)
downloadbuildroot-novena-1f2879ccb7ebb13fed94607da3c8a27506a18e5b.tar.gz
buildroot-novena-1f2879ccb7ebb13fed94607da3c8a27506a18e5b.zip
usbmount fixes
- create mounting points - fix dependencies - fix udev rules - fix fs type detection [Peter: fix Config.in deps, create usb7, only remove /media/usb?] Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/usbmount/usbmount-rules-fix.patch')
-rw-r--r--package/usbmount/usbmount-rules-fix.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/usbmount/usbmount-rules-fix.patch b/package/usbmount/usbmount-rules-fix.patch
new file mode 100644
index 000000000..c71b613c8
--- /dev/null
+++ b/package/usbmount/usbmount-rules-fix.patch
@@ -0,0 +1,19 @@
+Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
+---
+ usbmount.rules | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+Index: b/usbmount.rules
+===================================================================
+--- a/usbmount.rules
++++ b/usbmount.rules
+@@ -1,7 +1,7 @@
+ # Rules for USBmount -*- conf -*-
+
+ KERNEL=="sd*", DRIVERS=="sbp2", ACTION=="add", RUN+="/usr/share/usbmount/usbmount add"
+-KERNEL=="sd*", SUBSYSTEMS=="usb", ACTION=="add", RUN+="/usr/share/usbmount/usbmount add"
+-KERNEL=="ub*", SUBSYSTEMS=="usb", ACTION=="add", RUN+="/usr/share/usbmount/usbmount add"
++KERNEL=="sd*", SUBSYSTEM=="block", ACTION=="add", RUN+="/usr/share/usbmount/usbmount add"
++KERNEL=="ub*", SUBSYSTEM=="block", ACTION=="add", RUN+="/usr/share/usbmount/usbmount add"
+ KERNEL=="sd*", ACTION=="remove", RUN+="/usr/share/usbmount/usbmount remove"
+ KERNEL=="ub*", ACTION=="remove", RUN+="/usr/share/usbmount/usbmount remove"