diff options
author | Jeremy Huntwork <jhuntwork@linuxfromscratch.org> | 2008-01-26 23:35:18 +0000 |
---|---|---|
committer | Jeremy Huntwork <jhuntwork@linuxfromscratch.org> | 2008-01-26 23:35:18 +0000 |
commit | 9ed7b54facb06a3d949ed3ec37bb7bdc94ed8488 (patch) | |
tree | 4af40a307b9cd8506a2b5b71629f65e40230220e /chapter06 | |
parent | 7336a40779c2ab4b78faf1ead6f7bf5efa808330 (diff) |
Merged revisions from trunk to jh branch:
r8410, r8411, r8412, r8413, r8414, r8415, r8416, r8417, r8418, r8419, r8420,
r8421, r8422, r8423, r8424, r8426, r8427, r8429, r8430, r8431, r8432, r8433,
r8434, r8435, r8436, r8437, r8438, r8439, r8440, r8441, r8442, r8443, r8444,
r8445, r8446, r8447, r8448, r8449, r8450, r8451, r8452, r8453, r8454, r8455,
r8456, r8457, r8458, r8459, r8460
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/jh/BOOK@8461 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/binutils.xml | 5 | ||||
-rw-r--r-- | chapter06/chapter06.xml | 2 | ||||
-rw-r--r-- | chapter06/createfiles.xml | 2 | ||||
-rw-r--r-- | chapter06/gawk.xml | 16 | ||||
-rw-r--r-- | chapter06/iproute2.xml | 14 | ||||
-rw-r--r-- | chapter06/linux-headers.xml | 2 | ||||
-rw-r--r-- | chapter06/man-db.xml | 21 | ||||
-rw-r--r-- | chapter06/pkgmgt.xml | 27 | ||||
-rw-r--r-- | chapter06/tar.xml | 4 | ||||
-rw-r--r-- | chapter06/texinfo.xml | 15 | ||||
-rw-r--r-- | chapter06/udev.xml | 5 | ||||
-rw-r--r-- | chapter06/util-linux-ng.xml | 756 | ||||
-rw-r--r-- | chapter06/util-linux.xml | 190 |
13 files changed, 880 insertions, 179 deletions
diff --git a/chapter06/binutils.xml b/chapter06/binutils.xml index 535fd506e..e930742dd 100644 --- a/chapter06/binutils.xml +++ b/chapter06/binutils.xml @@ -56,6 +56,11 @@ Ask your system administrator to create more.</computeroutput></screen> <para>This issue needs to be resolved before running the test suites for Binutils and GCC.</para> + <para>Binutils does not recognize versions of Texinfo newer than 4.9. Fix + this issue by applying the following patch:</para> + +<screen><userinput remap="pre">patch -Np1 -i ../&binutils-configure-patch;</userinput></screen> + <para>The Binutils documentation recommends building Binutils outside of the source directory in a dedicated build directory:</para> diff --git a/chapter06/chapter06.xml b/chapter06/chapter06.xml index e012ea8bc..58ed24716 100644 --- a/chapter06/chapter06.xml +++ b/chapter06/chapter06.xml @@ -66,7 +66,7 @@ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="tar.xml"/> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="texinfo.xml"/> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="udev.xml"/> - <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="util-linux.xml"/> + <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="util-linux-ng.xml"/> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="vim.xml"/> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="aboutdebug.xml"/> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="strippingagain.xml"/> diff --git a/chapter06/createfiles.xml b/chapter06/createfiles.xml index 249306d97..4913d7d91 100644 --- a/chapter06/createfiles.xml +++ b/chapter06/createfiles.xml @@ -83,7 +83,7 @@ daemon:x:6: floppy:x:7: disk:x:8: lp:x:9: -dialout:x:10: +uucp:x:10: audio:x:11: video:x:12: utmp:x:13: diff --git a/chapter06/gawk.xml b/chapter06/gawk.xml index 898f66a29..3c5c4b28e 100644 --- a/chapter06/gawk.xml +++ b/chapter06/gawk.xml @@ -40,26 +40,10 @@ <sect2 role="installation"> <title>Installation of Gawk</title> - <para>Under some circumstances, Gawk-&gawk-version; attempts to free a - chunk of memory that was not allocated. This bug is fixed by the following - patch:</para> - -<screen><userinput remap="pre">patch -Np1 -i ../&gawk-segfault-patch;</userinput></screen> - <para>Prepare Gawk for compilation:</para> <screen><userinput remap="configure">./configure --prefix=/usr --libexecdir=/usr/lib</userinput></screen> - <para>Due to a bug in the <command>configure</command> script, Gawk fails - to detect certain aspects of locale support in Glibc. This bug leads to, - e.g., Gettext testsuite failures. Work around this issue by appending the - missing macro definitions to <filename>config.h</filename>:</para> - -<screen><userinput remap="configure">cat >> config.h << "EOF" -<literal>#define HAVE_LANGINFO_CODESET 1 -#define HAVE_LC_MESSAGES 1</literal> -EOF</userinput></screen> - <para>Compile the package:</para> <screen><userinput remap="make">make</userinput></screen> diff --git a/chapter06/iproute2.xml b/chapter06/iproute2.xml index 872d8c38c..1934f0fbe 100644 --- a/chapter06/iproute2.xml +++ b/chapter06/iproute2.xml @@ -41,11 +41,6 @@ <sect2 role="installation"> <title>Installation of IPRoute2</title> - <para>The installation of two manual pages is broken and results in - dangling symlinks. Fix this with the following command:</para> - -<screen><userinput remap="pre">sed -i -e '/tc-bfifo.8/d' -e '/tc-pfifo.8/s/pbfifo/bfifo/' Makefile</userinput></screen> - <para>Compile the package:</para> <screen><userinput remap="make">make SBINDIR=/sbin</userinput></screen> @@ -65,7 +60,14 @@ </variablelist> - <para>This package does not come with a test suite.</para> + <para>This package comes with a testsuite, but due to assumptions it makes, + it is not possible to reliably run these tests from within the chroot + environment. If you wish to run these tests after booting into your new LFS + system, ensure you select <filename>/proc/config.gz</filename> + CONFIG_IKCONFIG_PROC ("General setup" -> "Enable access to + .config through /proc/config.gz") support into your kernel then run + 'make alltests' from the <filename class="directory">testsuite/</filename> + subdirectory.</para> <para>Install the package:</para> diff --git a/chapter06/linux-headers.xml b/chapter06/linux-headers.xml index b50b02398..9d0d2143a 100644 --- a/chapter06/linux-headers.xml +++ b/chapter06/linux-headers.xml @@ -84,7 +84,7 @@ cp -rv dest/include/* /usr/include</userinput></screen> <para>The Linux API headers</para> <indexterm zone="ch-system-linux-headers linux-headers"> <!-- No /*.h here to prevent a PDF line overflow --> - <primary sortas="e-/usr/include/{asm{,-generic},linux,mtd,rdma,sound}">/usr/include/{asm{,-generic},linux,mtd,rdma,sound}</primary> + <primary sortas="e-/usr/include/{asm{,-generic},linux,mtd,rdma,sound}">/usr/include/{asm{,-generic},linux,mtd,rdma,sound,video}</primary> </indexterm> </listitem> </varlistentry> diff --git a/chapter06/man-db.xml b/chapter06/man-db.xml index d72f23eb5..52de24fee 100644 --- a/chapter06/man-db.xml +++ b/chapter06/man-db.xml @@ -41,26 +41,16 @@ <sect2 role="installation"> <title>Installation of Man-DB</title> - <para>Four adjustments need to be made to the sources of Man-DB.</para> + <para>Two adjustments need to be made to the sources of Man-DB.</para> - <para>The first one changes the location of translated manual pages that come - with Man-DB, in order for them to be accessible in both traditional and - UTF-8 locales:</para> - -<screen><userinput remap="pre">mv man/de{_DE.88591,} -mv man/es{_ES.88591,} -mv man/it{_IT.88591,} -mv man/ja{_JP.eucJP,} -sed -i 's,\*_\*,??,' man/Makefile.in</userinput></screen> - - <para>The second change is a <command>sed</command> substitution to delete + <para>The first change is a <command>sed</command> substitution to delete the <quote>/usr/man</quote> and <quote>/usr/local/man</quote> lines in the <filename>man_db.conf</filename> file to prevent redundant results when using programs such as <command>whatis</command>:</para> <screen><userinput remap="pre">sed -i -e '\%\t/usr/man%d' -e '\%\t/usr/local/man%d' src/man_db.conf.in</userinput></screen> - <para>The third change accounts for programs that Man-DB should be able + <para>The second change accounts for programs that Man-DB should be able to find at runtime, but that haven't been installed yet:</para> <screen><userinput remap="pre">cat >> include/manconfig.h.in << "EOF" @@ -79,11 +69,6 @@ EOF</userinput></screen> manual pages. They are not part of LFS or BLFS, but you should be able to install them yourself after finishing LFS if you wish to do so.</para> - <para>Finally, patch the sources to fix output errors if the man page is - prematurely aborted by pressing the 'q' key:</para> - -<screen><userinput remap="pre">patch -Np1 -i ../&man-db-fixes-patch;</userinput></screen> - <para>Prepare Man-DB for compilation:</para> <screen><userinput remap="configure">./configure --prefix=/usr --enable-mb-groff --disable-setuid</userinput></screen> diff --git a/chapter06/pkgmgt.xml b/chapter06/pkgmgt.xml index 7c82ca8b3..3b8d1aa95 100644 --- a/chapter06/pkgmgt.xml +++ b/chapter06/pkgmgt.xml @@ -12,12 +12,14 @@ <para>Package Management is an often requested addition to the LFS Book. A Package Manager allows tracking the installation of files making it easy to - remove and upgrade packages. Before you begin to wonder, NO—this section - will not talk about nor recommend any particular package manager. What it - provides is a roundup of the more popular techniques and how they work. The - perfect package manager for you may be among these techniques or may be a - combination of two or more of these techniques. This section briefly mentions - issues that may arise when upgrading packages.</para> + remove and upgrade packages. As well as the binary and library files, a + package manager will handle the installation of configuration files. Before + you begin to wonder, NO—this section will not talk about nor recommend + any particular package manager. What it provides is a roundup of the more + popular techniques and how they work. The perfect package manager for you may + be among these techniques or may be a combination of two or more of these + techniques. This section briefly mentions issues that may arise when upgrading + packages.</para> <para>Some reasons why no package manager is mentioned in LFS or BLFS include:</para> @@ -182,9 +184,13 @@ make DESTDIR=/usr/pkg/libfoo/1.1 install</userinput></screen> </sect3> <sect3> - <title>LD_PRELOAD Based</title> + <title>Tracing Installation Scripts</title> - <para>In this approach, a library is preloaded before installation. During + <para>In this approach, the commands that the installation scripts perform + are recorded. There are two techniques that one can use:</para> + + <para>The <envar>LD_PRELOAD</envar> environment variable can be set to + point to a library to be preloaded before installation. During installation, this library tracks the packages that are being installed by attaching itself to various executables such as <command>cp</command>, <command>install</command>, <command>mv</command> and tracking the system @@ -195,6 +201,9 @@ make DESTDIR=/usr/pkg/libfoo/1.1 install</userinput></screen> ensure that the package manager does not break anything and logs all the appropriate files.</para> + <para>The second technique is to use <command>strace</command>, which + logs all system calls made during the execution of the installation + scripts.</para> </sect3> <sect3> @@ -209,7 +218,7 @@ make DESTDIR=/usr/pkg/libfoo/1.1 install</userinput></screen> <para>This approach is used by most of the package managers found in the commercial distributions. Examples of package managers that follow this approach are RPM (which, incidentally, is required by the <ulink - url="http://lsbbook.gforge.freestandards.org/package.html#RPM">Linux + url="http://www.linux-foundation.org/en/Specifications">Linux Standard Base Specification</ulink>), pkg-utils, Debian's apt, and Gentoo's Portage system. A hint describing how to adopt this style of package management for LFS systems is located at <ulink diff --git a/chapter06/tar.xml b/chapter06/tar.xml index a5dfa0a0d..dd91e51c4 100644 --- a/chapter06/tar.xml +++ b/chapter06/tar.xml @@ -50,8 +50,10 @@ <para>To test the results, issue:</para> -<screen><userinput remap="test">make check</userinput></screen> +<screen><userinput remap="test">make check || true</userinput></screen> + <para>Note that tests 26 and 29 are known to fail intermittently.</para> + <para>Install the package:</para> <screen><userinput remap="install">make install</userinput></screen> diff --git a/chapter06/texinfo.xml b/chapter06/texinfo.xml index 69916295a..447580764 100644 --- a/chapter06/texinfo.xml +++ b/chapter06/texinfo.xml @@ -41,19 +41,6 @@ <sect2 role="installation"> <title>Installation of Texinfo</title> - <para>The <command>info</command> program makes assumptions such as that - a string occupies the same number of character cells on the screen and - bytes in memory and that one can break the string anywhere, which fail - in UTF-8 based locales. The patch below makes them valid by falling back - to English messages when a multibyte locale is in use:</para> - -<screen><userinput remap="pre">patch -Np1 -i ../&texinfo-multibyte-patch;</userinput></screen> - - <para>Texinfo allows local users to overwrite arbitrary files via a symlink - attack on temporary files. Apply the following patch to fix this:</para> - -<screen><userinput remap="pre">patch -Np1 -i ../&texinfo-tempfile_fix-patch;</userinput></screen> - <para>Prepare Texinfo for compilation:</para> <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen> @@ -64,7 +51,7 @@ <para>To test the results, issue:</para> -<screen><userinput remap="test">make check</userinput></screen> +<screen><userinput remap="test">make -k check</userinput></screen> <para>Install the package:</para> diff --git a/chapter06/udev.xml b/chapter06/udev.xml index 6f7b15b7f..8d7e820ae 100644 --- a/chapter06/udev.xml +++ b/chapter06/udev.xml @@ -57,6 +57,11 @@ ln -sv /proc/self/fd/1 /lib/udev/devices/stdout ln -sv /proc/self/fd/2 /lib/udev/devices/stderr ln -sv /proc/kcore /lib/udev/devices/core</userinput></screen> + <para><command>usb_id</command> is known to segfault under certain kernel + configurations. Fix the issue by applying the following patch:</para> + +<screen><userinput remap="pre">patch -Np1 -i ../&udev-usbid-patch;</userinput></screen> + <para>Compile the package:</para> <screen><userinput remap="make">make EXTRAS="`echo extras/*/`"</userinput></screen> diff --git a/chapter06/util-linux-ng.xml b/chapter06/util-linux-ng.xml new file mode 100644 index 000000000..bf774a4e8 --- /dev/null +++ b/chapter06/util-linux-ng.xml @@ -0,0 +1,756 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" + "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ + <!ENTITY % general-entities SYSTEM "../general.ent"> + %general-entities; +]> + +<sect1 id="ch-system-util-linux-ng" role="wrap"> + <?dbhtml filename="util-linux-ng.html"?> + + <sect1info condition="script"> + <productname>util-linux-ng</productname> + <productnumber>&util-linux-ng-version;</productnumber> + <address>&util-linux-ng-url;</address> + </sect1info> + + <title>Util-linux-&util-linux-ng-version;</title> + + <indexterm zone="ch-system-util-linux-ng"> + <primary sortas="a-Util-linux-ng">Util-linux-ng</primary> + </indexterm> + + <sect2 role="package"> + <title/> + + <para>The Util-linux-ng package contains miscellaneous utility programs. + Among them are utilities for handling file systems, consoles, partitions, + and messages.</para> + + <segmentedlist> + <segtitle>&buildtime;</segtitle> + <segtitle>&diskspace;</segtitle> + + <seglistitem> + <seg>&util-linux-ng-ch6-sbu;</seg> + <seg>&util-linux-ng-ch6-du;</seg> + </seglistitem> + </segmentedlist> + + </sect2> + + <sect2 role="installation"> + <title>FHS compliance notes</title> + + <para>The FHS recommends using the <filename + class="directory">/var/lib/hwclock</filename> directory instead of the + usual <filename class="directory">/etc</filename> directory as the + location for the <filename>adjtime</filename> file. To make the + <command>hwclock</command> program FHS-compliant, run the + following:</para> + +<screen><userinput remap="pre">sed -e 's@etc/adjtime@var/lib/hwclock/adjtime@g' \ + -i $(grep -rl '/etc/adjtime' .) +mkdir -pv /var/lib/hwclock</userinput></screen> + + </sect2> + + <sect2 role="installation"> + <title>Installation of Util-linux-ng</title> + +<screen><userinput remap="configure">./configure</userinput></screen> + + <para>Compile the package:</para> + +<screen><userinput remap="make">make</userinput></screen> + +<screen><userinput remap="install">make install</userinput></screen> + + </sect2> + + <sect2 id="contents-utillinux" role="content"> + <title>Contents of Util-linux-ng</title> + + <segmentedlist> + <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> + </seglistitem> + </segmentedlist> + + <variablelist> + <bridgehead renderas="sect3">Short Descriptions</bridgehead> + <?dbfo list-presentation="list"?> + <?dbhtml list-presentation="table"?> + + <varlistentry id="agetty"> + <term><command>agetty</command></term> + <listitem> + <para>Opens a tty port, prompts for a login name, + and then invokes the <command>login</command> program</para> + <indexterm zone="ch-system-util-linux-ng agetty"> + <primary sortas="b-agetty">agetty</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="arch"> + <term><command>arch</command></term> + <listitem> + <para>Reports the machine's architecture</para> + <indexterm zone="ch-system-util-linux-ng arch"> + <primary sortas="b-arch">arch</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="blockdev"> + <term><command>blockdev</command></term> + <listitem> + <para>Allows users to call block device ioctls from the command + line</para> + <indexterm zone="ch-system-util-linux-ng blockdev"> + <primary sortas="b-blockdev">blockdev</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="cal"> + <term><command>cal</command></term> + <listitem> + <para>Displays a simple calendar</para> + <indexterm zone="ch-system-util-linux-ng cal"> + <primary sortas="b-cal">cal</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="cfdisk"> + <term><command>cfdisk</command></term> + <listitem> + <para>Manipulates the partition table of the given device</para> + <indexterm zone="ch-system-util-linux-ng cfdisk"> + <primary sortas="b-cfdisk">cfdisk</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="chkdupexe"> + <term><command>chkdupexe</command></term> + <listitem> + <para>Finds duplicate executables</para> + <indexterm zone="ch-system-util-linux-ng chkdupexe"> + <primary sortas="b-chkdupexe">chkdupexe</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="col"> + <term><command>col</command></term> + <listitem> + <para>Filters out reverse line feeds</para> + <indexterm zone="ch-system-util-linux-ng col"> + <primary sortas="b-col">col</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="colcrt"> + <term><command>colcrt</command></term> + <listitem> + <para>Filters <command>nroff</command> output for terminals + that lack some capabilities, such as overstriking and half-lines</para> + <indexterm zone="ch-system-util-linux-ng colcrt"> + <primary sortas="b-colcrt">colcrt</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="colrm"> + <term><command>colrm</command></term> + <listitem> + <para>Filters out the given columns</para> + <indexterm zone="ch-system-util-linux-ng colrm"> + <primary sortas="b-colrm">colrm</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="column"> + <term><command>column</command></term> + <listitem> + <para>Formats a given file into multiple columns</para> + <indexterm zone="ch-system-util-linux-ng column"> + <primary sortas="b-column">column</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="ctrlaltdel"> + <term><command>ctrlaltdel</command></term> + <listitem> + <para>Sets the function of the Ctrl+Alt+Del key combination to a + hard or a soft reset</para> + <indexterm zone="ch-system-util-linux-ng ctrlaltdel"> + <primary sortas="b-ctrlaltdel">ctrlaltdel</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="cytune"> + <term><command>cytune</command></term> + <listitem> + <para>Tunes the parameters of the serial line drivers for + Cyclades cards</para> + <indexterm zone="ch-system-util-linux-ng cytune"> + <primary sortas="b-cytune">cytune</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="ddate"> + <term><command>ddate</command></term> + <listitem> + <para>Gives the Discordian date or converts the given Gregorian date + to a Discordian one</para> + <indexterm zone="ch-system-util-linux-ng ddate"> + <primary sortas="b-ddate">ddate</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="dmesg"> + <term><command>dmesg</command></term> + <listitem> + <para>Dumps the kernel boot messages</para> + <indexterm zone="ch-system-util-linux-ng dmesg"> + <primary sortas="b-dmesg">dmesg</primary> + </indexterm> + </listitem> + </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"> + <term><command>fdformat</command></term> + <listitem> + <para>Low-level formats a floppy disk</para> + <indexterm zone="ch-system-util-linux-ng fdformat"> + <primary sortas="b-fdformat">fdformat</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="fdisk"> + <term><command>fdisk</command></term> + <listitem> + <para>Manipulates the paritition table of the given device</para> + <indexterm zone="ch-system-util-linux-ng fdisk"> + <primary sortas="b-fdisk">fdisk</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="flock"> + <term><command>flock</command></term> + <listitem> + <para>Acquires a file lock and then executes a command with the lock + held</para> + <indexterm zone="ch-system-util-linux-ng flock"> + <primary sortas="b-flock">flock</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="fsck.cramfs"> + <term><command>fsck.cramfs</command></term> + <listitem> + <para>Performs a consistency check on the Cramfs file system on the + given device</para> + <indexterm zone="ch-system-util-linux-ng fsck.cramfs"> + <primary sortas="b-fsck.cramfs">fsck.cramfs</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="fsck.minix"> + <term><command>fsck.minix</command></term> + <listitem> + <para>Performs a consistency check on the Minix file system on the + given device</para> + <indexterm zone="ch-system-util-linux-ng fsck.minix"> + <primary sortas="b-fsck.minix">fsck.minix</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="getopt"> + <term><command>getopt</command></term> + <listitem> + <para>Parses options in the given command line</para> + <indexterm zone="ch-system-util-linux-ng getopt"> + <primary sortas="b-getopt">getopt</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="hexdump"> + <term><command>hexdump</command></term> + <listitem> + <para>Dumps the given file in hexadecimal or in another given + format</para> + <indexterm zone="ch-system-util-linux-ng hexdump"> + <primary sortas="b-hexdump">hexdump</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="hwclock"> + <term><command>hwclock</command></term> + <listitem> + <para>Reads or sets the system's hardware clock, also called + the Real-Time Clock (RTC) or Basic Input-Output System (BIOS) + clock</para> + <indexterm zone="ch-system-util-linux-ng hwclock"> + <primary sortas="b-hwclock">hwclock</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="ipcrm"> + <term><command>ipcrm</command></term> + <listitem> + <para>Removes the given Inter-Process Communication (IPC) resource</para> + <indexterm zone="ch-system-util-linux-ng ipcrm"> + <primary sortas="b-ipcrm">ipcrm</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="ipcs"> + <term><command>ipcs</command></term> + <listitem> + <para>Provides IPC status information</para> + <indexterm zone="ch-system-util-linux-ng ipcs"> + <primary sortas="b-ipcs">ipcs</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="isosize"> + <term><command>isosize</command></term> + <listitem> + <para>Reports the size of an iso9660 file system</para> + <indexterm zone="ch-system-util-linux-ng isosize"> + <primary sortas="b-isosize">isosize</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="line"> + <term><command>line</command></term> + <listitem> + <para>Copies a single line</para> + <indexterm zone="ch-system-util-linux-ng line"> + <primary sortas="b-line">line</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="logger"> + <term><command>logger</command></term> + <listitem> + <para>Enters the given message into the system log</para> + <indexterm zone="ch-system-util-linux-ng logger"> + <primary sortas="b-logger">logger</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="look"> + <term><command>look</command></term> + <listitem> + <para>Displays lines that begin with the given string</para> + <indexterm zone="ch-system-util-linux-ng look"> + <primary sortas="b-look">look</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="losetup"> + <term><command>losetup</command></term> + <listitem> + <para>Sets up and controls loop devices</para> + <indexterm zone="ch-system-util-linux-ng losetup"> + <primary sortas="b-losetup">losetup</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="mcookie"> + <term><command>mcookie</command></term> + <listitem> + <para>Generates magic cookies (128-bit random hexadecimal numbers) for + <command>xauth</command></para> + <indexterm zone="ch-system-util-linux-ng mcookie"> + <primary sortas="b-mcookie">mcookie</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="mkfs"> + <term><command>mkfs</command></term> + <listitem> + <para>Builds a file system on a device (usually a hard disk + partition)</para> + <indexterm zone="ch-system-util-linux-ng mkfs"> + <primary sortas="b-mkfs">mkfs</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="mkfs.bfs"> + <term><command>mkfs.bfs</command></term> + <listitem> + <para>Creates a Santa Cruz Operations (SCO) bfs file system</para> + <indexterm zone="ch-system-util-linux-ng mkfs.bfs"> + <primary sortas="b-mkfs.bfs">mkfs.bfs</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="mkfs.cramfs"> + <term><command>mkfs.cramfs</command></term> + <listitem> + <para>Creates a cramfs file system</para> + <indexterm zone="ch-system-util-linux-ng mkfs.cramfs"> + <primary sortas="b-mkfs.cramfs">mkfs.cramfs</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="mkfs.minix"> + <term><command>mkfs.minix</command></term> + <listitem> + <para>Creates a Minix file system</para> + <indexterm zone="ch-system-util-linux-ng mkfs.minix"> + <primary sortas="b-mkfs.minix">mkfs.minix</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="mkswap"> + <term><command>mkswap</command></term> + <listitem> + <para>Initializes the given device or file to be used as a swap + area</para> + <indexterm zone="ch-system-util-linux-ng mkswap"> + <primary sortas="b-mkswap">mkswap</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="more"> + <term><command>more</command></term> + <listitem> + <para>A filter for paging through text one screen at a time</para> + <indexterm zone="ch-system-util-linux-ng more"> + <primary sortas="b-more">more</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="mount"> + <term><command>mount</command></term> + <listitem> + <para>Attaches the file system on the given device to a specified + directory in the file-system tree</para> + <indexterm zone="ch-system-util-linux-ng mount"> + <primary sortas="b-mount">mount</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="namei"> + <term><command>namei</command></term> + <listitem> + <para>Shows the symbolic links in the given pathnames</para> + <indexterm zone="ch-system-util-linux-ng namei"> + <primary sortas="b-namei">namei</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="pg"> + <term><command>pg</command></term> + <listitem> + <para>Displays a text file one screen full at a time</para> + <indexterm zone="ch-system-util-linux-ng pg"> + <primary sortas="b-pg">pg</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="pivot_root"> + <term><command>pivot_root</command></term> + <listitem> + <para>Makes the given file system the new root file system of the + current process</para> + <indexterm zone="ch-system-util-linux-ng pivot_root"> + <primary sortas="b-pivot_root">pivot_root</primary> + </indexterm> + </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> + <para>Reads kernel profiling information</para> + <indexterm zone="ch-system-util-linux-ng readprofile"> + <primary sortas="b-readprofile">readprofile</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="rename"> + <term><command>rename</command></term> + <listitem> + <para>Renames the given files, replacing a given string with + another</para> + <indexterm zone="ch-system-util-linux-ng rename"> + <primary sortas="b-rename">rename</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="renice"> + <term><command>renice</command></term> + <listitem> + <para>Alters the priority of running processes</para> + <indexterm zone="ch-system-util-linux-ng renice"> + <primary sortas="b-renice">renice</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="rev"> + <term><command>rev</command></term> + <listitem> + <para>Reverses the lines of a given file</para> + <indexterm zone="ch-system-util-linux-ng rev"> + <primary sortas="b-rev">rev</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="rootflags"> + <term><command>rootflags</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> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="script"> + <term><command>script</command></term> + <listitem> + <para>Makes a typescript of a terminal session</para> + <indexterm zone="ch-system-util-linux-ng script"> + <primary sortas="b-script">script</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="setfdprm"> + <term><command>setfdprm</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> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="setsid"> + <term><command>setsid</command></term> + <listitem> + <para>Runs the given program in a new session</para> + <indexterm zone="ch-system-util-linux-ng setsid"> + <primary sortas="b-setsid">setsid</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="setterm"> + <term><command>setterm</command></term> + <listitem> + <para>Sets terminal attributes</para> + <indexterm zone="ch-system-util-linux-ng setterm"> + <primary sortas="b-setterm">setterm</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="sfdisk"> + <term><command>sfdisk</command></term> + <listitem> + <para>A disk partition table manipulator</para> + <indexterm zone="ch-system-util-linux-ng sfdisk"> + <primary sortas="b-sfdisk">sfdisk</primary> + </indexterm> + </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> + <para>Enables devices and files for paging and swapping and + lists the devices and files currently in use</para> + <indexterm zone="ch-system-util-linux-ng swapon"> + <primary sortas="b-swapon">swapon</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="tailf"> + <term><command>tailf</command></term> + <listitem> + <para>Tracks the growth of a log file. Displays the last 10 lines + of a log file, then continues displaying any new entries in the + log file as they are created</para> + <indexterm zone="ch-system-util-linux-ng tailf"> + <primary sortas="b-tailf">tailf</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="tunelp"> + <term><command>tunelp</command></term> + <listitem> + <para>Tunes the parameters of the line printer</para> + <indexterm zone="ch-system-util-linux-ng tunelp"> + <primary sortas="b-tunelp">tunelp</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="ul"> + <term><command>ul</command></term> + <listitem> + <para>A filter for translating underscores into escape sequences + indicating underlining for the terminal in use</para> + <indexterm zone="ch-system-util-linux-ng ul"> + <primary sortas="b-ul">ul</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="umount"> + <term><command>umount</command></term> + <listitem> + <para>Disconnects a file system from the system's file tree</para> + <indexterm zone="ch-system-util-linux-ng umount"> + <primary sortas="b-umount">umount</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="vidmode"> + <term><command>vidmode</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> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="whereis"> + <term><command>whereis</command></term> + <listitem> + <para>Reports the location of the binary, source, and man page + for the given command</para> + <indexterm zone="ch-system-util-linux-ng whereis"> + <primary sortas="b-whereis">whereis</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="write"> + <term><command>write</command></term> + <listitem> + <para>Sends a message to the given user <emphasis>if</emphasis> that + user has not disabled receipt of such messages</para> + <indexterm zone="ch-system-util-linux-ng write"> + <primary sortas="b-write">write</primary> + </indexterm> + </listitem> + </varlistentry> + + </variablelist> + + </sect2> + +</sect1> diff --git a/chapter06/util-linux.xml b/chapter06/util-linux.xml index 9f6830f86..656127aa1 100644 --- a/chapter06/util-linux.xml +++ b/chapter06/util-linux.xml @@ -5,35 +5,35 @@ %general-entities; ]> -<sect1 id="ch-system-util-linux" role="wrap"> - <?dbhtml filename="util-linux.html"?> +<sect1 id="ch-system-util-linux-ng" role="wrap"> + <?dbhtml filename="util-linux-ng.html"?> <sect1info condition="script"> - <productname>util-linux</productname> - <productnumber>&util-linux-version;</productnumber> - <address>&util-linux-url;</address> + <productname>util-linux-ng</productname> + <productnumber>&util-linux-ng-version;</productnumber> + <address>&util-linux-ng-url;</address> </sect1info> - <title>Util-linux-&util-linux-version;</title> + <title>Util-linux-&util-linux-ng-version;</title> - <indexterm zone="ch-system-util-linux"> - <primary sortas="a-Util-linux">Util-linux</primary> + <indexterm zone="ch-system-util-linux-ng"> + <primary sortas="a-Util-linux-ng">Util-linux-ng</primary> </indexterm> <sect2 role="package"> <title/> - <para>The Util-linux package contains miscellaneous utility programs. Among - them are utilities for handling file systems, consoles, partitions, and - messages.</para> + <para>The Util-linux-ng package contains miscellaneous utility programs. + Among them are utilities for handling file systems, consoles, partitions, + and messages.</para> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem> - <seg>&util-linux-ch6-sbu;</seg> - <seg>&util-linux-ch6-du;</seg> + <seg>&util-linux-ng-ch6-sbu;</seg> + <seg>&util-linux-ng-ch6-du;</seg> </seglistitem> </segmentedlist> @@ -58,47 +58,13 @@ mkdir -pv /var/lib/hwclock</userinput></screen> <sect2 role="installation"> <title>Installation of Util-linux</title> - <para>Util-linux fails to compile against newer versions of Linux kernel - headers. The following patches properly fix the problems:</para> - -<screen><userinput remap="pre">patch -Np1 -i ../&util-linux-cramfs-patch; -patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> - - <para>Prepare Util-linux for compilation:</para> - <screen><userinput remap="configure">./configure</userinput></screen> <para>Compile the package:</para> -<screen><userinput remap="make">make HAVE_KILL=yes HAVE_SLN=yes</userinput></screen> - - <variablelist> - <title>The meaning of the make parameters:</title> - - <varlistentry> - <term><parameter>HAVE_KILL=yes</parameter></term> - <listitem> - <para>This prevents the <command>kill</command> program (already - installed by Procps) from being built and installed again.</para> - </listitem> - </varlistentry> - - <varlistentry> - <term><parameter>HAVE_SLN=yes</parameter></term> - <listitem> - <para>This prevents the <command>sln</command> program (a - statically linked version of <command>ln</command> already installed - by Glibc) from being built and installed again.</para> - </listitem> - </varlistentry> - - </variablelist> - - <para>This package does not come with a test suite.</para> - - <para>Install the package:</para> +<screen><userinput remap="make">make</userinput></screen> -<screen><userinput remap="install">make HAVE_KILL=yes HAVE_SLN=yes install</userinput></screen> +<screen><userinput remap="install">make install</userinput></screen> </sect2> @@ -131,7 +97,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <listitem> <para>Opens a tty port, prompts for a login name, and then invokes the <command>login</command> program</para> - <indexterm zone="ch-system-util-linux agetty"> + <indexterm zone="ch-system-util-linux-ng agetty"> <primary sortas="b-agetty">agetty</primary> </indexterm> </listitem> @@ -141,7 +107,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <term><command>arch</command></term> <listitem> <para>Reports the machine's architecture</para> - <indexterm zone="ch-system-util-linux arch"> + <indexterm zone="ch-system-util-linux-ng arch"> <primary sortas="b-arch">arch</primary> </indexterm> </listitem> @@ -152,7 +118,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <listitem> <para>Allows users to call block device ioctls from the command line</para> - <indexterm zone="ch-system-util-linux blockdev"> + <indexterm zone="ch-system-util-linux-ng blockdev"> <primary sortas="b-blockdev">blockdev</primary> </indexterm> </listitem> @@ -162,7 +128,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <term><command>cal</command></term> <listitem> <para>Displays a simple calendar</para> - <indexterm zone="ch-system-util-linux cal"> + <indexterm zone="ch-system-util-linux-ng cal"> <primary sortas="b-cal">cal</primary> </indexterm> </listitem> @@ -172,7 +138,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <term><command>cfdisk</command></term> <listitem> <para>Manipulates the partition table of the given device</para> - <indexterm zone="ch-system-util-linux cfdisk"> + <indexterm zone="ch-system-util-linux-ng cfdisk"> <primary sortas="b-cfdisk">cfdisk</primary> </indexterm> </listitem> @@ -182,7 +148,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <term><command>chkdupexe</command></term> <listitem> <para>Finds duplicate executables</para> - <indexterm zone="ch-system-util-linux chkdupexe"> + <indexterm zone="ch-system-util-linux-ng chkdupexe"> <primary sortas="b-chkdupexe">chkdupexe</primary> </indexterm> </listitem> @@ -192,7 +158,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <term><command>col</command></term> <listitem> <para>Filters out reverse line feeds</para> - <indexterm zone="ch-system-util-linux col"> + <indexterm zone="ch-system-util-linux-ng col"> <primary sortas="b-col">col</primary> </indexterm> </listitem> @@ -203,7 +169,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <listitem> <para>Filters <command>nroff</command> output for terminals that lack some capabilities, such as overstriking and half-lines</para> - <indexterm zone="ch-system-util-linux colcrt"> + <indexterm zone="ch-system-util-linux-ng colcrt"> <primary sortas="b-colcrt">colcrt</primary> </indexterm> </listitem> @@ -213,7 +179,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <term><command>colrm</command></term> <listitem> <para>Filters out the given columns</para> - <indexterm zone="ch-system-util-linux colrm"> + <indexterm zone="ch-system-util-linux-ng colrm"> <primary sortas="b-colrm">colrm</primary> </indexterm> </listitem> @@ -223,7 +189,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <term><command>column</command></term> <listitem> <para>Formats a given file into multiple columns</para> - <indexterm zone="ch-system-util-linux column"> + <indexterm zone="ch-system-util-linux-ng column"> <primary sortas="b-column">column</primary> </indexterm> </listitem> @@ -234,7 +200,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <listitem> <para>Sets the function of the Ctrl+Alt+Del key combination to a hard or a soft reset</para> - <indexterm zone="ch-system-util-linux ctrlaltdel"> + <indexterm zone="ch-system-util-linux-ng ctrlaltdel"> <primary sortas="b-ctrlaltdel">ctrlaltdel</primary> </indexterm> </listitem> @@ -245,7 +211,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <listitem> <para>Tunes the parameters of the serial line drivers for Cyclades cards</para> - <indexterm zone="ch-system-util-linux cytune"> + <indexterm zone="ch-system-util-linux-ng cytune"> <primary sortas="b-cytune">cytune</primary> </indexterm> </listitem> @@ -256,7 +222,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <listitem> <para>Gives the Discordian date or converts the given Gregorian date to a Discordian one</para> - <indexterm zone="ch-system-util-linux ddate"> + <indexterm zone="ch-system-util-linux-ng ddate"> <primary sortas="b-ddate">ddate</primary> </indexterm> </listitem> @@ -266,7 +232,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <term><command>dmesg</command></term> <listitem> <para>Dumps the kernel boot messages</para> - <indexterm zone="ch-system-util-linux dmesg"> + <indexterm zone="ch-system-util-linux-ng dmesg"> <primary sortas="b-dmesg">dmesg</primary> </indexterm> </listitem> @@ -277,7 +243,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <listitem> <para>Tunes the performance and interactivity of a block device</para> - <indexterm zone="ch-system-util-linux elvtune"> + <indexterm zone="ch-system-util-linux-ng elvtune"> <primary sortas="b-elvtune">elvtune</primary> </indexterm> </listitem> @@ -287,7 +253,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <term><command>fdformat</command></term> <listitem> <para>Low-level formats a floppy disk</para> - <indexterm zone="ch-system-util-linux fdformat"> + <indexterm zone="ch-system-util-linux-ng fdformat"> <primary sortas="b-fdformat">fdformat</primary> </indexterm> </listitem> @@ -297,7 +263,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <term><command>fdisk</command></term> <listitem> <para>Manipulates the paritition table of the given device</para> - <indexterm zone="ch-system-util-linux fdisk"> + <indexterm zone="ch-system-util-linux-ng fdisk"> <primary sortas="b-fdisk">fdisk</primary> </indexterm> </listitem> @@ -308,7 +274,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <listitem> <para>Acquires a file lock and then executes a command with the lock held</para> - <indexterm zone="ch-system-util-linux flock"> + <indexterm zone="ch-system-util-linux-ng flock"> <primary sortas="b-flock">flock</primary> </indexterm> </listitem> @@ -319,7 +285,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <listitem> <para>Performs a consistency check on the Cramfs file system on the given device</para> - <indexterm zone="ch-system-util-linux fsck.cramfs"> + <indexterm zone="ch-system-util-linux-ng fsck.cramfs"> <primary sortas="b-fsck.cramfs">fsck.cramfs</primary> </indexterm> </listitem> @@ -330,7 +296,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <listitem> <para>Performs a consistency check on the Minix file system on the given device</para> - <indexterm zone="ch-system-util-linux fsck.minix"> + <indexterm zone="ch-system-util-linux-ng fsck.minix"> <primary sortas="b-fsck.minix">fsck.minix</primary> </indexterm> </listitem> @@ -340,7 +306,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <term><command>getopt</command></term> <listitem> <para>Parses options in the given command line</para> - <indexterm zone="ch-system-util-linux getopt"> + <indexterm zone="ch-system-util-linux-ng getopt"> <primary sortas="b-getopt">getopt</primary> </indexterm> </listitem> @@ -351,7 +317,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <listitem> <para>Dumps the given file in hexadecimal or in another given format</para> - <indexterm zone="ch-system-util-linux hexdump"> + <indexterm zone="ch-system-util-linux-ng hexdump"> <primary sortas="b-hexdump">hexdump</primary> </indexterm> </listitem> @@ -363,7 +329,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <para>Reads or sets the system's hardware clock, also called the Real-Time Clock (RTC) or Basic Input-Output System (BIOS) clock</para> - <indexterm zone="ch-system-util-linux hwclock"> + <indexterm zone="ch-system-util-linux-ng hwclock"> <primary sortas="b-hwclock">hwclock</primary> </indexterm> </listitem> @@ -373,7 +339,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <term><command>ipcrm</command></term> <listitem> <para>Removes the given Inter-Process Communication (IPC) resource</para> - <indexterm zone="ch-system-util-linux ipcrm"> + <indexterm zone="ch-system-util-linux-ng ipcrm"> <primary sortas="b-ipcrm">ipcrm</primary> </indexterm> </listitem> @@ -383,7 +349,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <term><command>ipcs</command></term> <listitem> <para>Provides IPC status information</para> - <indexterm zone="ch-system-util-linux ipcs"> + <indexterm zone="ch-system-util-linux-ng ipcs"> <primary sortas="b-ipcs">ipcs</primary> </indexterm> </listitem> @@ -393,7 +359,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <term><command>isosize</command></term> <listitem> <para>Reports the size of an iso9660 file system</para> - <indexterm zone="ch-system-util-linux isosize"> + <indexterm zone="ch-system-util-linux-ng isosize"> <primary sortas="b-isosize">isosize</primary> </indexterm> </listitem> @@ -403,7 +369,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <term><command>line</command></term> <listitem> <para>Copies a single line</para> - <indexterm zone="ch-system-util-linux line"> + <indexterm zone="ch-system-util-linux-ng line"> <primary sortas="b-line">line</primary> </indexterm> </listitem> @@ -413,7 +379,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <term><command>logger</command></term> <listitem> <para>Enters the given message into the system log</para> - <indexterm zone="ch-system-util-linux logger"> + <indexterm zone="ch-system-util-linux-ng logger"> <primary sortas="b-logger">logger</primary> </indexterm> </listitem> @@ -423,7 +389,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <term><command>look</command></term> <listitem> <para>Displays lines that begin with the given string</para> - <indexterm zone="ch-system-util-linux look"> + <indexterm zone="ch-system-util-linux-ng look"> <primary sortas="b-look">look</primary> </indexterm> </listitem> @@ -433,7 +399,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <term><command>losetup</command></term> <listitem> <para>Sets up and controls loop devices</para> - <indexterm zone="ch-system-util-linux losetup"> + <indexterm zone="ch-system-util-linux-ng losetup"> <primary sortas="b-losetup">losetup</primary> </indexterm> </listitem> @@ -444,7 +410,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <listitem> <para>Generates magic cookies (128-bit random hexadecimal numbers) for <command>xauth</command></para> - <indexterm zone="ch-system-util-linux mcookie"> + <indexterm zone="ch-system-util-linux-ng mcookie"> <primary sortas="b-mcookie">mcookie</primary> </indexterm> </listitem> @@ -455,7 +421,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <listitem> <para>Builds a file system on a device (usually a hard disk partition)</para> - <indexterm zone="ch-system-util-linux mkfs"> + <indexterm zone="ch-system-util-linux-ng mkfs"> <primary sortas="b-mkfs">mkfs</primary> </indexterm> </listitem> @@ -465,7 +431,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <term><command>mkfs.bfs</command></term> <listitem> <para>Creates a Santa Cruz Operations (SCO) bfs file system</para> - <indexterm zone="ch-system-util-linux mkfs.bfs"> + <indexterm zone="ch-system-util-linux-ng mkfs.bfs"> <primary sortas="b-mkfs.bfs">mkfs.bfs</primary> </indexterm> </listitem> @@ -475,7 +441,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <term><command>mkfs.cramfs</command></term> <listitem> <para>Creates a cramfs file system</para> - <indexterm zone="ch-system-util-linux mkfs.cramfs"> + <indexterm zone="ch-system-util-linux-ng mkfs.cramfs"> <primary sortas="b-mkfs.cramfs">mkfs.cramfs</primary> </indexterm> </listitem> @@ -485,7 +451,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <term><command>mkfs.minix</command></term> <listitem> <para>Creates a Minix file system</para> - <indexterm zone="ch-system-util-linux mkfs.minix"> + <indexterm zone="ch-system-util-linux-ng mkfs.minix"> <primary sortas="b-mkfs.minix">mkfs.minix</primary> </indexterm> </listitem> @@ -496,7 +462,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <listitem> <para>Initializes the given device or file to be used as a swap area</para> - <indexterm zone="ch-system-util-linux mkswap"> + <indexterm zone="ch-system-util-linux-ng mkswap"> <primary sortas="b-mkswap">mkswap</primary> </indexterm> </listitem> @@ -506,7 +472,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <term><command>more</command></term> <listitem> <para>A filter for paging through text one screen at a time</para> - <indexterm zone="ch-system-util-linux more"> + <indexterm zone="ch-system-util-linux-ng more"> <primary sortas="b-more">more</primary> </indexterm> </listitem> @@ -517,7 +483,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <listitem> <para>Attaches the file system on the given device to a specified directory in the file-system tree</para> - <indexterm zone="ch-system-util-linux mount"> + <indexterm zone="ch-system-util-linux-ng mount"> <primary sortas="b-mount">mount</primary> </indexterm> </listitem> @@ -527,7 +493,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <term><command>namei</command></term> <listitem> <para>Shows the symbolic links in the given pathnames</para> - <indexterm zone="ch-system-util-linux namei"> + <indexterm zone="ch-system-util-linux-ng namei"> <primary sortas="b-namei">namei</primary> </indexterm> </listitem> @@ -537,7 +503,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <term><command>pg</command></term> <listitem> <para>Displays a text file one screen full at a time</para> - <indexterm zone="ch-system-util-linux pg"> + <indexterm zone="ch-system-util-linux-ng pg"> <primary sortas="b-pg">pg</primary> </indexterm> </listitem> @@ -548,7 +514,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <listitem> <para>Makes the given file system the new root file system of the current process</para> - <indexterm zone="ch-system-util-linux pivot_root"> + <indexterm zone="ch-system-util-linux-ng pivot_root"> <primary sortas="b-pivot_root">pivot_root</primary> </indexterm> </listitem> @@ -558,7 +524,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <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 ramsize"> + <indexterm zone="ch-system-util-linux-ng ramsize"> <primary sortas="b-ramsize">ramsize</primary> </indexterm> </listitem> @@ -569,7 +535,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <listitem> <para>Used to bind a Linux raw character device to a block device</para> - <indexterm zone="ch-system-util-linux raw"> + <indexterm zone="ch-system-util-linux-ng raw"> <primary sortas="b-raw">raw</primary> </indexterm> </listitem> @@ -580,7 +546,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <listitem> <para>Queries and sets the root device, among other things, in a bootable image</para> - <indexterm zone="ch-system-util-linux rdev"> + <indexterm zone="ch-system-util-linux-ng rdev"> <primary sortas="b-rdev">rdev</primary> </indexterm> </listitem> @@ -590,7 +556,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <term><command>readprofile</command></term> <listitem> <para>Reads kernel profiling information</para> - <indexterm zone="ch-system-util-linux readprofile"> + <indexterm zone="ch-system-util-linux-ng readprofile"> <primary sortas="b-readprofile">readprofile</primary> </indexterm> </listitem> @@ -601,7 +567,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <listitem> <para>Renames the given files, replacing a given string with another</para> - <indexterm zone="ch-system-util-linux rename"> + <indexterm zone="ch-system-util-linux-ng rename"> <primary sortas="b-rename">rename</primary> </indexterm> </listitem> @@ -611,7 +577,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <term><command>renice</command></term> <listitem> <para>Alters the priority of running processes</para> - <indexterm zone="ch-system-util-linux renice"> + <indexterm zone="ch-system-util-linux-ng renice"> <primary sortas="b-renice">renice</primary> </indexterm> </listitem> @@ -621,7 +587,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <term><command>rev</command></term> <listitem> <para>Reverses the lines of a given file</para> - <indexterm zone="ch-system-util-linux rev"> + <indexterm zone="ch-system-util-linux-ng rev"> <primary sortas="b-rev">rev</primary> </indexterm> </listitem> @@ -631,7 +597,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <term><command>rootflags</command></term> <listitem> <para>Sets the rootflags in a bootable image</para> - <indexterm zone="ch-system-util-linux rootflags"> + <indexterm zone="ch-system-util-linux-ng rootflags"> <primary sortas="b-rootflags">rootflags</primary> </indexterm> </listitem> @@ -641,7 +607,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <term><command>script</command></term> <listitem> <para>Makes a typescript of a terminal session</para> - <indexterm zone="ch-system-util-linux script"> + <indexterm zone="ch-system-util-linux-ng script"> <primary sortas="b-script">script</primary> </indexterm> </listitem> @@ -651,7 +617,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <term><command>setfdprm</command></term> <listitem> <para>Sets user-provided floppy disk parameters</para> - <indexterm zone="ch-system-util-linux setfdprm"> + <indexterm zone="ch-system-util-linux-ng setfdprm"> <primary sortas="b-setfdprm">setfdprm</primary> </indexterm> </listitem> @@ -661,7 +627,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <term><command>setsid</command></term> <listitem> <para>Runs the given program in a new session</para> - <indexterm zone="ch-system-util-linux setsid"> + <indexterm zone="ch-system-util-linux-ng setsid"> <primary sortas="b-setsid">setsid</primary> </indexterm> </listitem> @@ -671,7 +637,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <term><command>setterm</command></term> <listitem> <para>Sets terminal attributes</para> - <indexterm zone="ch-system-util-linux setterm"> + <indexterm zone="ch-system-util-linux-ng setterm"> <primary sortas="b-setterm">setterm</primary> </indexterm> </listitem> @@ -681,7 +647,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <term><command>sfdisk</command></term> <listitem> <para>A disk partition table manipulator</para> - <indexterm zone="ch-system-util-linux sfdisk"> + <indexterm zone="ch-system-util-linux-ng sfdisk"> <primary sortas="b-sfdisk">sfdisk</primary> </indexterm> </listitem> @@ -691,7 +657,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <term><command>swapoff</command></term> <listitem> <para>Disables devices and files for paging and swapping</para> - <indexterm zone="ch-system-util-linux swapoff"> + <indexterm zone="ch-system-util-linux-ng swapoff"> <primary sortas="b-swapoff">swapoff</primary> </indexterm> </listitem> @@ -702,7 +668,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <listitem> <para>Enables devices and files for paging and swapping and lists the devices and files currently in use</para> - <indexterm zone="ch-system-util-linux swapon"> + <indexterm zone="ch-system-util-linux-ng swapon"> <primary sortas="b-swapon">swapon</primary> </indexterm> </listitem> @@ -714,7 +680,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <para>Tracks the growth of a log file. Displays the last 10 lines of a log file, then continues displaying any new entries in the log file as they are created</para> - <indexterm zone="ch-system-util-linux tailf"> + <indexterm zone="ch-system-util-linux-ng tailf"> <primary sortas="b-tailf">tailf</primary> </indexterm> </listitem> @@ -724,7 +690,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <term><command>tunelp</command></term> <listitem> <para>Tunes the parameters of the line printer</para> - <indexterm zone="ch-system-util-linux tunelp"> + <indexterm zone="ch-system-util-linux-ng tunelp"> <primary sortas="b-tunelp">tunelp</primary> </indexterm> </listitem> @@ -735,7 +701,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <listitem> <para>A filter for translating underscores into escape sequences indicating underlining for the terminal in use</para> - <indexterm zone="ch-system-util-linux ul"> + <indexterm zone="ch-system-util-linux-ng ul"> <primary sortas="b-ul">ul</primary> </indexterm> </listitem> @@ -745,7 +711,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <term><command>umount</command></term> <listitem> <para>Disconnects a file system from the system's file tree</para> - <indexterm zone="ch-system-util-linux umount"> + <indexterm zone="ch-system-util-linux-ng umount"> <primary sortas="b-umount">umount</primary> </indexterm> </listitem> @@ -755,7 +721,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <term><command>vidmode</command></term> <listitem> <para>Sets the video mode in a bootable image</para> - <indexterm zone="ch-system-util-linux vidmode"> + <indexterm zone="ch-system-util-linux-ng vidmode"> <primary sortas="b-vidmode">vidmode</primary> </indexterm> </listitem> @@ -766,7 +732,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <listitem> <para>Reports the location of the binary, source, and man page for the given command</para> - <indexterm zone="ch-system-util-linux whereis"> + <indexterm zone="ch-system-util-linux-ng whereis"> <primary sortas="b-whereis">whereis</primary> </indexterm> </listitem> @@ -777,7 +743,7 @@ patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen> <listitem> <para>Sends a message to the given user <emphasis>if</emphasis> that user has not disabled receipt of such messages</para> - <indexterm zone="ch-system-util-linux write"> + <indexterm zone="ch-system-util-linux-ng write"> <primary sortas="b-write">write</primary> </indexterm> </listitem> |