diff options
author | Randy McMurchy <randy@linuxfromscratch.org> | 2008-10-11 21:22:15 +0000 |
---|---|---|
committer | Randy McMurchy <randy@linuxfromscratch.org> | 2008-10-11 21:22:15 +0000 |
commit | 5c92d210d5a7d91d6101844a838ec9d550019bc1 (patch) | |
tree | d409372b5fed7f253e4cc0a1b3fc900f2e3b18a9 /chapter06/util-linux-ng.xml | |
parent | fd4ae4ebd074e1f3c8da4b491b1960d7ac21c289 (diff) |
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
Diffstat (limited to 'chapter06/util-linux-ng.xml')
-rw-r--r-- | chapter06/util-linux-ng.xml | 214 |
1 files changed, 136 insertions, 78 deletions
diff --git a/chapter06/util-linux-ng.xml b/chapter06/util-linux-ng.xml index 9a47a719e..ebe43640c 100644 --- a/chapter06/util-linux-ng.xml +++ b/chapter06/util-linux-ng.xml @@ -58,7 +58,33 @@ mkdir -pv /var/lib/hwclock</userinput></screen> <sect2 role="installation"> <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> @@ -79,15 +105,16 @@ mkdir -pv /var/lib/hwclock</userinput></screen> <segtitle>Installed programs</segtitle> <seglistitem> - <seg>agetty, arch, blockdev, cal, cfdisk, chkdupexe, col, colcrt, - colrm, column, ctrlaltdel, cytune, ddate, dmesg, elvtune, fdformat, - fdisk, flock, fsck.cramfs, fsck.minix, getopt, hexdump, hwclock, ipcrm, - ipcs, isosize, line, logger, look, losetup, mcookie, mkfs, mkfs.bfs, - mkfs.cramfs, mkfs.minix, mkswap, more, mount, namei, pg, pivot_root, - ramsize (link to rdev), raw, rdev, readprofile, rename, renice, rev, - rootflags (link to rdev), script, setfdprm, setsid, setterm, sfdisk, - swapoff (link to swapon), swapon, tailf, tunelp, ul, umount, - vidmode (link to rdev), whereis, and write</seg> + + <seg>addpart, agetty, arch, blockdev, cal, cfdisk, chkdupexe, chrt, + col, colcrt, colrm, column, ctrlaltdel, cytune, ddate, delpart, dmesg, + fdformat, fdisk, flock, fsck.cramfs, fsck.minix, getopt, hexdump, + hwclock, ionice, ipcrm, ipcs, isosize, ldattach, line, logger, look, + losetup, mcookie, mkfs, mkfs.bfs, mkfs.cramfs, mkfs.minix, mkswap, + more, mount, namei, partx, pg, pivot_root, readprofile, rename, renice, + rev, rtcwake, script, scriptreplay, setarch, setsid, setterm, sfdisk, + swapon, tailf, taskset, tunelp, ul, umount, wall, whereis, + and write</seg> </seglistitem> </segmentedlist> @@ -96,6 +123,16 @@ mkdir -pv /var/lib/hwclock</userinput></screen> <?dbfo list-presentation="list"?> <?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"> <term><command>agetty</command></term> <listitem> @@ -158,6 +195,16 @@ mkdir -pv /var/lib/hwclock</userinput></screen> </listitem> </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"> <term><command>col</command></term> <listitem> @@ -232,23 +279,22 @@ mkdir -pv /var/lib/hwclock</userinput></screen> </listitem> </varlistentry> - <varlistentry id="dmesg"> - <term><command>dmesg</command></term> + <varlistentry id="delpart"> + <term><command>delpart</command></term> <listitem> - <para>Dumps the kernel boot messages</para> - <indexterm zone="ch-system-util-linux-ng dmesg"> - <primary sortas="b-dmesg">dmesg</primary> + <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="elvtune"> - <term><command>elvtune</command></term> + <varlistentry id="dmesg"> + <term><command>dmesg</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> + <para>Dumps the kernel boot messages</para> + <indexterm zone="ch-system-util-linux-ng dmesg"> + <primary sortas="b-dmesg">dmesg</primary> </indexterm> </listitem> </varlistentry> @@ -339,6 +385,16 @@ mkdir -pv /var/lib/hwclock</userinput></screen> </listitem> </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"> <term><command>ipcrm</command></term> <listitem> @@ -369,6 +425,16 @@ mkdir -pv /var/lib/hwclock</userinput></screen> </listitem> </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"> <term><command>line</command></term> <listitem> @@ -503,6 +569,17 @@ mkdir -pv /var/lib/hwclock</userinput></screen> </listitem> </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"> <term><command>pg</command></term> <listitem> @@ -524,38 +601,6 @@ mkdir -pv /var/lib/hwclock</userinput></screen> </listitem> </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"> <term><command>readprofile</command></term> <listitem> @@ -597,12 +642,13 @@ mkdir -pv /var/lib/hwclock</userinput></screen> </listitem> </varlistentry> - <varlistentry id="rootflags"> - <term><command>rootflags</command></term> + <varlistentry id="rtcwake"> + <term><command>rtcwake</command></term> <listitem> - <para>Sets the rootflags in a bootable image</para> - <indexterm zone="ch-system-util-linux-ng rootflags"> - <primary sortas="b-rootflags">rootflags</primary> + <para>Used to enter a system sleep state until specified wakeup + time</para> + <indexterm zone="ch-system-util-linux-ng rtcwake"> + <primary sortas="b-rtcwake">rtcwake</primary> </indexterm> </listitem> </varlistentry> @@ -617,12 +663,23 @@ mkdir -pv /var/lib/hwclock</userinput></screen> </listitem> </varlistentry> - <varlistentry id="setfdprm"> - <term><command>setfdprm</command></term> + <varlistentry id="scriptreplay"> + <term><command>scriptreplay</command></term> + <listitem> + <para>Plays back typescripts using timing information</para> + <indexterm zone="ch-system-util-linux-ng scriptreplay"> + <primary sortas="b-scriptreplay">scriptreplay</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="setarch"> + <term><command>setarch</command></term> <listitem> - <para>Sets user-provided floppy disk parameters</para> - <indexterm zone="ch-system-util-linux-ng setfdprm"> - <primary sortas="b-setfdprm">setfdprm</primary> + <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> </listitem> </varlistentry> @@ -657,16 +714,6 @@ mkdir -pv /var/lib/hwclock</userinput></screen> </listitem> </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"> <term><command>swapon</command></term> <listitem> @@ -690,6 +737,16 @@ mkdir -pv /var/lib/hwclock</userinput></screen> </listitem> </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"> <term><command>tunelp</command></term> <listitem> @@ -721,12 +778,13 @@ mkdir -pv /var/lib/hwclock</userinput></screen> </listitem> </varlistentry> - <varlistentry id="vidmode"> - <term><command>vidmode</command></term> + <varlistentry id="wall"> + <term><command>wall</command></term> <listitem> - <para>Sets the video mode in a bootable image</para> - <indexterm zone="ch-system-util-linux-ng vidmode"> - <primary sortas="b-vidmode">vidmode</primary> + <para>Displays the contents of a file or, by default, its standard + input, on the terminals of all currently logged in users</para> + <indexterm zone="ch-system-util-linux-ng wall"> + <primary sortas="b-wall">wall</primary> </indexterm> </listitem> </varlistentry> |