summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2011-11-01 00:57:17 +0100
committerDave Reisner <dreisner@archlinux.org>2011-11-15 01:11:09 +0100
commitf3fc3912c333e1e722b8120930cdfbecf642a284 (patch)
tree8583bde5c46d84803f328224f618d843d73370af
parent8f6629fe9c4d9615f0265181f97d98c5d2457668 (diff)
downloadmkinitcpio-f3fc3912c333e1e722b8120930cdfbecf642a284.tar.gz
mkinitcpio-f3fc3912c333e1e722b8120930cdfbecf642a284.tar.xz
init: create /run/initramfs after mounting /run
We'll use this as a channel to communicate with later userspace. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
-rw-r--r--init1
1 files changed, 1 insertions, 0 deletions
diff --git a/init b/init
index 6787060..975368b 100644
--- a/init
+++ b/init
@@ -22,6 +22,7 @@ else
mknod /dev/mem c 1 1
fi
mount -t tmpfs run /run -o nosuid,nodev,mode=755,size=10M
+mkdir /run/initramfs
# parse the kernel command line
parse_cmdline