- Timestamp:
- Jul 7, 2006, 8:36:27 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:
- eda9ef8
- Parents:
- 906ec5b
- Location:
- BOOK/boot
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/boot/common/creatingdirs.xml
r906ec5b rd012cdb5 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}16 <screen os="b"><userinput>mkdir -pv ${CLFS}/{bin,boot,dev,etc/opt,home,lib,mnt,opt} 17 17 mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom},sbin,srv,sys,var} 18 18 install -dv -m 0750 ${CLFS}/root … … 28 28 mkdir -pv ${CLFS}/var/{opt,cache,lib/{misc,locate},local}</userinput></screen> 29 29 30 <para os=" b">Directories are, by default, created with permission mode 755,30 <para os="c">Directories are, by default, created with permission mode 755, 31 31 but this is not desirable for all directories. In the commands above, 32 32 two changes are made—one to the home directory of user … … 34 34 directories for temporary files.</para> 35 35 36 <para os=" c">The first mode change ensures that not just anybody can enter36 <para os="d">The first mode change ensures that not just anybody can enter 37 37 the <filename class="directory">${CLFS}/root</filename> directory—the 38 38 same as a normal user would do with his or her home directory. The … … 44 44 1777 bit mask.</para> 45 45 46 <sect2 os=" d">46 <sect2 os="e"> 47 47 <title>FHS Compliance Note</title> 48 48 -
BOOK/boot/mips/creatingdirs.xml
r906ec5b rd012cdb5 15 15 xpointer="xpointer(//*[@os='a'])"/> 16 16 17 <screen><userinput>install -dv ${CLFS}/{bin,boot,dev,etc/opt,home,lib,mnt} 18 install -dv ${CLFS}/{sbin,srv,usr/local,var,opt,proc,sys} 19 install -dv ${CLFS}/root -m 0750 20 install -dv ${CLFS}/tmp ${CLFS}/var/tmp -m 1777 21 install -dv ${CLFS}/media/{floppy,cdrom} 22 install -dv ${CLFS}/usr/{bin,include,lib,sbin,share,src} 23 ln -sv share/{man,doc,info} ${CLFS}/usr 24 install -dv ${CLFS}/usr/share/{doc,info,locale,man} 25 install -dv ${CLFS}/usr/share/{misc,terminfo,zoneinfo} 26 install -dv ${CLFS}/usr/share/man/man{1,2,3,4,5,6,7,8} 27 install -dv ${CLFS}/usr/local/{bin,etc,include,lib,sbin,share,src} 28 ln -sv share/{man,doc,info} ${CLFS}/usr/local 29 install -dv ${CLFS}/usr/local/share/{doc,info,locale,man} 30 install -dv ${CLFS}/usr/local/share/{misc,terminfo,zoneinfo} 31 install -dv ${CLFS}/usr/local/share/man/man{1,2,3,4,5,6,7,8} 32 install -dv ${CLFS}/var/{lock,log,mail,run,spool} 33 install -dv ${CLFS}/var/{opt,cache,lib/{misc,locate},local} 34 install -dv ${CLFS}/opt/{bin,doc,include,info} 35 install -dv ${CLFS}/opt/{lib,man/man{1,2,3,4,5,6,7,8}}</userinput></screen> 17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 18 href="../common/creatingdirs.xml" 19 xpointer="xpointer(//*[@os='b'])"/> 36 20 37 21 <para>These entries are needed for the RaQ2 bootloader. Only use these … … 43 27 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 44 28 href="../common/creatingdirs.xml" 45 xpointer="xpointer(//*[@os='b'])"/>46 47 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"48 href="../common/creatingdirs.xml"49 29 xpointer="xpointer(//*[@os='c'])"/> 50 30 … … 53 33 xpointer="xpointer(//*[@os='d'])"/> 54 34 35 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 36 href="../common/creatingdirs.xml" 37 xpointer="xpointer(//*[@os='e'])"/> 38 55 39 </sect1> -
BOOK/boot/mips64/creatingdirs.xml
r906ec5b rd012cdb5 46 46 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 47 47 href="../common/creatingdirs.xml" 48 xpointer="xpointer(//*[@os='b'])"/>49 50 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"51 href="../common/creatingdirs.xml"52 48 xpointer="xpointer(//*[@os='c'])"/> 53 49 … … 56 52 xpointer="xpointer(//*[@os='d'])"/> 57 53 54 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 55 href="../common/creatingdirs.xml" 56 xpointer="xpointer(//*[@os='e'])"/> 57 58 58 </sect1> -
BOOK/boot/multilib/creatingdirs.xml
r906ec5b rd012cdb5 15 15 xpointer="xpointer(//*[@os='a'])"/> 16 16 17 <screen ><userinput>install -dv ${CLFS}/{bin,boot,dev,etc/opt,home,lib{,64},mnt}18 install -dv ${CLFS}/{sbin,srv,usr/local,var,opt,proc,sys}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} 19 19 install -dv ${CLFS}/root -m 0750 20 install -dv ${CLFS}/tmp ${CLFS}/var/tmp -m 1777 21 install -dv ${CLFS}/media/{floppy,cdrom} 22 install -dv ${CLFS}/usr/{bin,include,lib{,64},sbin,share,src} 23 ln -sv share/{man,doc,info} ${CLFS}/usr 24 install -dv ${CLFS}/usr/share/{doc,info,locale,man} 25 install -dv ${CLFS}/usr/share/{misc,terminfo,zoneinfo} 26 install -dv ${CLFS}/usr/share/man/man{1,2,3,4,5,6,7,8} 27 install -dv ${CLFS}/usr/local/{bin,etc,include,lib{,64},sbin,share,src} 28 ln -sv share/{man,doc,info} ${CLFS}/usr/local 29 install -dv ${CLFS}/usr/local/share/{doc,info,locale,man} 30 install -dv ${CLFS}/usr/local/share/{misc,terminfo,zoneinfo} 31 install -dv ${CLFS}/usr/local/share/man/man{1,2,3,4,5,6,7,8} 32 install -dv ${CLFS}/var/{lock,log,mail,run,spool} 33 install -dv ${CLFS}/var/{opt,cache,lib{,64}/{misc,locate},local} 34 install -dv ${CLFS}/opt/{bin,doc,include,info} 35 install -dv ${CLFS}/opt/{lib{,64},man/man{1,2,3,4,5,6,7,8}} 20 install -dv ${CLFS}{/var,}/tmp -m 1777 21 mkdir -pv ${CLFS}/usr/{,local/}{bin,include,lib{,64},sbin,src} 22 mkdir -pv ${CLFS}/usr/{,local/}share/{doc,info,locale,man} 23 mkdir -pv ${CLFS}/usr/{,local/}share/{misc,terminfo,zoneinfo} 24 mkdir -pv ${CLFS}/usr/{,local/}share/man/man{1,2,3,4,5,6,7,8} 25 for dir in /usr{,/local}; do 26 ln -sv share/{man,doc,info} $dir 27 done 28 mkdir -pv ${CLFS}/var/{lock,log,mail,run,spool} 29 mkdir -pv ${CLFS}/var/{opt,cache,lib{,64}/{misc,locate},local} 36 30 install -dv ${CLFS}/usr/lib/locale 37 31 ln -sv ../lib/locale ${CLFS}/usr/lib64</userinput></screen> 38 39 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"40 href="../common/creatingdirs.xml"41 xpointer="xpointer(//*[@os='b'])"/>42 32 43 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 49 39 xpointer="xpointer(//*[@os='d'])"/> 50 40 41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 42 href="../common/creatingdirs.xml" 43 xpointer="xpointer(//*[@os='e'])"/> 44 51 45 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.