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