summaryrefslogtreecommitdiffstats
path: root/package/base-files
diff options
context:
space:
mode:
authorthepeople <thepeople@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-02-12 01:37:02 +0000
committerthepeople <thepeople@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-02-12 01:37:02 +0000
commitaccff9a4a72195bc2be35d0edfcd1f4f51954971 (patch)
treeb7cb8c649dff520924c65f7355c2a1177daade60 /package/base-files
parentbf0aeede47c20f8da9afbc1d17165eb11a79d38e (diff)
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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19595 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files')
-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 d6dd6e8a9..a7aba35a9 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