aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2011-04-19 03:26:49 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2011-04-19 03:26:49 +0000
commit9f318ba306fa33ba0e626d6d3dc0bc24291ee2f0 (patch)
tree1b96d697539e061c47f580ea8dffdeb61b3e7e83 /chapter06
parent7a88173e383114e7a76b584f08e68ba5ecc3bc94 (diff)
Add new /run mount point to top level directories. Mount a tmpfs on /run in
bootscripts. Add symlinks to use new /run tmpfs. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9510 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/creatingdirs.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/chapter06/creatingdirs.xml b/chapter06/creatingdirs.xml
index edd659738..6dc5d3455 100644
--- a/chapter06/creatingdirs.xml
+++ b/chapter06/creatingdirs.xml
@@ -13,7 +13,7 @@
<para>It is time to create some structure in the LFS file system. Create a
standard directory tree by issuing the following commands:</para>
-<screen><userinput>mkdir -pv /{bin,boot,etc/opt,home,lib,mnt,opt}
+<screen><userinput>mkdir -pv /{bin,boot,etc/opt,home,lib,mnt,opt,run}
mkdir -pv /{media/{floppy,cdrom},sbin,srv,var}
install -dv -m 0750 /root
install -dv -m 1777 /tmp /var/tmp
@@ -27,7 +27,9 @@ done
case $(uname -m) in
x86_64) ln -sv lib /lib64 &amp;&amp; ln -sv lib /usr/lib64 ;;
esac
-mkdir -v /var/{lock,log,mail,run,spool}
+mkdir -v /var/{log,mail,spool}
+ln -sv /run /var/run
+ln -sv /run/lock /var/lock
mkdir -pv /var/{opt,cache,lib/{misc,locate},local}</userinput></screen>
<para>Directories are, by default, created with permission mode 755, but