Changeset 9fcb5e4 for boot/common/creatingdirs.xml
- Timestamp:
- Jun 21, 2006, 10:42:40 AM (18 years ago)
- Children:
- b71fa50
- Parents:
- 3962f52
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/common/creatingdirs.xml
r3962f52 r9fcb5e4 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,
Note:
See TracChangeset
for help on using the changeset viewer.