aboutsummaryrefslogtreecommitdiffstats
path: root/bootscripts
diff options
context:
space:
mode:
authorPierre Labastie <pierre.labastie@neuf.fr>2022-03-22 21:20:46 +0100
committerPierre Labastie <pierre.labastie@neuf.fr>2022-03-22 21:20:46 +0100
commitdda039ba19878b5ce3751ad72fa092443326010b (patch)
tree88539d28aa00101239459df4042529a0c30b2bf8 /bootscripts
parent53b26d62bfc6b888931c4ef75a88fdd3b67ea269 (diff)
Update comments in the mountvirtfs booscript
Since the kernel can mount /dev if given the proper config parameter, and we tell users to set this parameter when building the kernel, this should be mentioned in the script
Diffstat (limited to 'bootscripts')
-rw-r--r--bootscripts/lfs/init.d/mountvirtfs8
1 files changed, 5 insertions, 3 deletions
diff --git a/bootscripts/lfs/init.d/mountvirtfs b/bootscripts/lfs/init.d/mountvirtfs
index 3507beea7..639634377 100644
--- a/bootscripts/lfs/init.d/mountvirtfs
+++ b/bootscripts/lfs/init.d/mountvirtfs
@@ -2,7 +2,7 @@
########################################################################
# Begin mountvirtfs
#
-# Description : Mount proc, sysfs, and run
+# Description : Ensure proc, sysfs, run, and dev are mounted
#
# Authors : Gerard Beekmans - gerard@linuxfromscratch.org
# DJ Lucas - dj@linuxfromscratch.org
@@ -20,10 +20,12 @@
# Should-Stop:
# Default-Start: S
# Default-Stop:
-# Short-Description: Mounts /sys and /proc virtual (kernel) filesystems.
-# Mounts /run (tmpfs) and /dev (devtmpfs).
+# Short-Description: Mounts various special fs needed at start
# Description: Mounts /sys and /proc virtual (kernel) filesystems.
# Mounts /run (tmpfs) and /dev (devtmpfs).
+# This is done only if they are not already mounted.
+# with the kernel config proposed in the book, dev
+# should be automatically mounted by the kernel.
# X-LFS-Provided-By: LFS
### END INIT INFO