summaryrefslogtreecommitdiffstats
path: root/01-memdisk.rules
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2010-06-23 01:02:18 +0200
committerThomas Bächler <thomas@archlinux.org>2010-06-23 01:02:18 +0200
commite64bde8c514765e5f76cdff504d9a73f6945479f (patch)
treeba888270a4605eea28c53bf4bc1ce6c51f26535c /01-memdisk.rules
parent1ef7f115459c49cb1d0669544d5af39930e315ea (diff)
downloadmkinitcpio-e64bde8c514765e5f76cdff504d9a73f6945479f.tar.gz
mkinitcpio-e64bde8c514765e5f76cdff504d9a73f6945479f.tar.xz
memdisk: Add udev rule
This rule creates /dev/memdisk if a memdisk has been found.
Diffstat (limited to '01-memdisk.rules')
-rw-r--r--01-memdisk.rules1
1 files changed, 1 insertions, 0 deletions
diff --git a/01-memdisk.rules b/01-memdisk.rules
new file mode 100644
index 0000000..1d5e292
--- /dev/null
+++ b/01-memdisk.rules
@@ -0,0 +1 @@
+ACTION=="add|change", SUBSYSTEM=="block", KERNEL=="mtdblock*", ATTRS{name}=="memdisk", ATTRS{type}=="ram", SYMLINK+="memdisk"