Changeset e727ee5


Ignore:
Timestamp:
10/19/2005 09:06:01 PM (19 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
6.1.1
Children:
1d09f12
Parents:
8ac07b8d
Message:

Added -v switches.

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

Files:
47 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    r8ac07b8d re727ee5  
    4545<listitem><para>October 19, 2005 [manuel]: Updated the acknowledgements
    4646to current trunk version. Ported also some redaction changes in preface
    47 and chapter01 pages. Moved chapter02 to part II.</para></listitem>
     47and chapter01 pages. Moved chapter02 to part II. Added -v
     48switches.</para></listitem>
    4849
    4950<listitem><para>October 19, 2005 [manuel]: Updated the stylesheets, Makefile
  • chapter02/creatingfilesystem.xml

    r8ac07b8d re727ee5  
    1919<para>To create an ext2 file system on the LFS partition, run the following:</para>
    2020
    21 <screen role="nodump"><userinput>mke2fs /dev/<replaceable>[xxx]</replaceable></userinput></screen>
     21<screen role="nodump"><userinput>mke2fs -v /dev/<replaceable>[xxx]</replaceable></userinput></screen>
    2222
    2323<para>Replace <replaceable>[xxx]</replaceable> with the name of the LFS
     
    4040
    4141<screen role="nodump"><userinput>cd /tmp
    42 tar xjf /path/to/sources/e2fsprogs-&e2fsprogs-version;.tar.bz2
     42tar -xjvf /path/to/sources/e2fsprogs-&e2fsprogs-version;.tar.bz2
    4343cd e2fsprogs-&e2fsprogs-version;
    44 mkdir build
     44mkdir -v build
    4545cd build
    4646../configure
    4747make #note that we intentionally don't 'make install' here!
    48 ./misc/mke2fs /dev/<replaceable>[xxx]</replaceable>
     48./misc/mke2fs -v /dev/<replaceable>[xxx]</replaceable>
    4949cd /tmp
    50 rm -rf e2fsprogs-&e2fsprogs-version;</userinput></screen>
     50rm -rfv e2fsprogs-&e2fsprogs-version;</userinput></screen>
    5151</note>
    5252
     
    5555no need to format it.</para>
    5656
    57 <screen role="nodump"><userinput>mkswap /dev/<replaceable>[yyy]</replaceable></userinput></screen>
     57<screen role="nodump"><userinput>mkswap -v /dev/<replaceable>[yyy]</replaceable></userinput></screen>
    5858
    5959<para>Replace <replaceable>[yyy]</replaceable> with the name of the swap
  • chapter02/mounting.xml

    r8ac07b8d re727ee5  
    2323running:</para>
    2424
    25 <screen role="nodump"><userinput>mkdir -p $LFS
    26 mount /dev/<replaceable>[xxx]</replaceable> $LFS</userinput></screen>
     25<screen role="nodump"><userinput>mkdir -pv $LFS
     26mount -v /dev/<replaceable>[xxx]</replaceable> $LFS</userinput></screen>
    2727
    2828<para>Replace <replaceable>[xxx]</replaceable> with the designation of the LFS
     
    3333class="directory">/usr</filename>), mount them using:</para>
    3434
    35 <screen role="nodump"><userinput>mkdir -p $LFS
    36 mount /dev/<replaceable>[xxx]</replaceable> $LFS
    37 mkdir $LFS/usr
    38 mount /dev/<replaceable>[yyy]</replaceable> $LFS/usr</userinput></screen>
     35<screen role="nodump"><userinput>mkdir -pv $LFS
     36mount -v /dev/<replaceable>[xxx]</replaceable> $LFS
     37mkdir -v $LFS/usr
     38mount -v /dev/<replaceable>[yyy]</replaceable> $LFS/usr</userinput></screen>
    3939
    4040<para>Replace <replaceable>[xxx]</replaceable> and
  • chapter03/introduction.xml

    r8ac07b8d re727ee5  
    3737download session:</para>
    3838
    39 <screen role="nodump"><userinput>mkdir $LFS/sources</userinput></screen>
     39<screen role="nodump"><userinput>mkdir -v $LFS/sources</userinput></screen>
    4040
    4141<para>Make this directory writable and sticky. <quote>Sticky</quote>
     
    4545sticky modes:</para>
    4646
    47 <screen role="nodump"><userinput>chmod a+wt $LFS/sources</userinput></screen>
     47<screen role="nodump"><userinput>chmod -v a+wt $LFS/sources</userinput></screen>
    4848
    4949</sect1>
  • chapter04/addinguser.xml

    r8ac07b8d re727ee5  
    6969<emphasis>lfs</emphasis> the directory owner:</para>
    7070
    71 <screen><userinput>chown lfs $LFS/tools</userinput></screen>
     71<screen><userinput>chown -v lfs $LFS/tools</userinput></screen>
    7272
    7373<para>If a separate working directory was created as suggested, give
    7474user <emphasis>lfs</emphasis> ownership of this directory:</para>
    7575
    76 <screen><userinput>chown lfs $LFS/sources</userinput></screen>
     76<screen><userinput>chown -v lfs $LFS/sources</userinput></screen>
    7777
    7878<para>Next, login as user <emphasis>lfs</emphasis>. This can be done
  • chapter04/creatingtoolsdir.xml

    r8ac07b8d re727ee5  
    2222<emphasis>root</emphasis>:</para>
    2323
    24 <screen><userinput>mkdir $LFS/tools</userinput></screen>
     24<screen><userinput>mkdir -v $LFS/tools</userinput></screen>
    2525
    2626<para>The next step is to create a <filename class="symlink">/tools</filename>
     
    2929well:</para>
    3030
    31 <screen><userinput>ln -s $LFS/tools /</userinput></screen>
     31<screen><userinput>ln -sv $LFS/tools /</userinput></screen>
    3232
    3333<note><para>The above command is correct. The <command>ln</command> command has
  • chapter05/adjusting.xml

    r8ac07b8d re727ee5  
    6767possibility:</para>
    6868
    69 <screen><userinput>rm -f /tools/lib/gcc/*/*/include/{pthread.h,bits/sigthread.h}</userinput></screen>
     69<screen><userinput>rm -vf /tools/lib/gcc/*/*/include/{pthread.h,bits/sigthread.h}</userinput></screen>
    7070
    7171<beginpage/>
     
    108108<para>Once all is well, clean up the test files:</para>
    109109
    110 <screen><userinput>rm dummy.c a.out</userinput></screen>
     110<screen><userinput>rm -v dummy.c a.out</userinput></screen>
    111111</caution>
    112112
  • chapter05/bash.xml

    r8ac07b8d re727ee5  
    6363a shell:</para>
    6464
    65 <screen><userinput>ln -s bash /tools/bin/sh</userinput></screen>
     65<screen><userinput>ln -vs bash /tools/bin/sh</userinput></screen>
    6666
    6767</sect2>
  • chapter05/binutils-pass1.xml

    r8ac07b8d re727ee5  
    4949source directory in a dedicated build directory:</para>
    5050
    51 <screen><userinput>mkdir ../binutils-build
     51<screen><userinput>mkdir -v ../binutils-build
    5252cd ../binutils-build</userinput></screen>
    5353
  • chapter05/binutils-pass2.xml

    r8ac07b8d re727ee5  
    4141<para>Create a separate build directory again:</para>
    4242
    43 <screen><userinput>mkdir ../binutils-build
     43<screen><userinput>mkdir -v ../binutils-build
    4444cd ../binutils-build</userinput></screen>
    4545
  • chapter05/gcc-pass1.xml

    r8ac07b8d re727ee5  
    3838source directory in a dedicated build directory:</para>
    3939
    40 <screen><userinput>mkdir ../gcc-build
     40<screen><userinput>mkdir -v ../gcc-build
    4141cd ../gcc-build</userinput></screen>
    4242
     
    112112free to decide which C compiler to install.</para>
    113113
    114 <screen><userinput>ln -s gcc /tools/bin/cc</userinput></screen>
     114<screen><userinput>ln -vs gcc /tools/bin/cc</userinput></screen>
    115115
    116116</sect2>
  • chapter05/gcc-pass2.xml

    r8ac07b8d re727ee5  
    9292<para>Create a separate build directory again:</para>
    9393
    94 <screen><userinput>mkdir ../gcc-build
     94<screen><userinput>mkdir -v ../gcc-build
    9595cd ../gcc-build</userinput></screen>
    9696
  • chapter05/glibc.xml

    r8ac07b8d re727ee5  
    4848directory in a dedicated build directory:</para>
    4949
    50 <screen><userinput>mkdir ../glibc-build
     50<screen><userinput>mkdir -v ../glibc-build
    5151cd ../glibc-build</userinput></screen>
    5252
     
    162162Prevent this warning with:</para>
    163163
    164 <screen><userinput>mkdir /tools/etc
     164<screen><userinput>mkdir -v /tools/etc
    165165touch /tools/etc/ld.so.conf</userinput></screen>
    166166
     
    198198for the tests to run successfully:</para>
    199199
    200 <screen><userinput>mkdir -p /tools/lib/locale
     200<screen><userinput>mkdir -pv /tools/lib/locale
    201201localedef -i de_DE -f ISO-8859-1 de_DE
    202202localedef -i de_DE@euro -f ISO-8859-15 de_DE@euro
  • chapter05/linux-libc-headers.xml

    r8ac07b8d re727ee5  
    4343<para>Install the header files:</para>
    4444
    45 <screen><userinput>cp -R include/asm-i386 /tools/include/asm
    46 cp -R include/linux /tools/include</userinput></screen>
     45<screen><userinput>cp -Rv include/asm-i386 /tools/include/asm
     46cp -Rv include/linux /tools/include</userinput></screen>
    4747
    4848<para>If your architecture is not i386 (compatible), adjust the first command
  • chapter05/perl.xml

    r8ac07b8d re727ee5  
    6262<para>Install these tools and their libraries:</para>
    6363
    64 <screen><userinput>cp perl pod/pod2man /tools/bin
    65 mkdir -p /tools/lib/perl5/&perl-version;
    66 cp -R lib/* /tools/lib/perl5/&perl-version;</userinput></screen>
     64<screen><userinput>cp -v perl pod/pod2man /tools/bin
     65mkdir -pv /tools/lib/perl5/&perl-version;
     66cp -Rv lib/* /tools/lib/perl5/&perl-version;</userinput></screen>
    6767
    6868</sect2>
  • chapter05/tcl.xml

    r8ac07b8d re727ee5  
    7575<para>Now make a necessary symbolic link:</para>
    7676
    77 <screen><userinput>ln -s tclsh8.4 /tools/bin/tclsh</userinput></screen>
     77<screen><userinput>ln -sv tclsh8.4 /tools/bin/tclsh</userinput></screen>
    7878
    7979<beginpage/>
  • chapter06/binutils.xml

    r8ac07b8d re727ee5  
    5555source directory in a dedicated build directory:</para>
    5656
    57 <screen><userinput>mkdir ../binutils-build
     57<screen><userinput>mkdir -v ../binutils-build
    5858cd ../binutils-build</userinput></screen>
    5959
     
    9595some packages:</para>
    9696
    97 <screen><userinput>cp ../binutils-&binutils-version;/include/libiberty.h /usr/include</userinput></screen>
     97<screen><userinput>cp -v ../binutils-&binutils-version;/include/libiberty.h /usr/include</userinput></screen>
    9898
    9999</sect2>
  • chapter06/bzip2.xml

    r8ac07b8d re727ee5  
    6161
    6262<para>If reinstalling Bzip2, perform
    63 <userinput>rm -f /usr/bin/bz*</userinput> first, otherwise the following
     63<userinput>rm -vf /usr/bin/bz*</userinput> first, otherwise the following
    6464<command>make install</command> will fail.</para>
    6565
     
    7272some necessary symbolic links, and clean up:</para>
    7373
    74 <screen><userinput>cp bzip2-shared /bin/bzip2
    75 cp -a libbz2.so* /lib
    76 ln -s ../../lib/libbz2.so.1.0 /usr/lib/libbz2.so
    77 rm /usr/bin/{bunzip2,bzcat,bzip2}
    78 ln -s bzip2 /bin/bunzip2
    79 ln -s bzip2 /bin/bzcat</userinput></screen>
     74<screen><userinput>cp -v bzip2-shared /bin/bzip2
     75cp -av libbz2.so* /lib
     76ln -sv ../../lib/libbz2.so.1.0 /usr/lib/libbz2.so
     77rm -v /usr/bin/{bunzip2,bzcat,bzip2}
     78ln -sv bzip2 /bin/bunzip2
     79ln -sv bzip2 /bin/bzcat</userinput></screen>
    8080
    8181</sect2>
  • chapter06/coreutils.xml

    r8ac07b8d re727ee5  
    8383<para>Move programs to the proper locations:</para>
    8484
    85 <screen><userinput>mv /usr/bin/{[,basename,cat,chgrp,chmod,chown,cp,dd,df} /bin
    86 mv /usr/bin/{date,echo,false,head,hostname,install,ln} /bin
    87 mv /usr/bin/{ls,mkdir,mknod,mv,pwd,rm,rmdir,sync} /bin
    88 mv /usr/bin/{sleep,stty,test,touch,true,uname} /bin
    89 mv /usr/bin/chroot /usr/sbin</userinput></screen>
     85<screen><userinput>mv -v /usr/bin/{[,basename,cat,chgrp,chmod,chown,cp,dd,df} /bin
     86mv -v /usr/bin/{date,echo,false,head,hostname,install,ln} /bin
     87mv -v /usr/bin/{ls,mkdir,mknod,mv,pwd,rm,rmdir,sync} /bin
     88mv -v /usr/bin/{sleep,stty,test,touch,true,uname} /bin
     89mv -v /usr/bin/chroot /usr/sbin</userinput></screen>
    9090
    9191<para>Finally, create a symlink to be FHS-compliant:</para>
    9292
    93 <screen><userinput>ln -s ../../bin/install /usr/bin</userinput></screen>
     93<screen><userinput>ln -sv ../../bin/install /usr/bin</userinput></screen>
    9494
    9595</sect2>
  • chapter06/createfiles.xml

    r8ac07b8d re727ee5  
    1313has been installed.</para>
    1414
    15 <screen><userinput>ln -s /tools/bin/{bash,cat,pwd,stty} /bin
    16 ln -s /tools/bin/perl /usr/bin
    17 ln -s /tools/lib/libgcc_s.so{,.1} /usr/lib
    18 ln -s bash /bin/sh</userinput></screen>
     15<screen><userinput>ln -sv /tools/bin/{bash,cat,pwd,stty} /bin
     16ln -sv /tools/bin/perl /usr/bin
     17ln -sv /tools/lib/libgcc_s.so{,.1} /usr/lib
     18ln -sv bash /bin/sh</userinput></screen>
    1919
    2020</sect1>
  • chapter06/creatingdirs.xml

    r8ac07b8d re727ee5  
    1111standard directory tree by issuing the following commands:</para>
    1212 
    13 <screen><userinput>install -d /{bin,boot,dev,etc/opt,home,lib,mnt}
    14 install -d /{sbin,srv,usr/local,var,opt}
    15 install -d /root -m 0750
    16 install -d /tmp /var/tmp -m 1777
    17 install -d /media/{floppy,cdrom}
    18 install -d /usr/{bin,include,lib,sbin,share,src}
    19 ln -s share/{man,doc,info} /usr
    20 install -d /usr/share/{doc,info,locale,man}
    21 install -d /usr/share/{misc,terminfo,zoneinfo}
    22 install -d /usr/share/man/man{1,2,3,4,5,6,7,8}
    23 install -d /usr/local/{bin,etc,include,lib,sbin,share,src}
    24 ln -s share/{man,doc,info} /usr/local
    25 install -d /usr/local/share/{doc,info,locale,man}
    26 install -d /usr/local/share/{misc,terminfo,zoneinfo}
    27 install -d /usr/local/share/man/man{1,2,3,4,5,6,7,8}
    28 install -d /var/{lock,log,mail,run,spool}
    29 install -d /var/{opt,cache,lib/{misc,locate},local}
    30 install -d /opt/{bin,doc,include,info}
    31 install -d /opt/{lib,man/man{1,2,3,4,5,6,7,8}}</userinput></screen>
     13<screen><userinput>install -dv /{bin,boot,dev,etc/opt,home,lib,mnt}
     14install -dv /{sbin,srv,usr/local,var,opt}
     15install -dv /root -m 0750
     16install -dv /tmp /var/tmp -m 1777
     17install -dv /media/{floppy,cdrom}
     18install -dv /usr/{bin,include,lib,sbin,share,src}
     19ln -sv share/{man,doc,info} /usr
     20install -dv /usr/share/{doc,info,locale,man}
     21install -dv /usr/share/{misc,terminfo,zoneinfo}
     22install -dv /usr/share/man/man{1,2,3,4,5,6,7,8}
     23install -dv /usr/local/{bin,etc,include,lib,sbin,share,src}
     24ln -sv share/{man,doc,info} /usr/local
     25install -dv /usr/local/share/{doc,info,locale,man}
     26install -dv /usr/local/share/{misc,terminfo,zoneinfo}
     27install -dv /usr/local/share/man/man{1,2,3,4,5,6,7,8}
     28install -dv /var/{lock,log,mail,run,spool}
     29install -dv /var/{opt,cache,lib/{misc,locate},local}
     30install -dv /opt/{bin,doc,include,info}
     31install -dv /opt/{lib,man/man{1,2,3,4,5,6,7,8}}</userinput></screen>
    3232
    3333<para>Directories are, by default, created with permission mode 755,
  • chapter06/devices.xml

    r8ac07b8d re727ee5  
    3434otherwise do by mounting <filename class="directory">/dev</filename>:</para>
    3535
    36 <screen><userinput>mount -n -t tmpfs none /dev</userinput></screen>
     36<screen><userinput>mount -nvt tmpfs none /dev</userinput></screen>
    3737
    3838<para>The Udev package is what actually creates the devices in the <filename
     
    4848mknod -m 444 /dev/random c 1 8
    4949mknod -m 444 /dev/urandom c 1 9
    50 chown root:tty /dev/{console,ptmx,tty}</userinput></screen>
     50chown -v root:tty /dev/{console,ptmx,tty}</userinput></screen>
    5151
    5252<para>There are some symlinks and directories required by LFS that are created
     
    5555be created here:</para>
    5656
    57 <screen><userinput>ln -s /proc/self/fd /dev/fd
    58 ln -s /proc/self/fd/0 /dev/stdin
    59 ln -s /proc/self/fd/1 /dev/stdout
    60 ln -s /proc/self/fd/2 /dev/stderr
    61 ln -s /proc/kcore /dev/core
    62 mkdir /dev/pts
    63 mkdir /dev/shm</userinput></screen>
     57<screen><userinput>ln -sv /proc/self/fd /dev/fd
     58ln -sv /proc/self/fd/0 /dev/stdin
     59ln -sv /proc/self/fd/1 /dev/stdout
     60ln -sv /proc/self/fd/2 /dev/stderr
     61ln -sv /proc/kcore /dev/core
     62mkdir -v /dev/pts
     63mkdir -v /dev/shm</userinput></screen>
    6464
    6565<para>Finally, mount the proper virtual (kernel) file systems on the
    6666newly-created directories:</para>
    6767
    68 <screen><userinput>mount -t devpts -o gid=4,mode=620 none /dev/pts
    69 mount -t tmpfs none /dev/shm</userinput></screen>
     68<screen><userinput>mount -vt devpts -o gid=4,mode=620 none /dev/pts
     69mount -vt tmpfs none /dev/shm</userinput></screen>
    7070
    7171<beginpage/>
  • chapter06/e2fsprogs.xml

    r8ac07b8d re727ee5  
    3838</para>
    3939
    40 <screen><userinput>mkdir build
     40<screen><userinput>mkdir -v build
    4141cd build</userinput></screen>
    4242
  • chapter06/flex.xml

    r8ac07b8d re727ee5  
    6161this:</para>
    6262
    63 <screen><userinput>ln -s libfl.a /usr/lib/libl.a</userinput></screen>
     63<screen><userinput>ln -sv libfl.a /usr/lib/libl.a</userinput></screen>
    6464
    6565<para>A few programs do not know about <command>flex</command> yet and
     
    7676# End /usr/bin/lex</literal>
    7777EOF
    78 chmod 755 /usr/bin/lex</userinput></screen>
     78chmod -v 755 /usr/bin/lex</userinput></screen>
    7979
    8080</sect2>
  • chapter06/gcc.xml

    r8ac07b8d re727ee5  
    5858directory in a dedicated build directory:</para>
    5959
    60 <screen><userinput>mkdir ../gcc-build
     60<screen><userinput>mkdir -v ../gcc-build
    6161cd ../gcc-build</userinput></screen>
    6262
     
    9292To support those packages, create this symlink:</para>
    9393
    94 <screen><userinput>ln -s ../usr/bin/cpp /lib</userinput></screen>
     94<screen><userinput>ln -sv ../usr/bin/cpp /lib</userinput></screen>
    9595
    9696<para>Many packages use the name <command>cc</command> to call the C
    9797compiler. To satisfy those packages, create a symlink:</para>
    9898
    99 <screen><userinput>ln -s gcc /usr/bin/cc</userinput></screen>
     99<screen><userinput>ln -sv gcc /usr/bin/cc</userinput></screen>
    100100
    101101<note><para>At this point, it is strongly recommended to repeat the
  • chapter06/glibc.xml

    r8ac07b8d re727ee5  
    6666directory in a dedicated build directory:</para>
    6767
    68 <screen><userinput>mkdir ../glibc-build
     68<screen><userinput>mkdir -v ../glibc-build
    6969cd ../glibc-build</userinput></screen>
    7070
     
    153153for the tests to run successfully:</para>
    154154
    155 <screen role="nodump"><userinput>mkdir -p /usr/lib/locale
     155<screen role="nodump"><userinput>mkdir -pv /usr/lib/locale
    156156localedef -i de_DE -f ISO-8859-1 de_DE
    157157localedef -i de_DE@euro -f ISO-8859-15 de_DE@euro
     
    232232running:</para>
    233233
    234 <screen><userinput>cp --remove-destination /usr/share/zoneinfo/<replaceable>[xxx]</replaceable> \
     234<screen><userinput>cp -v --remove-destination /usr/share/zoneinfo/<replaceable>[xxx]</replaceable> \
    235235    /etc/localtime</userinput></screen>
    236236
  • chapter06/groff.xml

    r8ac07b8d re727ee5  
    4949will not work properly without the following symlinks:</para>
    5050
    51 <screen><userinput>ln -s soelim /usr/bin/zsoelim
    52 ln -s eqn /usr/bin/geqn
    53 ln -s tbl /usr/bin/gtbl</userinput></screen>
     51<screen><userinput>ln -sv soelim /usr/bin/zsoelim
     52ln -sv eqn /usr/bin/geqn
     53ln -sv tbl /usr/bin/gtbl</userinput></screen>
    5454
    5555</sect2>
  • chapter06/grub.xml

    r8ac07b8d re727ee5  
    5656
    5757<screen><userinput>make install
    58 mkdir /boot/grub
    59 cp /usr/lib/grub/i386-pc/stage{1,2} /boot/grub</userinput></screen>
     58mkdir -v /boot/grub
     59cp -v /usr/lib/grub/i386-pc/stage{1,2} /boot/grub</userinput></screen>
    6060
    6161<para>Replace <filename class="directory">i386-pc</filename> with whatever
  • chapter06/gzip.xml

    r8ac07b8d re727ee5  
    5858symlinks to it:</para>
    5959
    60 <screen><userinput>mv /usr/bin/gzip /bin
    61 rm /usr/bin/{gunzip,zcat}
    62 ln -s gzip /bin/gunzip
    63 ln -s gzip /bin/zcat
    64 ln -s gzip /bin/compress
    65 ln -s gunzip /bin/uncompress</userinput></screen>
     60<screen><userinput>mv -v /usr/bin/gzip /bin
     61rm -v /usr/bin/{gunzip,zcat}
     62ln -sv gzip /bin/gunzip
     63ln -sv gzip /bin/zcat
     64ln -sv gzip /bin/compress
     65ln -sv gunzip /bin/uncompress</userinput></screen>
    6666
    6767</sect2>
  • chapter06/hotplug.xml

    r8ac07b8d re727ee5  
    3939<para>Copy a file that the <quote>install</quote> target omits.</para>
    4040
    41 <screen><userinput>cp etc/hotplug/pnp.distmap /etc/hotplug</userinput></screen>
     41<screen><userinput>cp -v etc/hotplug/pnp.distmap /etc/hotplug</userinput></screen>
    4242
    4343<para>Remove the init script that Hotplug installs since we are going to be
    4444using the script included in the LFS-Bootscripts package:</para>
    4545
    46 <screen><userinput>rm -rf /etc/init.d</userinput></screen>
     46<screen><userinput>rm -rfv /etc/init.d</userinput></screen>
    4747
    4848<para>Network device hotplugging is not yet supported by the LFS-Bootscripts
    4949package. For that reason, remove the network hotplug agent:</para>
    5050
    51 <screen><userinput>rm -f /etc/hotplug/net.agent</userinput></screen>
     51<screen><userinput>rm -fv /etc/hotplug/net.agent</userinput></screen>
    5252
    5353<para>Create a directory for storing firmware that can be loaded by
    5454<command>hotplug</command>:</para>
    5555
    56 <screen><userinput>mkdir /lib/firmware</userinput></screen>
     56<screen><userinput>mkdir -v /lib/firmware</userinput></screen>
    5757
    5858</sect2>
  • chapter06/inetutils.xml

    r8ac07b8d re727ee5  
    9797place:</para>
    9898
    99 <screen><userinput>mv /usr/bin/ping /bin</userinput></screen>
     99<screen><userinput>mv -v /usr/bin/ping /bin</userinput></screen>
    100100
    101101</sect2>
  • chapter06/kernfs.xml

    r8ac07b8d re727ee5  
    1414<para>Begin by creating directories onto which the file systems will be mounted:</para>
    1515
    16 <screen><userinput>mkdir -p $LFS/{proc,sys}</userinput></screen>
     16<screen><userinput>mkdir -pv $LFS/{proc,sys}</userinput></screen>
    1717
    1818<para>Now mount the file systems:</para>
    1919
    20 <screen><userinput>mount -t proc proc $LFS/proc
    21 mount -t sysfs sysfs $LFS/sys</userinput></screen>
     20<screen><userinput>mount -vt proc proc $LFS/proc
     21mount -vt sysfs sysfs $LFS/sys</userinput></screen>
    2222
    2323<para>Remember that if for any reason you stop working on the LFS
     
    3030mount</quote> for each of these now:</para>
    3131
    32 <screen><userinput>mount -f -t tmpfs tmpfs $LFS/dev
    33 mount -f -t tmpfs tmpfs $LFS/dev/shm
    34 mount -f -t devpts -o gid=4,mode=620 devpts $LFS/dev/pts</userinput></screen>
     32<screen><userinput>mount -vft tmpfs tmpfs $LFS/dev
     33mount -vft tmpfs tmpfs $LFS/dev/shm
     34mount -vft devpts -o gid=4,mode=620 devpts $LFS/dev/pts</userinput></screen>
    3535
    3636</sect1>
  • chapter06/linux-libc-headers.xml

    r8ac07b8d re727ee5  
    4242<para>Install the header files:</para>
    4343
    44 <screen><userinput>cp -R include/asm-i386 /usr/include/asm
    45 cp -R include/linux /usr/include</userinput></screen>
     44<screen><userinput>cp -Rv include/asm-i386 /usr/include/asm
     45cp -Rv include/linux /usr/include</userinput></screen>
    4646
    4747<para>Ensure that all the headers are owned by root:</para>
    4848
    49 <screen><userinput>chown -R root:root /usr/include/{asm,linux}</userinput></screen>
     49<screen><userinput>chown -Rv root:root /usr/include/{asm,linux}</userinput></screen>
    5050
    5151<para>Make sure the users can read the headers:</para>
    5252
    53 <screen><userinput>find /usr/include/{asm,linux} -type d -exec chmod 755 {} \;
    54 find /usr/include/{asm,linux} -type f -exec chmod 644 {} \;</userinput></screen>
     53<screen><userinput>find /usr/include/{asm,linux} -type d -exec chmod -v 755 {} \;
     54find /usr/include/{asm,linux} -type f -exec chmod -v 644 {} \;</userinput></screen>
    5555
    5656</sect2>
  • chapter06/ncurses.xml

    r8ac07b8d re727ee5  
    4646<para>Give the Ncurses libraries execute permissions:</para>
    4747
    48 <screen><userinput>chmod 755 /usr/lib/*.&ncurses-version;</userinput></screen>
     48<screen><userinput>chmod -v 755 /usr/lib/*.&ncurses-version;</userinput></screen>
    4949
    5050<para>Fix a library that should not be executable:</para>
    5151
    52 <screen><userinput>chmod 644 /usr/lib/libncurses++.a</userinput></screen>
     52<screen><userinput>chmod -v 644 /usr/lib/libncurses++.a</userinput></screen>
    5353
    5454<para>Move the libraries to the <filename class="directory">/lib</filename> directory,
    5555where they are expected to reside:</para>
    5656
    57 <screen><userinput>mv /usr/lib/libncurses.so.5* /lib</userinput></screen>
     57<screen><userinput>mv -v /usr/lib/libncurses.so.5* /lib</userinput></screen>
    5858
    5959<para>Because the libraries have been moved, a few symlinks point to
    6060non-existent files. Recreate those symlinks:</para>
    6161
    62 <screen><userinput>ln -sf ../../lib/libncurses.so.5 /usr/lib/libncurses.so
    63 ln -sf libncurses.so /usr/lib/libcurses.so</userinput></screen>
     62<screen><userinput>ln -sfv ../../lib/libncurses.so.5 /usr/lib/libncurses.so
     63ln -sfv libncurses.so /usr/lib/libcurses.so</userinput></screen>
    6464
    6565<beginpage/>
  • chapter06/psmisc.xml

    r8ac07b8d re727ee5  
    6060class="directory">/usr/bin</filename>:</para>
    6161
    62 <screen><userinput>mv /bin/pstree* /usr/bin</userinput></screen>
     62<screen><userinput>mv -v /bin/pstree* /usr/bin</userinput></screen>
    6363
    6464<para>By default, Psmisc's <command>pidof</command> program is not
     
    6969following symlink:</para>
    7070
    71 <screen><userinput>ln -s killall /bin/pidof</userinput></screen>
     71<screen><userinput>ln -sv killall /bin/pidof</userinput></screen>
    7272
    7373</sect2>
  • chapter06/pwdgroup.xml

    r8ac07b8d re727ee5  
    8888
    8989<screen><userinput>touch /var/run/utmp /var/log/{btmp,lastlog,wtmp}
    90 chgrp utmp /var/run/utmp /var/log/lastlog
    91 chmod 664 /var/run/utmp /var/log/lastlog</userinput></screen>
     90chgrp -v utmp /var/run/utmp /var/log/lastlog
     91chmod -v 664 /var/run/utmp /var/log/lastlog</userinput></screen>
    9292
    9393<para>The <filename>/var/run/utmp</filename> file records the users
  • chapter06/readjusting.xml

    r8ac07b8d re727ee5  
    9999files:</para>
    100100
    101 <screen><userinput>rm dummy.c a.out</userinput></screen></caution>
     101<screen><userinput>rm -v dummy.c a.out</userinput></screen></caution>
    102102
    103103</sect1>
  • chapter06/readline.xml

    r8ac07b8d re727ee5  
    6060<para>Give Readline's dynamic libraries more appropriate permissions:</para>
    6161
    62 <screen><userinput>chmod 755 /lib/lib{readline,history}.so*</userinput></screen>
     62<screen><userinput>chmod -v 755 /lib/lib{readline,history}.so*</userinput></screen>
    6363
    6464<para>Now move the static libraries to a more appropriate location:</para>
    6565
    66 <screen><userinput>mv /lib/lib{readline,history}.a /usr/lib</userinput></screen>
     66<screen><userinput>mv -v /lib/lib{readline,history}.a /usr/lib</userinput></screen>
    6767
    6868<para>Next, remove the <filename class="extension">.so</filename> files in
     
    7070class="directory">/usr/lib</filename>.</para>
    7171
    72 <screen><userinput>rm /lib/lib{readline,history}.so
    73 ln -sf ../../lib/libreadline.so.5 /usr/lib/libreadline.so
    74 ln -sf ../../lib/libhistory.so.5 /usr/lib/libhistory.so</userinput></screen>
     72<screen><userinput>rm -v /lib/lib{readline,history}.so
     73ln -sfv ../../lib/libreadline.so.5 /usr/lib/libreadline.so
     74ln -sfv ../../lib/libhistory.so.5 /usr/lib/libhistory.so</userinput></screen>
    7575
    7676<beginpage/>
  • chapter06/shadow.xml

    r8ac07b8d re727ee5  
    5555<indexterm zone="shadow-limits-login_access"><primary sortas="e-/etc/login.access">/etc/login.access</primary></indexterm>
    5656
    57 <screen><userinput>cp etc/{limits,login.access} /etc</userinput></screen>
     57<screen><userinput>cp -v etc/{limits,login.access} /etc</userinput></screen>
    5858
    5959<para id="shadow-login_defs">Instead of using the default <emphasis>crypt</emphasis> method,
     
    7575<para>Move a misplaced program to its proper location:</para>
    7676
    77 <screen><userinput>mv /usr/bin/passwd /bin</userinput></screen>
     77<screen><userinput>mv -v /usr/bin/passwd /bin</userinput></screen>
    7878
    7979<para>Move Shadow's libraries to more appropriate locations:</para>
    8080
    81 <screen><userinput>mv /lib/libshadow.*a /usr/lib
    82 rm /lib/libshadow.so
    83 ln -sf ../../lib/libshadow.so.0 /usr/lib/libshadow.so</userinput></screen>
     81<screen><userinput>mv -v /lib/libshadow.*a /usr/lib
     82rm -v /lib/libshadow.so
     83ln -sfv ../../lib/libshadow.so.0 /usr/lib/libshadow.so</userinput></screen>
    8484
    8585<beginpage/>
     
    9090properly:</para>
    9191
    92 <screen><userinput>mkdir /etc/default</userinput></screen>
     92<screen><userinput>mkdir -v /etc/default</userinput></screen>
    9393
    9494</sect2>
  • chapter06/udev.xml

    r8ac07b8d re727ee5  
    5151the configuration files here:</para>
    5252
    53 <screen><userinput>cp ../udev-config-4.rules /etc/udev/rules.d/25-lfs.rules</userinput></screen>
     53<screen><userinput>cp -v ../udev-config-4.rules /etc/udev/rules.d/25-lfs.rules</userinput></screen>
    5454
    5555<!-- Edit Me -->
  • chapter06/vim.xml

    r8ac07b8d re727ee5  
    8282symlink:</para>
    8383
    84 <screen><userinput>ln -s vim /usr/bin/vi</userinput></screen>
     84<screen><userinput>ln -sv vim /usr/bin/vi</userinput></screen>
    8585
    8686<para>If an X Window System is going to be installed on the LFS
  • chapter06/zlib.xml

    r8ac07b8d re727ee5  
    5656<filename class="directory">/usr/lib</filename>:</para>
    5757
    58 <screen><userinput>rm /lib/libz.so
    59 ln -sf ../../lib/libz.so.&zlib-version; /usr/lib/libz.so</userinput></screen>
     58<screen><userinput>rm -v /lib/libz.so
     59ln -sfv ../../lib/libz.so.&zlib-version; /usr/lib/libz.so</userinput></screen>
    6060
    6161<para>Build the static library:</para>
     
    7474<para>Fix the permissions on the static library:</para>
    7575
    76 <screen><userinput>chmod 644 /usr/lib/libz.a</userinput></screen>
     76<screen><userinput>chmod -v 644 /usr/lib/libz.a</userinput></screen>
    7777
    7878</sect2>
  • chapter07/console.xml

    r8ac07b8d re727ee5  
    6969following keymap snippet to fix this issue:</para>
    7070
    71 <screen role="nodump"><userinput>mkdir -p /etc/kbd &amp;&amp; cat &gt; /etc/kbd/bs-sends-del &lt;&lt;"EOF"
     71<screen role="nodump"><userinput>mkdir -pv /etc/kbd &amp;&amp; cat &gt; /etc/kbd/bs-sends-del &lt;&lt;"EOF"
    7272<literal>                  keycode  14 = Delete Delete Delete Delete
    7373              alt keycode  14 = Meta_Delete
  • chapter07/network.xml

    r8ac07b8d re727ee5  
    3838
    3939<screen><userinput>cd /etc/sysconfig/network-devices &amp;&amp;
    40 mkdir ifconfig.eth0 &amp;&amp;
     40mkdir -v ifconfig.eth0 &amp;&amp;
    4141cat &gt; ifconfig.eth0/ipv4 &lt;&lt; "EOF"
    4242<literal>ONBOOT=yes
  • chapter08/grub.xml

    r8ac07b8d re727ee5  
    130130following command:</para>
    131131
    132 <screen><userinput>mkdir /etc/grub &amp;&amp;
    133 ln -s /boot/grub/menu.lst /etc/grub</userinput></screen>
     132<screen><userinput>mkdir -v /etc/grub &amp;&amp;
     133ln -sv /boot/grub/menu.lst /etc/grub</userinput></screen>
    134134
    135135</sect1>
  • chapter08/kernel.xml

    r8ac07b8d re727ee5  
    116116being used. The following command assumes an x86 architecture:</para>
    117117
    118 <screen><userinput>cp arch/i386/boot/bzImage /boot/lfskernel-&linux-version;</userinput></screen>
     118<screen><userinput>cp -v arch/i386/boot/bzImage /boot/lfskernel-&linux-version;</userinput></screen>
    119119
    120120<para><filename>System.map</filename> is a symbol file for the kernel.
     
    123123kernel. Issue the following command to install the map file:</para>
    124124
    125 <screen><userinput>cp System.map /boot/System.map-&linux-version;</userinput></screen>
     125<screen><userinput>cp -v System.map /boot/System.map-&linux-version;</userinput></screen>
    126126
    127127<para>The kernel configuration file <filename>.config</filename>
     
    131131reference:</para>
    132132
    133 <screen><userinput>cp .config /boot/config-&linux-version;</userinput></screen>
     133<screen><userinput>cp -v .config /boot/config-&linux-version;</userinput></screen>
    134134
    135135<beginpage/>
  • chapter09/reboot.xml

    r8ac07b8d re727ee5  
    3030<para>Then unmount the virtual files systems:</para>
    3131
    32 <screen><userinput>umount $LFS/dev/pts
    33 umount $LFS/dev/shm
    34 umount $LFS/dev
    35 umount $LFS/proc
    36 umount $LFS/sys</userinput></screen>   
     32<screen><userinput>umount -v $LFS/dev/pts
     33umount -v $LFS/dev/shm
     34umount -v $LFS/dev
     35umount -v $LFS/proc
     36umount -v $LFS/sys</userinput></screen>   
    3737
    3838<para>Unmount the LFS file system itself:</para>
    3939
    40 <screen><userinput>umount $LFS</userinput></screen>
     40<screen><userinput>umount -v $LFS</userinput></screen>
    4141
    4242<para>If multiple partitions were created, unmount the other
    4343partitions before unmounting the main one, like this:</para>
    4444
    45 <screen role="nodump"><userinput>umount $LFS/usr
    46 umount $LFS/home
    47 umount $LFS</userinput></screen>
     45<screen role="nodump"><userinput>umount -v $LFS/usr
     46umount -v $LFS/home
     47umount -v $LFS</userinput></screen>
    4848
    4949<para>Now, reboot the system with:</para>
Note: See TracChangeset for help on using the changeset viewer.