aboutsummaryrefslogtreecommitdiff
path: root/rc.sysinit
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2012-03-13 15:50:34 +0100
committerTom Gundersen <teg@jklm.no>2012-03-13 15:50:34 +0100
commitb49cc7be1be791318f57d2941999368ae58636b7 (patch)
tree43393eacaa669a4ff09eff9d1fd867c1c089cec1 /rc.sysinit
parentcb18be3f401a2c693d66a9417e479ed74e17c2f0 (diff)
parent9f75591c8a56ba7ec1ea20cfe16dd10a83c65503 (diff)
downloadinitscripts-b49cc7be1be791318f57d2941999368ae58636b7.tar.xz
Merge remote-tracking branch 'seblu/master'
Conflicts: Makefile
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-xrc.sysinit5
1 files changed, 4 insertions, 1 deletions
diff --git a/rc.sysinit b/rc.sysinit
index b38d350..9880995 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -11,8 +11,11 @@ printhl "Arch Linux\n"
printhl "${C_H2}http://www.archlinux.org"
printsep
-# mount /proc, /sys, /run, /dev, /run/lock, /dev/pts, /dev/shm (the api filesystems)
+# mount the api filesystems
+# /proc, /proc/sys/fs/binfmt_misc, /sys, /run, /dev, /run/lock, /dev/pts, /dev/shm
mountpoint -q /proc || mount -t proc proc /proc -o nosuid,noexec,nodev
+mountpoint -q /proc/sys/fs/binfmt_misc ||
+ mount -t binfmt_misc binfmt /proc/sys/fs/binfmt_misc
mountpoint -q /sys || mount -t sysfs sys /sys -o nosuid,noexec,nodev
mountpoint -q /run || mount -t tmpfs run /run -o mode=0755,nosuid,nodev
mountpoint -q /dev || mount -t devtmpfs dev /dev -o mode=0755,nosuid