- 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
- Files:
-
- 9 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> -
BOOK/chroot/common/creatingdirs.xml
r906ec5b rd012cdb5 31 31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 32 32 href="../../boot/common/creatingdirs.xml" 33 xpointer="xpointer(//*[@os=' b'])"/>33 xpointer="xpointer(//*[@os='c'])"/> 34 34 35 <para os=" c">The first mode change ensures that not just anybody can enter35 <para os="d">The first mode change ensures that not just anybody can enter 36 36 the <filename class="directory">/root</filename> directory—the 37 37 same as a normal user would do with his or her home directory. The … … 45 45 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 46 46 href="../../boot/common/creatingdirs.xml" 47 xpointer="xpointer(//*[@os=' d'])"/>47 xpointer="xpointer(//*[@os='e'])"/> 48 48 49 49 </sect1> -
BOOK/chroot/mips/creatingdirs.xml
r906ec5b rd012cdb5 15 15 xpointer="xpointer(//*[@os='a'])"/> 16 16 17 <screen><userinput>install -dv /{bin,boot,dev,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 <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 os="m1">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/chroot/mips64/creatingdirs.xml
r906ec5b rd012cdb5 48 48 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 49 49 href="../common/creatingdirs.xml" 50 xpointer="xpointer(//*[@os='b'])"/>51 52 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"53 href="../common/creatingdirs.xml"54 50 xpointer="xpointer(//*[@os='c'])"/> 55 51 … … 58 54 xpointer="xpointer(//*[@os='d'])"/> 59 55 56 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 57 href="../common/creatingdirs.xml" 58 xpointer="xpointer(//*[@os='e'])"/> 59 60 60 </sect1> -
BOOK/chroot/multilib/creatingdirs.xml
r906ec5b rd012cdb5 39 39 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 40 40 href="../common/creatingdirs.xml" 41 xpointer="xpointer(//*[@os='b'])"/>42 43 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"44 href="../common/creatingdirs.xml"45 41 xpointer="xpointer(//*[@os='c'])"/> 46 42 … … 49 45 xpointer="xpointer(//*[@os='d'])"/> 50 46 47 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 48 href="../common/creatingdirs.xml" 49 xpointer="xpointer(//*[@os='e'])"/> 50 51 51 </sect1> -
BOOK/introduction/common/changelog.xml
r906ec5b rd012cdb5 41 41 <itemizedlist> 42 42 <listitem> 43 <para>[Chris] - Modified the "creating directories" sections - 44 changed multilib instructions to be consistent with the new format 45 now used for every other arch, and changed mips instructions to 46 use xincludes.</para> 47 </listitem> 48 </itemizedlist> 49 </listitem> 50 51 <listitem> 52 <para>July 6, 2006</para> 53 <itemizedlist> 54 <listitem> 43 55 <para>[jim] - Updated Udev rules to 07062006, Fixed cdrom, 44 56 permissions and groups.</para>
Note:
See TracChangeset
for help on using the changeset viewer.