Changeset 55851d6 for chapter02


Ignore:
Timestamp:
05/29/2004 08:00:54 PM (20 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
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, 6.0, 6.1, 6.1.1, 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/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
05616e2
Parents:
d44a965
Message:

Tagging corrections in chapters 1 to 4.

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

Location:
chapter02
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • chapter02/creatingfilesystem.xml

    rd44a965 r55851d6  
    1717<para>To create an ext2 file system on the LFS partition run the following:</para>
    1818
    19 <screen><userinput>mke2fs /dev/xxx</userinput></screen>
     19<screen><userinput>mke2fs /dev/<replaceable>[xxx]</replaceable></userinput></screen>
    2020
    21 <para>Replace <filename>xxx</filename> with the name of the LFS partition
     21<para>Replace <replaceable>[xxx]</replaceable> with the name of the LFS partition
    2222(something like <filename>hda5</filename>).</para>
    2323
    2424<para>If you created a (new) swap partition you need to initialize it as a
    2525swap partition too (also known as formatting, like you did above with
    26 <userinput>mke2fs</userinput>) by running:</para>
     26<command>mke2fs</command>) by running:</para>
    2727
    28 <screen><userinput>mkswap /dev/yyy</userinput></screen>
     28<screen><userinput>mkswap /dev/<replaceable>[yyy]</replaceable></userinput></screen>
    2929
    30 <para>Replace <filename>yyy</filename> with the name of the swap
     30<para>Replace <replaceable>[yyy]</replaceable> with the name of the swap
    3131partition.</para>
    3232
  • chapter02/creatingpartition.xml

    rd44a965 r55851d6  
    2929a swap partition.</para>
    3030
    31 <para>Start a disk partitioning program such as <userinput>cfdisk</userinput>
    32 or <userinput>fdisk</userinput> with an argument naming the hard disk upon
     31<para>Start a disk partitioning program such as <command>cfdisk</command>
     32or <command>fdisk</command> with an argument naming the hard disk upon
    3333which the new partition must be created -- for example
    3434<filename>/dev/hda</filename> for the primary IDE disk. Create a Linux native
    3535partition and a swap partition, if needed. Please refer to the man pages of
    36 <userinput>cfdisk</userinput> or <userinput>fdisk</userinput> if you don't yet
     36<command>cfdisk</command> or <command>fdisk</command> if you don't yet
    3737know how to use the programs.</para>
    3838
  • chapter02/mounting.xml

    rd44a965 r55851d6  
    1111the partition. For that, we need to mount it, and have to choose a mount
    1212point. In this book we assume that the file system is mounted under
    13 <filename>/mnt/lfs</filename>, but it doesn't matter what directory
     13<filename class="directory">/mnt/lfs</filename>, but it doesn't matter what directory
    1414you choose.</para>
    1515
     
    2222
    2323<screen><userinput>mkdir -p $LFS
    24 mount /dev/xxx $LFS</userinput></screen>
     24mount /dev/<replaceable>[xxx]</replaceable> $LFS</userinput></screen>
    2525
    26 <para>Replace <filename>xxx</filename> with the designation of the LFS
     26<para>Replace <replaceable>[xxx]</replaceable> with the designation of the LFS
    2727partition.</para>
    2828
    2929<para>If you have decided to use multiple partitions for LFS (say one for
    30 <filename>/</filename> and another for <filename>/usr</filename>), mount
    31 them like this:</para>
     30<filename class="directory">/</filename> and another for
     31<filename class="directory">/usr</filename>), mount them like this:</para>
    3232
    3333<screen><userinput>mkdir -p $LFS
    34 mount /dev/xxx $LFS
     34mount /dev/<replaceable>[xxx]</replaceable> $LFS
    3535mkdir $LFS/usr
    36 mount /dev/yyy $LFS/usr</userinput></screen>
     36mount /dev/<replaceable>[yyy]</replaceable> $LFS/usr</userinput></screen>
    3737
    38 <para>Of course, replace <filename>xxx</filename> and <filename>yyy</filename>
    39 with the appropriate partition names.</para>
     38<para>Of course, replace <replaceable>[xxx]</replaceable> and
     39<replaceable>[yyy]</replaceable> with the appropriate partition names.</para>
    4040
    4141<para>You should also ensure that this new partition is not mounted with
Note: See TracChangeset for help on using the changeset viewer.