Changeset 94e6142 for BOOK/chroot


Ignore:
Timestamp:
Feb 21, 2006, 2:27:39 AM (19 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

Location:
BOOK/chroot
Files:
9 edited

Legend:

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

    reb55250 r94e6142  
    3030    xpointer="xpointer(//*[@os='c'])"/>
    3131
    32 <screen><userinput>chown -R 0:0 /tools
    33 chown -R 0:0 /cross-tools</userinput></screen>
     32<screen><userinput>chown -Rv 0:0 /tools
     33chown -Rv 0:0 /cross-tools</userinput></screen>
    3434
    3535    <para>The commands use <parameter>0:0</parameter> instead of
  • BOOK/chroot/common/creatingdirs.xml

    reb55250 r94e6142  
    1515  xpointer="xpointer(//*[@os='a'])"/>
    1616
    17 <screen><userinput>install -d /{bin,boot,dev,etc/opt,home,lib,mnt}
    18 install -d /{sbin,srv,usr/local,var,opt,proc,sys}
    19 install -d /root -m 0750
    20 install -d /tmp /var/tmp -m 1777
    21 install -d /media/{floppy,cdrom}
    22 install -d /usr/{bin,include,lib,sbin,share,src}
    23 ln -s share/{man,doc,info} /usr
    24 install -d /usr/share/{doc,info,locale,man}
    25 install -d /usr/share/{misc,terminfo,zoneinfo}
    26 install -d /usr/share/man/man{1,2,3,4,5,6,7,8}
    27 install -d /usr/local/{bin,etc,include,lib,sbin,share,src}
    28 ln -s share/{man,doc,info} /usr/local
    29 install -d /usr/local/share/{doc,info,locale,man}
    30 install -d /usr/local/share/{misc,terminfo,zoneinfo}
    31 install -d /usr/local/share/man/man{1,2,3,4,5,6,7,8}
    32 install -d /var/{lock,log,mail,run,spool}
    33 install -d /var/{opt,cache,lib/{misc,locate},local}
    34 install -d /opt/{bin,doc,include,info}
    35 install -d /opt/{lib,man/man{1,2,3,4,5,6,7,8}}</userinput></screen>
     17<screen><userinput>install -dv /{bin,boot,dev,etc/opt,home,lib,mnt}
     18install -dv /{sbin,srv,usr/local,var,opt,proc,sys}
     19install -dv /root -m 0750
     20install -dv /tmp /var/tmp -m 1777
     21install -dv /media/{floppy,cdrom}
     22install -dv /usr/{bin,include,lib,sbin,share,src}
     23ln -sv share/{man,doc,info} /usr
     24install -dv /usr/share/{doc,info,locale,man}
     25install -dv /usr/share/{misc,terminfo,zoneinfo}
     26install -dv /usr/share/man/man{1,2,3,4,5,6,7,8}
     27install -dv /usr/local/{bin,etc,include,lib,sbin,share,src}
     28ln -sv share/{man,doc,info} /usr/local
     29install -dv /usr/local/share/{doc,info,locale,man}
     30install -dv /usr/local/share/{misc,terminfo,zoneinfo}
     31install -dv /usr/local/share/man/man{1,2,3,4,5,6,7,8}
     32install -dv /var/{lock,log,mail,run,spool}
     33install -dv /var/{opt,cache,lib/{misc,locate},local}
     34install -dv /opt/{bin,doc,include,info}
     35install -dv /opt/{lib,man/man{1,2,3,4,5,6,7,8}}</userinput></screen>
    3636
    3737  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • 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
  • BOOK/chroot/common/kernfs.xml

    reb55250 r94e6142  
    2626  be mounted:</para>
    2727
    28 <screen><userinput>mkdir -p $LFS/{proc,sys}</userinput></screen>
     28<screen><userinput>mkdir -pv $LFS/{proc,sys}</userinput></screen>
    2929
    3030  <para>Now mount the file systems:</para>
    3131
    32 <screen><userinput>mount -t proc proc $LFS/proc
     32<screen><userinput>mount -vt proc proc $LFS/proc
    3333mount -t sysfs sysfs $LFS/sys</userinput></screen>
    3434
     
    4141  mount</quote> for each of these now:</para>
    4242
    43 <screen><userinput>mount -f -t tmpfs tmpfs $LFS/dev
    44 mount -f -t tmpfs tmpfs $LFS/dev/shm
    45 mount -f -t devpts -o gid=10,mode=620 devpts $LFS/dev/pts</userinput></screen>
     43<screen><userinput>mount -f -vt tmpfs tmpfs $LFS/dev
     44mount -f -vt tmpfs tmpfs $LFS/dev/shm
     45mount -f -vt devpts -o gid=10,mode=620 devpts $LFS/dev/pts</userinput></screen>
    4646
    4747</sect1>
  • BOOK/chroot/common/pwdgroup.xml

    reb55250 r94e6142  
    116116
    117117<screen><userinput>touch /var/run/utmp /var/log/{btmp,lastlog,wtmp}
    118 chgrp utmp /var/run/utmp /var/log/lastlog
    119 chmod 664 /var/run/utmp /var/log/lastlog
    120 chmod 600 /var/log/btmp</userinput></screen>
     118chgrp -v utmp /var/run/utmp /var/log/lastlog
     119chmod -v 664 /var/run/utmp /var/log/lastlog
     120chmod -v 600 /var/log/btmp</userinput></screen>
    121121
    122122  <para>The <filename>/var/run/utmp</filename> file records the users that
  • BOOK/chroot/common/util-linux.xml

    reb55250 r94e6142  
    3535    xpointer="xpointer(//*[@os='ba'])"/>
    3636
    37 <screen os="ca"><userinput>cp configure configure.orig
     37<screen os="ca"><userinput>cp -v configure configure.orig
    3838sed -e 's@/usr/include@/tools/include@g' configure.orig &gt; configure</userinput></screen>
    3939
     
    5656    <para os="cg">Copy these programs to the temporary tools directory:</para>
    5757
    58 <screen os="ch"><userinput>cp mount/{,u}mount text-utils/more /tools/bin</userinput></screen>
     58<screen os="ch"><userinput>cp -v mount/{,u}mount text-utils/more /tools/bin</userinput></screen>
    5959
    6060  </sect2>
  • BOOK/chroot/mips/creatingdirs.xml

    reb55250 r94e6142  
    1515  xpointer="xpointer(//*[@os='a'])"/>
    1616
    17 <screen><userinput>install -d /{bin,boot,dev,etc/opt,home,lib,mnt}
    18 install -d /{sbin,srv,usr/local,var,opt,proc,sys}
    19 install -d /root -m 0750
    20 install -d /tmp /var/tmp -m 1777
    21 install -d /media/{floppy,cdrom}
    22 install -d /usr/{bin,include,lib,sbin,share,src}
    23 ln -s share/{man,doc,info} /usr
    24 install -d /usr/share/{doc,info,locale,man}
    25 install -d /usr/share/{misc,terminfo,zoneinfo}
    26 install -d /usr/share/man/man{1,2,3,4,5,6,7,8}
    27 install -d /usr/local/{bin,etc,include,lib,sbin,share,src}
    28 ln -s share/{man,doc,info} /usr/local
    29 install -d /usr/local/share/{doc,info,locale,man}
    30 install -d /usr/local/share/{misc,terminfo,zoneinfo}
    31 install -d /usr/local/share/man/man{1,2,3,4,5,6,7,8}
    32 install -d /var/{lock,log,mail,run,spool}
    33 install -d /var/{opt,cache,lib/{misc,locate},local}
    34 install -d /opt/{bin,doc,include,info}
    35 install -d /opt/{lib,man/man{1,2,3,4,5,6,7,8}}</userinput></screen>
     17<screen><userinput>install -dv /{bin,boot,dev,etc/opt,home,lib,mnt}
     18install -dv /{sbin,srv,usr/local,var,opt,proc,sys}
     19install -dv /root -m 0750
     20install -dv /tmp /var/tmp -m 1777
     21install -dv /media/{floppy,cdrom}
     22install -dv /usr/{bin,include,lib,sbin,share,src}
     23ln -sv share/{man,doc,info} /usr
     24install -dv /usr/share/{doc,info,locale,man}
     25install -dv /usr/share/{misc,terminfo,zoneinfo}
     26install -dv /usr/share/man/man{1,2,3,4,5,6,7,8}
     27install -dv /usr/local/{bin,etc,include,lib,sbin,share,src}
     28ln -sv share/{man,doc,info} /usr/local
     29install -dv /usr/local/share/{doc,info,locale,man}
     30install -dv /usr/local/share/{misc,terminfo,zoneinfo}
     31install -dv /usr/local/share/man/man{1,2,3,4,5,6,7,8}
     32install -dv /var/{lock,log,mail,run,spool}
     33install -dv /var/{opt,cache,lib/{misc,locate},local}
     34install -dv /opt/{bin,doc,include,info}
     35install -dv /opt/{lib,man/man{1,2,3,4,5,6,7,8}}</userinput></screen>
    3636
    3737   <para os="m1">These entries are needed for the RaQ2 bootloader. Only use these
     
    3939
    4040<screen os="m2"><userinput>cd /boot
    41 ln -sf . boot</userinput></screen>
     41ln -svf . boot</userinput></screen>
    4242
    4343  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/chroot/mips64/creatingdirs.xml

    reb55250 r94e6142  
    1515  xpointer="xpointer(//*[@os='a'])"/>
    1616
    17 <screen><userinput>install -d /{bin,boot,dev,etc/opt,home,lib{,32,64},mnt}
    18 install -d /{sbin,srv,usr/local,var,opt,proc,sys}
    19 install -d /root -m 0750
    20 install -d /tmp /var/tmp -m 1777
    21 install -d /media/{floppy,cdrom}
    22 install -d /usr/{bin,include,lib{,32,64},sbin,share,src}
    23 ln -s share/{man,doc,info} /usr
    24 install -d /usr/share/{doc,info,locale,man}
    25 install -d /usr/share/{misc,terminfo,zoneinfo}
    26 install -d /usr/share/man/man{1,2,3,4,5,6,7,8}
    27 install -d /usr/local/{bin,etc,include,lib{,32,64},sbin,share,src}
    28 ln -s share/{man,doc,info} /usr/local
    29 install -d /usr/local/share/{doc,info,locale,man}
    30 install -d /usr/local/share/{misc,terminfo,zoneinfo}
    31 install -d /usr/local/share/man/man{1,2,3,4,5,6,7,8}
    32 install -d /var/{lock,log,mail,run,spool}
    33 install -d /var/{opt,cache,lib{,32,64}/{misc,locate},local}
    34 install -d /opt/{bin,doc,include,info}
    35 install -d /opt/{lib{,32,64},man/man{1,2,3,4,5,6,7,8}}
    36 install -d /usr/lib/locale
    37 ln -s ../lib/locale /usr/lib32
    38 ln -s ../lib/locale /usr/lib64</userinput></screen>
     17<screen><userinput>install -dv /{bin,boot,dev,etc/opt,home,lib{,32,64},mnt}
     18install -dv /{sbin,srv,usr/local,var,opt,proc,sys}
     19install -dv /root -m 0750
     20install -dv /tmp /var/tmp -m 1777
     21install -dv /media/{floppy,cdrom}
     22install -dv /usr/{bin,include,lib{,32,64},sbin,share,src}
     23ln -sv share/{man,doc,info} /usr
     24install -dv /usr/share/{doc,info,locale,man}
     25install -dv /usr/share/{misc,terminfo,zoneinfo}
     26install -dv /usr/share/man/man{1,2,3,4,5,6,7,8}
     27install -dv /usr/local/{bin,etc,include,lib{,32,64},sbin,share,src}
     28ln -sv share/{man,doc,info} /usr/local
     29install -dv /usr/local/share/{doc,info,locale,man}
     30install -dv /usr/local/share/{misc,terminfo,zoneinfo}
     31install -dv /usr/local/share/man/man{1,2,3,4,5,6,7,8}
     32install -dv /var/{lock,log,mail,run,spool}
     33install -dv /var/{opt,cache,lib{,32,64}/{misc,locate},local}
     34install -dv /opt/{bin,doc,include,info}
     35install -dv /opt/{lib{,32,64},man/man{1,2,3,4,5,6,7,8}}
     36install -dv /usr/lib/locale
     37ln -sv ../lib/locale /usr/lib32
     38ln -sv ../lib/locale /usr/lib64</userinput></screen>
    3939
    4040  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/chroot/multilib/creatingdirs.xml

    reb55250 r94e6142  
    1515  xpointer="xpointer(//*[@os='a'])"/>
    1616
    17 <screen><userinput>install -d /{bin,boot,dev,etc/opt,home,lib{,64},mnt}
    18 install -d /{sbin,srv,usr/local,var,opt,proc,sys}
    19 install -d /root -m 0750
    20 install -d /tmp /var/tmp -m 1777
    21 install -d /media/{floppy,cdrom}
    22 install -d /usr/{bin,include,lib{,64},sbin,share,src}
    23 ln -s share/{man,doc,info} /usr
    24 install -d /usr/share/{doc,info,locale,man}
    25 install -d /usr/share/{misc,terminfo,zoneinfo}
    26 install -d /usr/share/man/man{1,2,3,4,5,6,7,8}
    27 install -d /usr/local/{bin,etc,include,lib{,64},sbin,share,src}
    28 ln -s share/{man,doc,info} /usr/local
    29 install -d /usr/local/share/{doc,info,locale,man}
    30 install -d /usr/local/share/{misc,terminfo,zoneinfo}
    31 install -d /usr/local/share/man/man{1,2,3,4,5,6,7,8}
    32 install -d /var/{lock,log,mail,run,spool}
    33 install -d /var/{opt,cache,lib{,64}/{misc,locate},local}
    34 install -d /opt/{bin,doc,include,info}
    35 install -d /opt/{lib{,64},man/man{1,2,3,4,5,6,7,8}}
    36 install -d /usr/lib/locale
    37 ln -s ../lib/locale /usr/lib64</userinput></screen>
     17<screen><userinput>install -dv /{bin,boot,dev,etc/opt,home,lib{,64},mnt}
     18install -dv /{sbin,srv,usr/local,var,opt,proc,sys}
     19install -dv /root -m 0750
     20install -dv /tmp /var/tmp -m 1777
     21install -dv /media/{floppy,cdrom}
     22install -dv /usr/{bin,include,lib{,64},sbin,share,src}
     23ln -sv share/{man,doc,info} /usr
     24install -dv /usr/share/{doc,info,locale,man}
     25install -dv /usr/share/{misc,terminfo,zoneinfo}
     26install -dv /usr/share/man/man{1,2,3,4,5,6,7,8}
     27install -dv /usr/local/{bin,etc,include,lib{,64},sbin,share,src}
     28ln -sv share/{man,doc,info} /usr/local
     29install -dv /usr/local/share/{doc,info,locale,man}
     30install -dv /usr/local/share/{misc,terminfo,zoneinfo}
     31install -dv /usr/local/share/man/man{1,2,3,4,5,6,7,8}
     32install -dv /var/{lock,log,mail,run,spool}
     33install -dv /var/{opt,cache,lib{,64}/{misc,locate},local}
     34install -dv /opt/{bin,doc,include,info}
     35install -dv /opt/{lib{,64},man/man{1,2,3,4,5,6,7,8}}
     36install -dv /usr/lib/locale
     37ln -sv ../lib/locale /usr/lib64</userinput></screen>
    3838
    3939  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
Note: See TracChangeset for help on using the changeset viewer.