about summary refs log tree commit diff
path: root/core-services
diff options
context:
space:
mode:
authorJan Tatje <jan@jnt.io>2016-08-22 19:06:38 +0200
committerJuan RP <xtraeme@gmail.com>2016-08-22 19:06:38 +0200
commitd1e6f56d553e90598f2935b0bd8c48ef1824271e (patch)
treedb7b9073c52e7c702188cd97e252fe4a1e8f70d2 /core-services
parent39a1b2a539a402713cb5551b4abf830f0757ecd2 (diff)
downloadrunit-void-d1e6f56d553e90598f2935b0bd8c48ef1824271e.tar.gz
runit-void-d1e6f56d553e90598f2935b0bd8c48ef1824271e.tar.xz
runit-void-d1e6f56d553e90598f2935b0bd8c48ef1824271e.zip
Fix mounting devtmpfs. (#54)
mount was missing the path argument, this breaks booting with custom kernel and initramfs.
Diffstat (limited to 'core-services')
-rw-r--r--core-services/00-pseudofs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/core-services/00-pseudofs.sh b/core-services/00-pseudofs.sh
index 7f23f13..6b20ad2 100644
--- a/core-services/00-pseudofs.sh
+++ b/core-services/00-pseudofs.sh
@@ -4,7 +4,7 @@ msg "Mounting pseudo-filesystems..."
 mountpoint -q /proc || mount -o nosuid,noexec,nodev -t proc proc /proc
 mountpoint -q /sys || mount -o nosuid,noexec,nodev -t sysfs sys /sys
 mountpoint -q /run || mount -o mode=0755,nosuid,nodev -t tmpfs run /run
-mountpoint -q /dev || mount -o mode=0755,nosuid -t devtmpfs dev
+mountpoint -q /dev || mount -o mode=0755,nosuid -t devtmpfs dev /dev
 mkdir -p -m0755 /run/runit /run/lvm /run/user /dev/pts /dev/shm
 mountpoint -q /dev/pts || mount -o mode=0620,gid=5,nosuid,noexec -n -t devpts devpts /dev/pts
 mountpoint -q /dev/shm || mount -o mode=1777,nosuid,nodev -n -t tmpfs shm /dev/shm