Changeset 17ca548


Ignore:
Timestamp:
08/02/2020 05:13:12 AM (4 years ago)
Author:
Thomas Trepl <thomas@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
ba82c18
Parents:
a0de64c
Message:

Some cosmetic tweaks

  • Reorder commants to match descriptive text (/root, /tmp)
  • Sort commands alphabetically

Changes based on notes from Kevin B. @lfs-dev

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12006 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter07/creatingdirs.xml

    ra0de64c r17ca548  
    1111  <title>Creating Directories</title>
    1212
    13   <para>It is time to create the full structure in the LFS file system. Create
    14   a standard directory tree by issuing the following commands:</para>
     13  <para>It is time to create the full structure in the LFS file system.</para>
    1514
    16 <screen><userinput>mkdir -pv /{bin,boot,etc/{opt,sysconfig},home,lib/firmware,mnt,opt}
    17 mkdir -pv /{media/{floppy,cdrom},srv,var}
     15  <para>Create some root-level directories that are not in the limited set
     16    required in the previous chapters by issuing the following command:</para>
     17
     18<screen><userinput>mkdir -pv /{boot,home,mnt,opt,srv}</userinput></screen>
     19
     20  <para>Create the required set of subdirectories below the root-level by
     21    issuing the following commands:</para>
     22
     23<screen><userinput>mkdir -pv /etc/{opt,sysconfig}
     24mkdir -pv /lib/firmware
     25mkdir -pv /media/{floppy,cdrom}
    1826mkdir -pv /usr/{,local/}{bin,include,lib,sbin,src}
    1927mkdir -pv /usr/{,local/}share/{color,dict,doc,info,locale,man}
    2028mkdir -pv /usr/{,local/}share/{misc,terminfo,zoneinfo}
    2129mkdir -pv /usr/{,local/}share/man/man{1..8}
    22 install -dv -m 0750 /root
    23 install -dv -m 1777 /tmp /var/tmp
     30mkdir -pv /var/{cache,local,log,mail,opt,spool}
     31mkdir -pv /var/lib/{color,misc,locate}
    2432
    25 mkdir -v /var/{log,mail,spool}
    2633ln -sv /run /var/run
    2734ln -sv /run/lock /var/lock
    28 mkdir -pv /var/{opt,cache,lib/{color,misc,locate},local}</userinput></screen>
     35
     36install -dv -m 0750 /root
     37install -dv -m 1777 /tmp /var/tmp</userinput></screen>
    2938
    3039  <para>Directories are, by default, created with permission mode 755, but
Note: See TracChangeset for help on using the changeset viewer.