diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 6f9985c43..478769af8 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -40,6 +40,11 @@ 2008-10-11 + + [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. + [randy] - Added a sed command to the Sysvinit instructions to suppress the installation of the wall program and its man page as a 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 Installation of Util-linux-ng -./configure +./configure --enable-arch --enable-partx --enable-write + + + The meaning of the configure options: + + + --enable-arch + + Enables building the arch program + + + + --enable-partx + + Enables building the addpart, + delpart and partx + programs + + + + --enable-write + + Enables building the write program + + + + Compile the package: @@ -79,15 +105,16 @@ mkdir -pv /var/lib/hwclock Installed programs - 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 + + 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 @@ -96,6 +123,16 @@ mkdir -pv /var/lib/hwclock + + addpart + + Informs the Linux kernel of new partitions + + addpart + + + + agetty @@ -158,6 +195,16 @@ mkdir -pv /var/lib/hwclock + + chrt + + Manipulates real-time attributes of a process + + chrt + + + + col @@ -232,6 +279,16 @@ mkdir -pv /var/lib/hwclock + + delpart + + Asks the Linux kernel to remove a partition + + delpart + + + + dmesg @@ -242,17 +299,6 @@ mkdir -pv /var/lib/hwclock - - elvtune - - Tunes the performance and interactivity of a block - device - - elvtune - - - - fdformat @@ -339,6 +385,16 @@ mkdir -pv /var/lib/hwclock + + ionice + + Gets or sets the io scheduling class and priority for a program + + ionice + + + + ipcrm @@ -369,6 +425,16 @@ mkdir -pv /var/lib/hwclock + + ldattach + + Attaches a line discipline to a serial line + + ldattach + + + + line @@ -503,6 +569,17 @@ mkdir -pv /var/lib/hwclock + + partx + + Tells the kernel about the presence and numbering of on-disk + partitions + + partx + + + + pg @@ -524,38 +601,6 @@ mkdir -pv /var/lib/hwclock - - ramsize - - Sets the size of the RAM disk in a bootable image - - ramsize - - - - - - raw - - Used to bind a Linux raw character device to a block - device - - raw - - - - - - rdev - - Queries and sets the root device, among other things, in a - bootable image - - rdev - - - - readprofile @@ -597,12 +642,13 @@ mkdir -pv /var/lib/hwclock - - rootflags + + rtcwake - Sets the rootflags in a bootable image - - rootflags + Used to enter a system sleep state until specified wakeup + time + + rtcwake @@ -617,12 +663,23 @@ mkdir -pv /var/lib/hwclock - - setfdprm + + scriptreplay - Sets user-provided floppy disk parameters - - setfdprm + Plays back typescripts using timing information + + scriptreplay + + + + + + setarch + + Changes reported architecture in a new program environment and + sets personality flags + + setarch @@ -657,16 +714,6 @@ mkdir -pv /var/lib/hwclock - - swapoff - - Disables devices and files for paging and swapping - - swapoff - - - - swapon @@ -690,6 +737,16 @@ mkdir -pv /var/lib/hwclock + + taskset + + Retrieves or sets a process' CPU affinity + + taskset + + + + tunelp @@ -721,12 +778,13 @@ mkdir -pv /var/lib/hwclock - - vidmode + + wall - Sets the video mode in a bootable image - - vidmode + Displays the contents of a file or, by default, its standard + input, on the terminals of all currently logged in users + + wall