aboutsummaryrefslogtreecommitdiff
path: root/rc.sysinit
diff options
context:
space:
mode:
authorSébastien Luttringer <seblu@seblu.net>2012-03-13 22:43:45 (GMT)
committerSébastien Luttringer <seblu@seblu.net>2012-03-13 22:43:45 (GMT)
commite10b98ba9374c145df0719bb2e9c7fe0d4b614ea (patch)
treebc8a2ddcdf65f78fc5c546c62bc0922308505fcd /rc.sysinit
parentb49cc7be1be791318f57d2941999368ae58636b7 (diff)
downloadinitscripts-e10b98ba9374c145df0719bb2e9c7fe0d4b614ea.tar.xz
arch-binfmt: move api filesytem mounting from rc.sysinit
this will avoid filesytem to be mounted at every startup if not binfmt is used Signed-off-by: Sébastien Luttringer <seblu@seblu.net>
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-xrc.sysinit4
1 files changed, 1 insertions, 3 deletions
diff --git a/rc.sysinit b/rc.sysinit
index 9880995..ff0b6d2 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -12,10 +12,8 @@ printhl "${C_H2}http://www.archlinux.org"
printsep
# mount the api filesystems
-# /proc, /proc/sys/fs/binfmt_misc, /sys, /run, /dev, /run/lock, /dev/pts, /dev/shm
+# /proc, /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