From dda039ba19878b5ce3751ad72fa092443326010b Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Tue, 22 Mar 2022 21:20:46 +0100 Subject: 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 --- bootscripts/lfs/init.d/mountvirtfs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'bootscripts') 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 -- cgit v1.2.3-54-g00ecf