aboutsummaryrefslogtreecommitdiffstats
path: root/bootscripts
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2012-05-24 22:46:38 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2012-05-24 22:46:38 +0000
commit1025b2a0b09ef8241c5ef1648858ea7b830bb36e (patch)
tree2031593d659525bc3ce5943aee291ac7a7528c98 /bootscripts
parent40690e1f21f7d780f7202277f05e03967d3f4012 (diff)
Minor tweaks to mountkernfs boot script
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9861 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'bootscripts')
-rw-r--r--bootscripts/ChangeLog3
-rw-r--r--bootscripts/lfs/init.d/mountvirtfs5
2 files changed, 5 insertions, 3 deletions
diff --git a/bootscripts/ChangeLog b/bootscripts/ChangeLog
index 93b5f8991..752d41733 100644
--- a/bootscripts/ChangeLog
+++ b/bootscripts/ChangeLog
@@ -1,3 +1,6 @@
+2012-05-24 Bruce Dubbs <bdubbs@linuxfromscratch.org>
+ * Remove mkdir from mountvirtfs because fs is read only
+
2012-04-09 Bruce Dubbs <bdubbs@linuxfromscratch.org>
* General update of network scripts ifup/ifdown and services
diff --git a/bootscripts/lfs/init.d/mountvirtfs b/bootscripts/lfs/init.d/mountvirtfs
index 0330a1a97..456e62479 100644
--- a/bootscripts/lfs/init.d/mountvirtfs
+++ b/bootscripts/lfs/init.d/mountvirtfs
@@ -21,9 +21,9 @@
# Default-Start: S
# Default-Stop:
# Short-Description: Mounts /sys and /proc virtual (kernel) filesystems.
-# Mounts /run tmpfs.
+# Mounts /run (tmpfs) and /dev (devtmpfs).
# Description: Mounts /sys and /proc virtual (kernel) filesystems.
-# Mounts /run tmpfs.
+# Mounts /run (tmpfs) and /dev (devtmpfs).
# X-LFS-Provided-By: LFS
### END INIT INFO
@@ -32,7 +32,6 @@
case "${1}" in
start)
# Make sure /run/var is available before logging any messages
- mkdir -p /run
mount -n /run || failed=1
mkdir -p /run/var /run/lock /run/shm
chmod 1777 /run/shm