Ignore:
Timestamp:
Feb 21, 2006, 2:27:39 AM (18 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
3793118a
Parents:
eb55250
Message:

r1167@server (orig r1165): chris | 2006-02-11 08:13:02 -0800
Added -v to commands in the rest of the book

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/chroot/common/devices.xml

    reb55250 r94e6142  
    4141    class="directory">/dev</filename>:</para>
    4242
    43 <screen><userinput>mount -n -t tmpfs none /dev</userinput></screen>
     43<screen><userinput>mount -n -vt tmpfs none /dev</userinput></screen>
    4444
    4545    <para>The Udev package is what actually creates the devices in the
     
    5656mknod -m 444 /dev/random c 1 8
    5757mknod -m 444 /dev/urandom c 1 9
    58 chown root:tty /dev/{console,ptmx,tty}</userinput></screen>
     58chown -v root:tty /dev/{console,ptmx,tty}</userinput></screen>
    5959
    6060    <para>There are some symlinks and directories required by LFS that
     
    6363    and directories need to be created here:</para>
    6464
    65 <screen><userinput>ln -s /proc/self/fd /dev/fd
    66 ln -s /proc/self/fd/0 /dev/stdin
    67 ln -s /proc/self/fd/1 /dev/stdout
    68 ln -s /proc/self/fd/2 /dev/stderr
    69 ln -s /proc/kcore /dev/core
    70 mkdir /dev/pts
    71 mkdir /dev/shm</userinput></screen>
     65<screen><userinput>ln -sv /proc/self/fd /dev/fd
     66ln -sv /proc/self/fd/0 /dev/stdin
     67ln -sv /proc/self/fd/1 /dev/stdout
     68ln -sv /proc/self/fd/2 /dev/stderr
     69ln -sv /proc/kcore /dev/core
     70mkdir -v /dev/pts
     71mkdir -v /dev/shm</userinput></screen>
    7272
    7373    <para>Finally, mount the proper virtual (kernel) file systems on the
    7474    newly-created directories:</para>
    7575
    76 <screen><userinput>mount -t devpts -o gid=4,mode=620 none /dev/pts
    77 mount -t tmpfs none /dev/shm</userinput></screen>
     76<screen><userinput>mount -vt devpts -o gid=4,mode=620 none /dev/pts
     77mount -vt tmpfs none /dev/shm</userinput></screen>
    7878
    7979    <para>The <command>mount</command> commands executed above may result
Note: See TracChangeset for help on using the changeset viewer.