Ignore:
Timestamp:
09/29/2005 08:55:40 PM (19 years ago)
Author:
Matthew Burgess <matthew@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 12.2, 12.2-rc1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
2f1cb7d
Parents:
8c68add
Message:

Add -v to commands that accept it

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@6913 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/devices.xml

    r8c68add r5998892  
    3838otherwise do by mounting <filename class="directory">/dev</filename>:</para>
    3939
    40 <screen><userinput>mount -n -t tmpfs none /dev</userinput></screen>
     40<screen><userinput>mount -nvt tmpfs none /dev</userinput></screen>
    4141
    4242<para>The Udev package is what actually creates the devices in the <filename
     
    5252mknod -m 444 /dev/random c 1 8
    5353mknod -m 444 /dev/urandom c 1 9
    54 chown root:tty /dev/{console,ptmx,tty}</userinput></screen>
     54chown -v root:tty /dev/{console,ptmx,tty}</userinput></screen>
    5555
    5656<para>There are some symlinks and directories required by LFS that are created
     
    5959be created here:</para>
    6060
    61 <screen><userinput>ln -s /proc/self/fd /dev/fd
    62 ln -s /proc/self/fd/0 /dev/stdin
    63 ln -s /proc/self/fd/1 /dev/stdout
    64 ln -s /proc/self/fd/2 /dev/stderr
    65 ln -s /proc/kcore /dev/core
    66 mkdir /dev/pts
    67 mkdir /dev/shm</userinput></screen>
     61<screen><userinput>ln -sv /proc/self/fd /dev/fd
     62ln -sv /proc/self/fd/0 /dev/stdin
     63ln -sv /proc/self/fd/1 /dev/stdout
     64ln -sv /proc/self/fd/2 /dev/stderr
     65ln -sv /proc/kcore /dev/core
     66mkdir -v /dev/pts
     67mkdir -v /dev/shm</userinput></screen>
    6868
    6969<para>Finally, mount the proper virtual (kernel) file systems on the
    7070newly-created directories:</para>
    7171
    72 <screen><userinput>mount -t devpts -o gid=4,mode=620 none /dev/pts
    73 mount -t tmpfs none /dev/shm</userinput></screen>
     72<screen><userinput>mount -vt devpts -o gid=4,mode=620 none /dev/pts
     73mount -vt tmpfs none /dev/shm</userinput></screen>
    7474
    7575<para>The <command>mount</command> commands executed above may result
Note: See TracChangeset for help on using the changeset viewer.