aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc/hotplug2-common.rules
diff options
context:
space:
mode:
authorTravis Kemen <thepeople@openwrt.org>2010-02-12 01:37:02 +0000
committerTravis Kemen <thepeople@openwrt.org>2010-02-12 01:37:02 +0000
commit9e5844fda2400b5668188baf0ae3b7a68bb176b5 (patch)
tree5bc661c46c2b001bc485bdc60f519707b0a26dab /package/base-files/files/etc/hotplug2-common.rules
parentdfa8152068ea2c4478d958928ac79aafea53ad4f (diff)
downloadupstream-9e5844fda2400b5668188baf0ae3b7a68bb176b5.tar.gz
upstream-9e5844fda2400b5668188baf0ae3b7a68bb176b5.tar.bz2
upstream-9e5844fda2400b5668188baf0ae3b7a68bb176b5.zip
Here is LVM support for OpenWRT. It introduces 3 new packages: - kmod-dm for the device mapper kernel module. - kmod-libdevmapper for the device-mapper library. - kmod-lvm2 for the lvm tool. Note that it currently does not create the symlinks for all the lvm tools, so you have to use lvm pvs rather than just pvs. Thanks Stefan Monnier
SVN-Revision: 19595
Diffstat (limited to 'package/base-files/files/etc/hotplug2-common.rules')
-rw-r--r--package/base-files/files/etc/hotplug2-common.rules6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/base-files/files/etc/hotplug2-common.rules b/package/base-files/files/etc/hotplug2-common.rules
index d6dd6e8a9b..a7aba35a93 100644
--- a/package/base-files/files/etc/hotplug2-common.rules
+++ b/package/base-files/files/etc/hotplug2-common.rules
@@ -34,6 +34,12 @@ DEVPATH is set, SUBSYSTEM ~~ (input) {
makedev /dev/input/%DEVICENAME% 0644
}
+DEVICENAME == device-mapper {
+ nothrottle
+ makedev /dev/mapper/control 0600
+}
+
+
DEVPATH is set {
nothrottle
makedev /dev/%DEVICENAME% 0644