aboutsummaryrefslogtreecommitdiffstats
path: root/bootscripts
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2012-05-30 20:49:17 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2012-05-30 20:49:17 +0000
commit9a70048e1203ae52a7b99f6f8a3ab7992f5e1067 (patch)
tree915ef0674f367bd3682e944c6af5c8cc2eef23e8 /bootscripts
parent4428ad0165dbeab9056659ae94ed09cf7ae12328 (diff)
Copy all entries in /lib/udev/devices to /dev in mountvirtfs.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9868 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'bootscripts')
-rw-r--r--bootscripts/ChangeLog3
-rw-r--r--bootscripts/lfs/init.d/mountvirtfs7
2 files changed, 6 insertions, 4 deletions
diff --git a/bootscripts/ChangeLog b/bootscripts/ChangeLog
index 752d41733..a2eb6c439 100644
--- a/bootscripts/ChangeLog
+++ b/bootscripts/ChangeLog
@@ -1,3 +1,6 @@
+2012-05-30 Bruce Dubbs <bdubbs@linuxfromscratch.org>
+ * Copy all entries in /lib/udev/devices to /dev in mounvirtfs
+
2012-05-24 Bruce Dubbs <bdubbs@linuxfromscratch.org>
* Remove mkdir from mountvirtfs because fs is read only
diff --git a/bootscripts/lfs/init.d/mountvirtfs b/bootscripts/lfs/init.d/mountvirtfs
index 456e62479..fab73d5b6 100644
--- a/bootscripts/lfs/init.d/mountvirtfs
+++ b/bootscripts/lfs/init.d/mountvirtfs
@@ -53,12 +53,11 @@ case "${1}" in
mount -n -o mode=0755,nosuid /dev || failed=1
fi
+ # Copy devices that Udev >= 155 doesn't handle to /dev
+ cp -a /lib/udev/devices/* /dev
+
ln -s /run/shm /dev/shm
- # Copy the only static device node that Udev >= 155 doesn't
- # handle to /dev
- cp -a /lib/udev/devices/null /dev
-
(exit ${failed})
evaluate_retval
exit $failed