Changeset 6dfcfecc for chapter07/creatingdirs.xml
- Timestamp:
- 03/31/2021 10:41:39 AM (4 years ago)
- Branches:
- ml-11.0, multilib, xry111/multilib
- Children:
- 7610848
- Parents:
- 811b5a39
- git-author:
- Thomas Trepl <thomas@…> (06/29/2020 07:55:01 AM)
- git-committer:
- Xℹ Ruoyao <xry111@…> (03/31/2021 10:41:39 AM)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
chapter07/creatingdirs.xml
r811b5a39 r6dfcfecc 6 6 ]> 7 7 8 <sect1 id="ch- system-creatingdirs">8 <sect1 id="ch-tools-creatingdirs"> 9 9 <?dbhtml filename="creatingdirs.html"?> 10 10 11 11 <title>Creating Directories</title> 12 12 13 <para>It is time to create some structure in the LFS file system. Create a14 standard directory tree by issuing the following commands:</para>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> 15 15 16 16 <screen><userinput>mkdir -pv /{bin,boot,etc/{opt,sysconfig},home,lib/firmware,mnt,opt} 17 mkdir -pv /{media/{floppy,cdrom},sbin,srv,var} 18 install -dv -m 0750 /root 19 install -dv -m 1777 /tmp /var/tmp 17 mkdir -pv /{media/{floppy,cdrom},srv,var} 20 18 mkdir -pv /usr/{,local/}{bin,include,lib,sbin,src} 21 19 mkdir -pv /usr/{,local/}share/{color,dict,doc,info,locale,man} 22 mkdir -v /usr/{,local/}share/{misc,terminfo,zoneinfo} 23 mkdir -v /usr/libexec 20 mkdir -pv /usr/{,local/}share/{misc,terminfo,zoneinfo} 24 21 mkdir -pv /usr/{,local/}share/man/man{1..8} 25 mkdir -v /usr/lib/pkgconfig 26 27 case $(uname -m) in 28 x86_64) mkdir -v /lib64 ;; 29 esac 22 install -dv -m 1777 /tmp /var/tmp 23 install -dv -m 0750 /root 30 24 31 25 mkdir -v /var/{log,mail,spool} … … 33 27 ln -sv /run/lock /var/lock 34 28 mkdir -pv /var/{opt,cache,lib/{color,misc,locate},local}</userinput></screen> 35 <screen arch="ml_32,mlx32,ml_all"><userinput arch="ml_32,ml_all">mkdir -pv /usr/lib32 36 install -vdm755 /usr/lib32/pkgconfig</userinput> 37 <userinput arch="ml_x32,ml_all">mkdir -pv /usr/libx32 38 install -vdm755 /usr/libx32/pkgconfig</userinput></screen> 29 30 <para arch="ml_32,ml_x32,ml_all">Required directories for multilib 31 support has already been created while previous installation steps.</para> 39 32 40 33 <para>Directories are, by default, created with permission mode 755, but
Note:
See TracChangeset
for help on using the changeset viewer.