Changeset 17ca548


Ignore:
Timestamp:
08/02/2020 05:13:12 AM (15 months 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, ml-11.0, multilib, trunk, xry111/git-transition, xry111/glibc-2.34, xry111/tester-nohack, xry111/usr-move
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.