1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-09-13 06:28:08 +03:00
openwrt-xburst/package/base-files/files/etc/hotplug2-common.rules
thepeople accff9a4a7 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
2010-02-12 01:37:02 +00:00

53 lines
767 B
Plaintext

DEVICENAME ~~ (null|full|ptmx|tty|zero|gpio) {
nothrottle
makedev /dev/%DEVICENAME% 0666
next
}
DEVICENAME ~~ (tun|tap[0-9]) {
nothrottle
makedev /dev/net/%DEVICENAME% 0644
next
}
DEVICENAME ~~ (ppp) {
nothrottle
makedev /dev/%DEVICENAME% 0600
next
}
DEVICENAME ~~ (controlC[0-9]|pcmC0D0*|timer) {
nothrottle
makedev /dev/snd/%DEVICENAME% 0644
next
}
DEVICENAME ~~ (lp[0-9]) {
nothrottle
makedev /dev/%DEVICENAME% 0644
next
}
DEVPATH is set, SUBSYSTEM ~~ (input) {
nothrottle
makedev /dev/input/%DEVICENAME% 0644
}
DEVICENAME == device-mapper {
nothrottle
makedev /dev/mapper/control 0600
}
DEVPATH is set {
nothrottle
makedev /dev/%DEVICENAME% 0644
}
FIRMWARE is set {
nothrottle
exec /sbin/hotplug-call firmware
next
}