summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Ball <nullspoon@oper.io>2019-03-31 16:41:41 -0600
committerAaron Ball <nullspoon@oper.io>2019-03-31 16:41:41 -0600
commit5a560fd5c92c34ca04d2ed33f4bf98c64eb210d0 (patch)
treeb7a113cf771092fd25d704d5b16faa1fb6e97e19
parent42c4949feddb2c7b126cd41d345d79600df05a61 (diff)
downloadmkinitramfs-5a560fd5c92c34ca04d2ed33f4bf98c64eb210d0.tar.gz
mkinitramfs-5a560fd5c92c34ca04d2ed33f4bf98c64eb210d0.tar.xz
init: Update tmpfs mounts
-rwxr-xr-xinit8
1 files changed, 4 insertions, 4 deletions
diff --git a/init b/init
index 66b0ddc..239a53e 100755
--- a/init
+++ b/init
@@ -156,10 +156,10 @@ main() {
screen_init
# Mount the /proc and /sys filesystems.
- mount -t devtmpfs none /dev
- mount -t proc none /proc
- mount -t tmpfs none /run
- mount -t sysfs none /sys
+ mount -t tmpfs none /run
+ mount -t devtmpfs none /dev
+ mount -t sysfs -o nodev,noexec,nosuid sysfs /sys
+ mount -t proc -o nodev,noexec,nosuid proc /proc
local fakeroot='/mnt/root'

Generated by cgit