Added three configure parameters to the Chapter 6 Util-linux-ng instructions so that additional programs are installed.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8640 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Randy McMurchy 2008-10-11 21:22:15 +00:00
parent fd4ae4ebd0
commit 5c92d210d5
2 changed files with 141 additions and 78 deletions

View File

@ -40,6 +40,11 @@
<listitem> <listitem>
<para>2008-10-11</para> <para>2008-10-11</para>
<itemizedlist> <itemizedlist>
<listitem>
<para>[randy] - Added three configure parameters to the Chapter 6
Util-linux-ng instructions so that additional programs are
installed. Also updated the installed programs list.</para>
</listitem>
<listitem> <listitem>
<para>[randy] - Added a sed command to the Sysvinit instructions to <para>[randy] - Added a sed command to the Sysvinit instructions to
suppress the installation of the wall program and its man page as a suppress the installation of the wall program and its man page as a

View File

@ -58,7 +58,33 @@ mkdir -pv /var/lib/hwclock</userinput></screen>
<sect2 role="installation"> <sect2 role="installation">
<title>Installation of Util-linux-ng</title> <title>Installation of Util-linux-ng</title>
<screen><userinput remap="configure">./configure</userinput></screen> <screen><userinput remap="configure">./configure --enable-arch --enable-partx --enable-write</userinput></screen>
<variablelist>
<title>The meaning of the configure options:</title>
<varlistentry>
<term><parameter>--enable-arch</parameter></term>
<listitem>
<para>Enables building the <command>arch</command> program</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>--enable-partx</parameter></term>
<listitem>
<para>Enables building the <command>addpart</command>,
<command>delpart</command> and <command>partx</command>
programs</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>--enable-write</parameter></term>
<listitem>
<para>Enables building the <command>write</command> program</para>
</listitem>
</varlistentry>
</variablelist>
<para>Compile the package:</para> <para>Compile the package:</para>
@ -79,15 +105,16 @@ mkdir -pv /var/lib/hwclock</userinput></screen>
<segtitle>Installed programs</segtitle> <segtitle>Installed programs</segtitle>
<seglistitem> <seglistitem>
<seg>agetty, arch, blockdev, cal, cfdisk, chkdupexe, col, colcrt,
colrm, column, ctrlaltdel, cytune, ddate, dmesg, elvtune, fdformat, <seg>addpart, agetty, arch, blockdev, cal, cfdisk, chkdupexe, chrt,
fdisk, flock, fsck.cramfs, fsck.minix, getopt, hexdump, hwclock, ipcrm, col, colcrt, colrm, column, ctrlaltdel, cytune, ddate, delpart, dmesg,
ipcs, isosize, line, logger, look, losetup, mcookie, mkfs, mkfs.bfs, fdformat, fdisk, flock, fsck.cramfs, fsck.minix, getopt, hexdump,
mkfs.cramfs, mkfs.minix, mkswap, more, mount, namei, pg, pivot_root, hwclock, ionice, ipcrm, ipcs, isosize, ldattach, line, logger, look,
ramsize (link to rdev), raw, rdev, readprofile, rename, renice, rev, losetup, mcookie, mkfs, mkfs.bfs, mkfs.cramfs, mkfs.minix, mkswap,
rootflags (link to rdev), script, setfdprm, setsid, setterm, sfdisk, more, mount, namei, partx, pg, pivot_root, readprofile, rename, renice,
swapoff (link to swapon), swapon, tailf, tunelp, ul, umount, rev, rtcwake, script, scriptreplay, setarch, setsid, setterm, sfdisk,
vidmode (link to rdev), whereis, and write</seg> swapon, tailf, taskset, tunelp, ul, umount, wall, whereis,
and write</seg>
</seglistitem> </seglistitem>
</segmentedlist> </segmentedlist>
@ -96,6 +123,16 @@ mkdir -pv /var/lib/hwclock</userinput></screen>
<?dbfo list-presentation="list"?> <?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?> <?dbhtml list-presentation="table"?>
<varlistentry id="addpart">
<term><command>addpart</command></term>
<listitem>
<para>Informs the Linux kernel of new partitions</para>
<indexterm zone="ch-system-util-linux-ng addpart">
<primary sortas="b-addpart">addpart</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="agetty"> <varlistentry id="agetty">
<term><command>agetty</command></term> <term><command>agetty</command></term>
<listitem> <listitem>
@ -158,6 +195,16 @@ mkdir -pv /var/lib/hwclock</userinput></screen>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry id="chrt">
<term><command>chrt</command></term>
<listitem>
<para>Manipulates real-time attributes of a process</para>
<indexterm zone="ch-system-util-linux-ng chrt">
<primary sortas="b-chrt">chrt</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="col"> <varlistentry id="col">
<term><command>col</command></term> <term><command>col</command></term>
<listitem> <listitem>
@ -232,6 +279,16 @@ mkdir -pv /var/lib/hwclock</userinput></screen>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry id="delpart">
<term><command>delpart</command></term>
<listitem>
<para>Asks the Linux kernel to remove a partition</para>
<indexterm zone="ch-system-util-linux-ng delpart">
<primary sortas="b-delpart">delpart</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="dmesg"> <varlistentry id="dmesg">
<term><command>dmesg</command></term> <term><command>dmesg</command></term>
<listitem> <listitem>
@ -242,17 +299,6 @@ mkdir -pv /var/lib/hwclock</userinput></screen>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry id="elvtune">
<term><command>elvtune</command></term>
<listitem>
<para>Tunes the performance and interactivity of a block
device</para>
<indexterm zone="ch-system-util-linux-ng elvtune">
<primary sortas="b-elvtune">elvtune</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="fdformat"> <varlistentry id="fdformat">
<term><command>fdformat</command></term> <term><command>fdformat</command></term>
<listitem> <listitem>
@ -339,6 +385,16 @@ mkdir -pv /var/lib/hwclock</userinput></screen>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry id="ionice">
<term><command>ionice</command></term>
<listitem>
<para>Gets or sets the io scheduling class and priority for a program</para>
<indexterm zone="ch-system-util-linux-ng ionice">
<primary sortas="b-ionice">ionice</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="ipcrm"> <varlistentry id="ipcrm">
<term><command>ipcrm</command></term> <term><command>ipcrm</command></term>
<listitem> <listitem>
@ -369,6 +425,16 @@ mkdir -pv /var/lib/hwclock</userinput></screen>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry id="ldattach">
<term><command>ldattach</command></term>
<listitem>
<para>Attaches a line discipline to a serial line</para>
<indexterm zone="ch-system-util-linux-ng ldattach">
<primary sortas="b-ldattach">ldattach</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="line"> <varlistentry id="line">
<term><command>line</command></term> <term><command>line</command></term>
<listitem> <listitem>
@ -503,6 +569,17 @@ mkdir -pv /var/lib/hwclock</userinput></screen>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry id="partx">
<term><command>partx</command></term>
<listitem>
<para>Tells the kernel about the presence and numbering of on-disk
partitions</para>
<indexterm zone="ch-system-util-linux-ng partx">
<primary sortas="b-partx">partx</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="pg"> <varlistentry id="pg">
<term><command>pg</command></term> <term><command>pg</command></term>
<listitem> <listitem>
@ -524,38 +601,6 @@ mkdir -pv /var/lib/hwclock</userinput></screen>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry id="ramsize">
<term><command>ramsize</command></term>
<listitem>
<para>Sets the size of the RAM disk in a bootable image</para>
<indexterm zone="ch-system-util-linux-ng ramsize">
<primary sortas="b-ramsize">ramsize</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="raw">
<term><command>raw</command></term>
<listitem>
<para>Used to bind a Linux raw character device to a block
device</para>
<indexterm zone="ch-system-util-linux-ng raw">
<primary sortas="b-raw">raw</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="rdev">
<term><command>rdev</command></term>
<listitem>
<para>Queries and sets the root device, among other things, in a
bootable image</para>
<indexterm zone="ch-system-util-linux-ng rdev">
<primary sortas="b-rdev">rdev</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="readprofile"> <varlistentry id="readprofile">
<term><command>readprofile</command></term> <term><command>readprofile</command></term>
<listitem> <listitem>
@ -597,12 +642,13 @@ mkdir -pv /var/lib/hwclock</userinput></screen>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry id="rootflags"> <varlistentry id="rtcwake">
<term><command>rootflags</command></term> <term><command>rtcwake</command></term>
<listitem> <listitem>
<para>Sets the rootflags in a bootable image</para> <para>Used to enter a system sleep state until specified wakeup
<indexterm zone="ch-system-util-linux-ng rootflags"> time</para>
<primary sortas="b-rootflags">rootflags</primary> <indexterm zone="ch-system-util-linux-ng rtcwake">
<primary sortas="b-rtcwake">rtcwake</primary>
</indexterm> </indexterm>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -617,12 +663,23 @@ mkdir -pv /var/lib/hwclock</userinput></screen>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry id="setfdprm"> <varlistentry id="scriptreplay">
<term><command>setfdprm</command></term> <term><command>scriptreplay</command></term>
<listitem> <listitem>
<para>Sets user-provided floppy disk parameters</para> <para>Plays back typescripts using timing information</para>
<indexterm zone="ch-system-util-linux-ng setfdprm"> <indexterm zone="ch-system-util-linux-ng scriptreplay">
<primary sortas="b-setfdprm">setfdprm</primary> <primary sortas="b-scriptreplay">scriptreplay</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="setarch">
<term><command>setarch</command></term>
<listitem>
<para>Changes reported architecture in a new program environment and
sets personality flags</para>
<indexterm zone="ch-system-util-linux-ng setarch">
<primary sortas="b-setarch">setarch</primary>
</indexterm> </indexterm>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -657,16 +714,6 @@ mkdir -pv /var/lib/hwclock</userinput></screen>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry id="swapoff">
<term><command>swapoff</command></term>
<listitem>
<para>Disables devices and files for paging and swapping</para>
<indexterm zone="ch-system-util-linux-ng swapoff">
<primary sortas="b-swapoff">swapoff</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="swapon"> <varlistentry id="swapon">
<term><command>swapon</command></term> <term><command>swapon</command></term>
<listitem> <listitem>
@ -690,6 +737,16 @@ mkdir -pv /var/lib/hwclock</userinput></screen>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry id="taskset">
<term><command>taskset</command></term>
<listitem>
<para>Retrieves or sets a process' CPU affinity</para>
<indexterm zone="ch-system-util-linux-ng taskset">
<primary sortas="b-taskset">taskset</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="tunelp"> <varlistentry id="tunelp">
<term><command>tunelp</command></term> <term><command>tunelp</command></term>
<listitem> <listitem>
@ -721,12 +778,13 @@ mkdir -pv /var/lib/hwclock</userinput></screen>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry id="vidmode"> <varlistentry id="wall">
<term><command>vidmode</command></term> <term><command>wall</command></term>
<listitem> <listitem>
<para>Sets the video mode in a bootable image</para> <para>Displays the contents of a file or, by default, its standard
<indexterm zone="ch-system-util-linux-ng vidmode"> input, on the terminals of all currently logged in users</para>
<primary sortas="b-vidmode">vidmode</primary> <indexterm zone="ch-system-util-linux-ng wall">
<primary sortas="b-wall">wall</primary>
</indexterm> </indexterm>
</listitem> </listitem>
</varlistentry> </varlistentry>