Changeset 0060a51


Ignore:
Timestamp:
Jan 25, 2014, 7:19:32 PM (11 years ago)
Author:
William Harrington <kb0iic@…>
Branches:
clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
50a9abe1
Parents:
8c2ac4d
Message:

Add description and command to link /proc/self/mounts to /etc/mtab for boot section and /etc/mtab for chroot section of createfiles.

Location:
BOOK
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • BOOK/boot/64/createfiles.xml

    r8c2ac4d r0060a51  
    3333ln -sv /tools/lib/libstdc++.so{.6,} ${CLFS}/usr/lib64</userinput></screen>
    3434
     35  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     36  href="../common/createfiles.xml"
     37  xpointer="xpointer(//*[@os='c'])"/>
     38
     39  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     40  href="../common/createfiles.xml"
     41  xpointer="xpointer(//*[@os='d'])"/>
     42
    3543</sect1>
  • BOOK/boot/common/createfiles.xml

    r8c2ac4d r0060a51  
    2525ln -sv /run ${CLFS}/var/run</userinput></screen>
    2626
     27  <para os="c">Historically, Linux maintains a list of the mounted file systems
     28  in the file <filename>/etc/mtab</filename>. Modern kernels maintain this list
     29  internally and exposes it to the user via the
     30  <filename class="directory">/proc</filename> filesystem. To satisfy utilities
     31  that expect the presence of <filename>/etc/mtab</filename>, create the
     32  following symbolic link:</para>
     33
     34<screen os="d"><userinput>ln -sv /proc/self/mounts ${CLFS}/etc/mtab</userinput></screen>
     35
    2736</sect1>
  • BOOK/boot/mips64/createfiles.xml

    r8c2ac4d r0060a51  
    2828ln -sv ../run ${CLFS}/var/run</userinput></screen>
    2929
     30  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     31  href="../common/createfiles.xml"
     32  xpointer="xpointer(//*[@os='c'])"/>
     33
     34  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     35  href="../common/createfiles.xml"
     36  xpointer="xpointer(//*[@os='d'])"/>
     37
    3038</sect1>
  • BOOK/boot/multilib/createfiles.xml

    r8c2ac4d r0060a51  
    2626ln -sv ../run ${CLFS}/var/run</userinput></screen>
    2727
     28  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     29  href="../common/createfiles.xml"
     30  xpointer="xpointer(//*[@os='c'])"/>
     31
     32  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     33  href="../common/createfiles.xml"
     34  xpointer="xpointer(//*[@os='d'])"/>
     35
    2836</sect1>
  • BOOK/chroot/64/createfiles.xml

    r8c2ac4d r0060a51  
    3232ln -sv /tools/lib/libstdc++.so{.6,} /usr/lib64</userinput></screen>
    3333
     34    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     35    href="../../boot/common/createfiles.xml"
     36    xpointer="xpointer(//*[@os='c'])"/>
     37
     38    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     39    href="../common/createfiles.xml"
     40    xpointer="xpointer(//*[@os='d'])"/>
     41
    3442</sect1>
  • BOOK/chroot/common/createfiles.xml

    r8c2ac4d r0060a51  
    1111  <title>Creating Essential Symlinks</title>
    1212
    13   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    14   href="../../boot/common/createfiles.xml"
    15   xpointer="xpointer(//*[@os='a'])"/>
     13    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     14    href="../../boot/common/createfiles.xml"
     15    xpointer="xpointer(//*[@os='a'])"/>
    1616
    1717<screen><userinput>ln -sv /tools/bin/{bash,cat,echo,grep,pwd,stty} /bin
     
    2323ln -sv /run /var/run</userinput></screen>
    2424
     25    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     26    href="../../boot/common/createfiles.xml"
     27    xpointer="xpointer(//*[@os='c'])"/>
     28
     29<screen os="d"><userinput>ln -sv /proc/self/mounts /etc/mtab</userinput></screen>
     30
    2531</sect1>
  • BOOK/chroot/mips64/createfiles.xml

    r8c2ac4d r0060a51  
    2727ln -sv /run /var/run</userinput></screen>
    2828
     29    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     30    href="../../boot/common/createfiles.xml"
     31    xpointer="xpointer(//*[@os='c'])"/>
     32
     33    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     34    href="../common/createfiles.xml"
     35    xpointer="xpointer(//*[@os='d'])"/>
     36
    2937</sect1>
  • BOOK/chroot/multilib/createfiles.xml

    r8c2ac4d r0060a51  
    2424ln -sv /run /var/run</userinput></screen>
    2525
     26    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     27    href="../../boot/common/createfiles.xml"
     28    xpointer="xpointer(//*[@os='c'])"/>
     29
     30    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     31    href="../common/createfiles.xml"
     32    xpointer="xpointer(//*[@os='d'])"/>
     33
    2634</sect1>
Note: See TracChangeset for help on using the changeset viewer.