diff options
author | Thomas Bächler <thomas@archlinux.org> | 2011-04-08 17:48:31 +0200 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2011-04-08 17:52:34 +0200 |
commit | d09b04910202a7738d88005dcba98cebbafecec6 (patch) | |
tree | 4c15f01913b29d3185d1a3aff98e330ab148dadf /init | |
parent | 7434a449dcae6f3d2a1473552073745121fc85ea (diff) | |
download | mkinitcpio-d09b04910202a7738d88005dcba98cebbafecec6.tar.gz mkinitcpio-d09b04910202a7738d88005dcba98cebbafecec6.tar.xz |
Introduce /run
Mount /run as a 10MB tmpfs with 1777 permissions early. Move it to /new_root
when switching.
Diffstat (limited to 'init')
-rw-r--r-- | init | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -18,6 +18,7 @@ else # /dev/mem is needed if we want to load uvesafb before triggering uevents /bin/mknod /dev/mem c 1 1 fi +/bin/mount -t tmpfs run /run -o nosuid,noexec,nodev,mode=1777,size=10M read CMDLINE </proc/cmdline @@ -151,7 +152,7 @@ if [ -n "${udevpid}" ]; then done fi -for d in proc sys dev; do +for d in proc sys dev run; do if [ -d /new_root/${d} ]; then /bin/mount --move /${d} /new_root/${d} else |