Changeset 0de816f8
- Timestamp:
- Jun 21, 2006, 10:42:40 AM (18 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- fb40919
- Parents:
- 689b882f
- Location:
- BOOK
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/boot/common/creatingdirs.xml
r689b882f r0de816f8 14 14 standard directory tree by issuing the following commands:</para> 15 15 16 <screen><userinput>install -dv ${LFS}/{bin,boot,dev,etc/opt,home,lib,mnt} 17 install -dv ${LFS}/{sbin,srv,usr/local,var,opt,proc,sys} 18 install -dv ${LFS}/root -m 0750 19 install -dv ${LFS}/tmp ${LFS}/var/tmp -m 1777 20 install -dv ${LFS}/media/{floppy,cdrom} 21 install -dv ${LFS}/usr/{bin,include,lib,sbin,share,src} 22 ln -sv share/{man,doc,info} ${LFS}/usr 23 install -dv ${LFS}/usr/share/{doc,info,locale,man} 24 install -dv ${LFS}/usr/share/{misc,terminfo,zoneinfo} 25 install -dv ${LFS}/usr/share/man/man{1,2,3,4,5,6,7,8} 26 install -dv ${LFS}/usr/local/{bin,etc,include,lib,sbin,share,src} 27 ln -sv share/{man,doc,info} ${LFS}/usr/local 28 install -dv ${LFS}/usr/local/share/{doc,info,locale,man} 29 install -dv ${LFS}/usr/local/share/{misc,terminfo,zoneinfo} 30 install -dv ${LFS}/usr/local/share/man/man{1,2,3,4,5,6,7,8} 31 install -dv ${LFS}/var/{lock,log,mail,run,spool} 32 install -dv ${LFS}/var/{opt,cache,lib/{misc,locate},local} 33 install -dv ${LFS}/opt/{bin,doc,include,info} 34 install -dv ${LFS}/opt/{lib,man/man{1,2,3,4,5,6,7,8}}</userinput></screen> 16 <screen><userinput>mkdir -pv ${LFS}/{bin,boot,dev,etc/opt,home,lib,mnt,opt} 17 mkdir -pv ${LFS}/{proc,media/{floppy,cdrom},sbin,srv,sys,var} 18 install -dv -m 0750 ${LFS}/root 19 install -dv -m 1777 ${LFS}{/var,}/tmp 20 mkdir -pv ${LFS}/usr/{,local/}{bin,include,lib,sbin,src} 21 mkdir -pv ${LFS}/usr/{,local/}share/{doc,info,locale,man} 22 mkdir -v ${LFS}/usr/{,local/}share/{misc,terminfo,zoneinfo} 23 mkdir -pv ${LFS}/usr/{,local/}share/man/man{1..8} 24 for dir in ${LFS}/usr{,/local}; do 25 ln -sv share/{man,doc,info} $dir 26 done 27 mkdir -v ${LFS}/var/{lock,log,mail,run,spool} 28 mkdir -pv ${LFS}/var/{opt,cache,lib/{misc,locate},local}</userinput></screen> 35 29 36 30 <para os="b">Directories are, by default, created with permission mode 755, -
BOOK/chroot/common/creatingdirs.xml
r689b882f r0de816f8 15 15 xpointer="xpointer(//*[@os='a'])"/> 16 16 17 <screen><userinput>install -dv /{bin,boot,etc/opt,home,lib,mnt} 18 install -dv /{sbin,srv,usr/local,var,opt,proc,sys} 19 install -dv /root -m 0750 20 install -dv /tmp /var/tmp -m 1777 21 install -dv /media/{floppy,cdrom} 22 install -dv /usr/{bin,include,lib,sbin,share,src} 23 ln -sv share/{man,doc,info} /usr 24 install -dv /usr/share/{doc,info,locale,man} 25 install -dv /usr/share/{misc,terminfo,zoneinfo} 26 install -dv /usr/share/man/man{1,2,3,4,5,6,7,8} 27 install -dv /usr/local/{bin,etc,include,lib,sbin,share,src} 28 ln -sv share/{man,doc,info} /usr/local 29 install -dv /usr/local/share/{doc,info,locale,man} 30 install -dv /usr/local/share/{misc,terminfo,zoneinfo} 31 install -dv /usr/local/share/man/man{1,2,3,4,5,6,7,8} 32 install -dv /var/{lock,log,mail,run,spool} 33 install -dv /var/{opt,cache,lib/{misc,locate},local} 34 install -dv /opt/{bin,doc,include,info} 35 install -dv /opt/{lib,man/man{1,2,3,4,5,6,7,8}}</userinput></screen> 17 <screen><userinput>mkdir -pv /{bin,boot,dev,etc/opt,home,lib,mnt,opt} 18 mkdir -pv /{proc,media/{floppy,cdrom},sbin,srv,sys,var} 19 install -dv -m 0750 /root 20 install -dv -m 1777 {/var,}/tmp 21 mkdir -pv /usr/{,local/}{bin,include,lib,sbin,src} 22 mkdir -pv /usr/{,local/}share/{doc,info,locale,man} 23 mkdir -v /usr/{,local/}share/{misc,terminfo,zoneinfo} 24 mkdir -pv /usr/{,local/}share/man/man{1..8} 25 for dir in /usr{,/local}; do 26 ln -sv share/{man,doc,info} $dir 27 done 28 mkdir -v /var/{lock,log,mail,run,spool} 29 mkdir -pv /var/{opt,cache,lib/{misc,locate},local}</userinput></screen> 36 30 37 31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
Note:
See TracChangeset
for help on using the changeset viewer.