[arch-projects] [mkinitcpio][PATCH 04/11] init: create /run/initramfs after mounting /run

Dave Reisner d at falconindy.com
Fri Nov 11 21:55:14 EST 2011


We'll use this as a channel to communicate with later userspace.

Signed-off-by: Dave Reisner <dreisner at archlinux.org>
---
 init |    1 +
 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
-- 
1.7.7.3



More information about the arch-projects mailing list