commit 9d8dc8c5a07e8bb0d0e6484017d7cdbe70df860b
parent 4c7ad7824fa97d5324bd446b69355867a63a74d7
Author: Jan Pobříslo <ccx@te2000.cz>
Date: Fri, 16 Sep 2022 03:14:11 +0200
Change /dev source to devtmpfs
Diffstat:
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/fs b/fs
@@ -20,7 +20,7 @@
down=keep
/dev
- source=dev
+ source=devtmpfs
type=devtmpfs
options=rw,nosuid
bundles=mount-sysinit
diff --git a/s6-rc.fileset b/s6-rc.fileset
@@ -34,10 +34,10 @@ CN rootfs
m644
/mount-dev/type cN oneshot m644
/mount-dev/up
-CN # mount dev on /dev
+CN # mount devtmpfs on /dev
if { mkdir -p "/dev" }
- if -n -t { mount -t "devtmpfs" -o "remount,rw,nosuid" "dev" "/dev" }
- mount -t "devtmpfs" -o "rw,nosuid" "dev" "/dev"
+ if -n -t { mount -t "devtmpfs" -o "remount,rw,nosuid" "devtmpfs" "/dev" }
+ mount -t "devtmpfs" -o "rw,nosuid" "devtmpfs" "/dev"
/mount-dev-pts d m755
/mount-dev-pts/dependencies
CN mount-dev
diff --git a/static/etc/fstab b/static/etc/fstab
@@ -1,7 +1,7 @@
/dev/mapper/vg-spark_root / xfs rw,noatime 0 0
sysfs /sys sysfs rw 0 0
proc /proc proc rw 0 0
-dev /dev devtmpfs rw,nosuid 0 0
+devtmpfs /dev devtmpfs rw,nosuid 0 0
devpts /dev/pts devpts rw,relatime,mode=600,ptmxmode=000 0 0
shm /dev/shm tmpfs rw,nosuid,nodev,relatime 0 0
mqueue /dev/mqueue mqueue rw,nosuid,nodev,noexec 0 0