- Timestamp:
- Jul 9, 2006, 10:06:57 AM (18 years ago)
- Branches:
- master
- Children:
- 5d6eb6e
- Parents:
- ea6608b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-preps/creatingdirs.xml
rea6608b r013ff2a 14 14 standard directory tree by issuing the following commands:</para> 15 15 16 <screen><userinput>mkdir -pv ${CLFS}/{bin,boot,dev,etc/opt,home,lib,mnt,opt} 17 mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom},sbin,srv,sys,var} 16 <screen><userinput>mkdir -pv ${CLFS}/{bin,boot,dev,{etc/,}opt,home,lib,mnt} 17 mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom},sbin,srv,sys} 18 mkdir -pv ${CLFS}/var/{lock,log,mail,run,spool} 19 mkdir -pv ${CLFS}/var/{opt,cache,lib/{misc,locate},local} 18 20 install -dv -m 0750 ${CLFS}/root 19 21 install -dv -m 1777 ${CLFS}{/var,}/tmp 20 22 mkdir -pv ${CLFS}/usr/{,local/}{bin,include,lib,sbin,src} 21 23 mkdir -pv ${CLFS}/usr/{,local/}share/{doc,info,locale,man} 22 mkdir - v${CLFS}/usr/{,local/}share/{misc,terminfo,zoneinfo}23 mkdir -pv ${CLFS}/usr/{,local/}share/man/man{1 ..8}24 mkdir -pv ${CLFS}/usr/{,local/}share/{misc,terminfo,zoneinfo} 25 mkdir -pv ${CLFS}/usr/{,local/}share/man/man{1,2,3,4,5,6,7,8} 24 26 for dir in ${CLFS}/usr{,/local}; do 25 27 ln -sv share/{man,doc,info} $dir 26 done 27 mkdir -v ${CLFS}/var/{lock,log,mail,run,spool} 28 mkdir -pv ${CLFS}/var/{opt,cache,lib/{misc,locate},local}</userinput></screen> 28 done</userinput></screen> 29 29 30 30 <para>Directories are, by default, created with permission mode 755, but
Note:
See TracChangeset
for help on using the changeset viewer.