| [bf8c11f] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?> | 
|---|
|  | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" | 
|---|
|  | 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ | 
|---|
|  | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent"> | 
|---|
|  | 5 | %general-entities; | 
|---|
|  | 6 | ]> | 
|---|
|  | 7 |  | 
|---|
|  | 8 | <sect1 id="ch-system-util-linux" role="wrap"> | 
|---|
|  | 9 | <?dbhtml filename="util-linux.html"?> | 
|---|
|  | 10 |  | 
|---|
|  | 11 | <title>Util-linux-&util-linux-version;</title> | 
|---|
|  | 12 |  | 
|---|
|  | 13 | <indexterm zone="ch-system-util-linux"> | 
|---|
|  | 14 | <primary sortas="a-Util-linux">Util-linux</primary> | 
|---|
|  | 15 | </indexterm> | 
|---|
|  | 16 |  | 
|---|
|  | 17 | <sect2 role="package"> | 
|---|
|  | 18 | <title/> | 
|---|
|  | 19 |  | 
|---|
|  | 20 | <para>The Util-linux package contains miscellaneous utility programs. | 
|---|
|  | 21 | Among them are utilities for handling file systems, consoles, partitions, | 
|---|
|  | 22 | and messages.</para> | 
|---|
|  | 23 |  | 
|---|
|  | 24 | <segmentedlist> | 
|---|
|  | 25 | <segtitle>&dependencies;</segtitle> | 
|---|
|  | 26 |  | 
|---|
|  | 27 | <seglistitem> | 
|---|
|  | 28 | <seg>Bash, Binutils, Coreutils, | 
|---|
| [0636f6c] | 29 | Diffutils, GCC, Gettext, Glibc, Grep, Make, Ncurses, Patch, | 
|---|
|  | 30 | Sed, and Zlib</seg> | 
|---|
| [bf8c11f] | 31 | </seglistitem> | 
|---|
|  | 32 | </segmentedlist> | 
|---|
|  | 33 |  | 
|---|
|  | 34 | </sect2> | 
|---|
|  | 35 |  | 
|---|
|  | 36 | <sect2 id="fhs-util-linux" role="installation"> | 
|---|
|  | 37 | <title>FHS compliance notes</title> | 
|---|
|  | 38 |  | 
|---|
|  | 39 | <para>The FHS recommends using the <filename | 
|---|
|  | 40 | class="directory">/var/lib/hwclock</filename> directory instead of the | 
|---|
|  | 41 | usual <filename class="directory">/etc</filename> directory as the | 
|---|
|  | 42 | location for the <filename>adjtime</filename> file. To make the | 
|---|
|  | 43 | <command>hwclock</command> program FHS-compliant, run the following:</para> | 
|---|
|  | 44 |  | 
|---|
|  | 45 | <screen><userinput>sed -i 's@etc/adjtime@var/lib/hwclock/adjtime@g' \ | 
|---|
|  | 46 | hwclock/hwclock.c | 
|---|
|  | 47 | mkdir -p /var/lib/hwclock</userinput></screen> | 
|---|
|  | 48 |  | 
|---|
|  | 49 | </sect2> | 
|---|
|  | 50 |  | 
|---|
|  | 51 | <sect2 role="installation"> | 
|---|
|  | 52 | <title>Installation of Util-linux</title> | 
|---|
|  | 53 |  | 
|---|
| [e6423a01] | 54 | <para os="p1">Util-linux fails to compile against newer versions of | 
|---|
| [bf8c11f] | 55 | Linux-Libc-Headers. The following patch properly fixes this issue:</para> | 
|---|
|  | 56 |  | 
|---|
| [e6423a01] | 57 | <screen os="p2"><userinput>patch -Np1 -i ../&util-linux-cramfs-patch;</userinput></screen> | 
|---|
| [bf8c11f] | 58 |  | 
|---|
| [e6423a01] | 59 | <para os="p3">The following patch fixes build issues with GCC 4.x:</para> | 
|---|
| [bf8c11f] | 60 |  | 
|---|
| [e6423a01] | 61 | <screen os="p4"><userinput>patch -Np1 -i ../&util-linux-gcc4_fixes-patch;</userinput></screen> | 
|---|
| [bf8c11f] | 62 |  | 
|---|
| [e6423a01] | 63 | <para os="a">Prepare Util-linux for compilation:</para> | 
|---|
| [bf8c11f] | 64 |  | 
|---|
| [e6423a01] | 65 | <screen os="b"><userinput>./configure</userinput></screen> | 
|---|
| [bf8c11f] | 66 |  | 
|---|
| [e6423a01] | 67 | <para os="c">Compile the package:</para> | 
|---|
| [bf8c11f] | 68 |  | 
|---|
| [e6423a01] | 69 | <screen os="d"><userinput>make HAVE_KILL=yes HAVE_SLN=yes</userinput></screen> | 
|---|
| [bf8c11f] | 70 |  | 
|---|
| [e6423a01] | 71 | <variablelist os="e"> | 
|---|
| [bf8c11f] | 72 | <title>The meaning of the make parameters:</title> | 
|---|
|  | 73 |  | 
|---|
| [e6423a01] | 74 | <varlistentry os="e1"> | 
|---|
| [bf8c11f] | 75 | <term><parameter>HAVE_KILL=yes</parameter></term> | 
|---|
|  | 76 | <listitem> | 
|---|
|  | 77 | <para>This prevents the <command>kill</command> program (already | 
|---|
|  | 78 | installed by Procps) from being built and installed again.</para> | 
|---|
|  | 79 | </listitem> | 
|---|
|  | 80 | </varlistentry> | 
|---|
|  | 81 |  | 
|---|
| [e6423a01] | 82 | <varlistentry os="e2"> | 
|---|
| [bf8c11f] | 83 | <term><parameter>HAVE_SLN=yes</parameter></term> | 
|---|
|  | 84 | <listitem> | 
|---|
|  | 85 | <para>This prevents the <command>sln</command> program (a | 
|---|
|  | 86 | statically linked version of <command>ln</command> already installed | 
|---|
|  | 87 | by Glibc) from being built and installed again.</para> | 
|---|
|  | 88 | </listitem> | 
|---|
|  | 89 | </varlistentry> | 
|---|
|  | 90 |  | 
|---|
|  | 91 | </variablelist> | 
|---|
|  | 92 |  | 
|---|
| [e6423a01] | 93 | <para os="f">This package does not come with a test suite.</para> | 
|---|
| [bf8c11f] | 94 |  | 
|---|
| [e6423a01] | 95 | <para os="g">Install the package and move the <command>logger</command> binary | 
|---|
| [bf8c11f] | 96 | to <filename class="directory">/bin</filename> as it is needed by the | 
|---|
|  | 97 | LFS-Bootscripts package:</para> | 
|---|
|  | 98 |  | 
|---|
| [e6423a01] | 99 | <screen os="h"><userinput>make HAVE_KILL=yes HAVE_SLN=yes install | 
|---|
| [bf8c11f] | 100 | mv /usr/bin/logger /bin</userinput></screen> | 
|---|
|  | 101 |  | 
|---|
|  | 102 | </sect2> | 
|---|
|  | 103 |  | 
|---|
|  | 104 | <sect2 id="contents-util-linux" role="content"> | 
|---|
|  | 105 | <title>Contents of Util-linux</title> | 
|---|
|  | 106 |  | 
|---|
|  | 107 | <segmentedlist> | 
|---|
|  | 108 | <segtitle>Installed programs</segtitle> | 
|---|
|  | 109 |  | 
|---|
|  | 110 | <seglistitem> | 
|---|
|  | 111 | <seg>agetty, arch, blockdev, cal, cfdisk, chkdupexe, col, colcrt, | 
|---|
|  | 112 | colrm, column, ctrlaltdel, cytune, ddate, dmesg, elvtune, fdformat, | 
|---|
|  | 113 | fdisk, fsck.cramfs, fsck.minix, getopt, hexdump, hwclock, ipcrm, | 
|---|
|  | 114 | ipcs, isosize, line, logger, look, losetup, mcookie, mkfs, mkfs.bfs, | 
|---|
|  | 115 | mkfs.cramfs, mkfs.minix, mkswap, more, mount, namei, pg, pivot_root, | 
|---|
|  | 116 | ramsize (link to rdev), raw, rdev, readprofile, rename, renice, rev, | 
|---|
|  | 117 | rootflags (link to rdev), script, setfdprm, setsid, setterm, sfdisk, | 
|---|
|  | 118 | swapdev, swapoff (link to swapon), swapon, tunelp, ul, umount, vidmode | 
|---|
|  | 119 | (link to rdev), whereis, and write</seg> | 
|---|
|  | 120 | </seglistitem> | 
|---|
|  | 121 | </segmentedlist> | 
|---|
|  | 122 |  | 
|---|
|  | 123 | <variablelist> | 
|---|
|  | 124 | <bridgehead renderas="sect3">Short Descriptions</bridgehead> | 
|---|
|  | 125 | <?dbfo list-presentation="list"?> | 
|---|
|  | 126 | <?dbhtml list-presentation="table"?> | 
|---|
|  | 127 |  | 
|---|
|  | 128 | <varlistentry id="agetty"> | 
|---|
|  | 129 | <term><command>agetty</command></term> | 
|---|
|  | 130 | <listitem> | 
|---|
|  | 131 | <para>Opens a tty port, prompts for a login name, | 
|---|
|  | 132 | and then invokes the <command>login</command> program</para> | 
|---|
|  | 133 | <indexterm zone="ch-system-util-linux agetty"> | 
|---|
|  | 134 | <primary sortas="b-agetty">agetty</primary> | 
|---|
|  | 135 | </indexterm> | 
|---|
|  | 136 | </listitem> | 
|---|
|  | 137 | </varlistentry> | 
|---|
|  | 138 |  | 
|---|
|  | 139 | <varlistentry id="arch"> | 
|---|
|  | 140 | <term><command>arch</command></term> | 
|---|
|  | 141 | <listitem> | 
|---|
|  | 142 | <para>Reports the machine's architecture</para> | 
|---|
|  | 143 | <indexterm zone="ch-system-util-linux arch"> | 
|---|
|  | 144 | <primary sortas="b-arch">arch</primary> | 
|---|
|  | 145 | </indexterm> | 
|---|
|  | 146 | </listitem> | 
|---|
|  | 147 | </varlistentry> | 
|---|
|  | 148 |  | 
|---|
|  | 149 | <varlistentry id="blockdev"> | 
|---|
|  | 150 | <term><command>blockdev</command></term> | 
|---|
|  | 151 | <listitem> | 
|---|
|  | 152 | <para>Allows users to call block device ioctls from the command | 
|---|
|  | 153 | line</para> | 
|---|
|  | 154 | <indexterm zone="ch-system-util-linux blockdev"> | 
|---|
|  | 155 | <primary sortas="b-blockdev">blockdev</primary> | 
|---|
|  | 156 | </indexterm> | 
|---|
|  | 157 | </listitem> | 
|---|
|  | 158 | </varlistentry> | 
|---|
|  | 159 |  | 
|---|
|  | 160 | <varlistentry id="cal"> | 
|---|
|  | 161 | <term><command>cal</command></term> | 
|---|
|  | 162 | <listitem> | 
|---|
|  | 163 | <para>Displays a simple calendar</para> | 
|---|
|  | 164 | <indexterm zone="ch-system-util-linux cal"> | 
|---|
|  | 165 | <primary sortas="b-cal">cal</primary> | 
|---|
|  | 166 | </indexterm> | 
|---|
|  | 167 | </listitem> | 
|---|
|  | 168 | </varlistentry> | 
|---|
|  | 169 |  | 
|---|
|  | 170 | <varlistentry id="cfdisk"> | 
|---|
|  | 171 | <term><command>cfdisk</command></term> | 
|---|
|  | 172 | <listitem> | 
|---|
|  | 173 | <para>Manipulates the partition table of the given device</para> | 
|---|
|  | 174 | <indexterm zone="ch-system-util-linux cfdisk"> | 
|---|
|  | 175 | <primary sortas="b-cfdisk">cfdisk</primary> | 
|---|
|  | 176 | </indexterm> | 
|---|
|  | 177 | </listitem> | 
|---|
|  | 178 | </varlistentry> | 
|---|
|  | 179 |  | 
|---|
|  | 180 | <varlistentry id="chkdupexe"> | 
|---|
|  | 181 | <term><command>chkdupexe</command></term> | 
|---|
|  | 182 | <listitem> | 
|---|
|  | 183 | <para>Finds duplicate executables</para> | 
|---|
|  | 184 | <indexterm zone="ch-system-util-linux chkdupexe"> | 
|---|
|  | 185 | <primary sortas="b-chkdupexe">chkdupexe</primary> | 
|---|
|  | 186 | </indexterm> | 
|---|
|  | 187 | </listitem> | 
|---|
|  | 188 | </varlistentry> | 
|---|
|  | 189 |  | 
|---|
|  | 190 | <varlistentry id="col"> | 
|---|
|  | 191 | <term><command>col</command></term> | 
|---|
|  | 192 | <listitem> | 
|---|
|  | 193 | <para>Filters out reverse line feeds</para> | 
|---|
|  | 194 | <indexterm zone="ch-system-util-linux col"> | 
|---|
|  | 195 | <primary sortas="b-col">col</primary> | 
|---|
|  | 196 | </indexterm> | 
|---|
|  | 197 | </listitem> | 
|---|
|  | 198 | </varlistentry> | 
|---|
|  | 199 |  | 
|---|
|  | 200 | <varlistentry id="colcrt"> | 
|---|
|  | 201 | <term><command>colcrt</command></term> | 
|---|
|  | 202 | <listitem> | 
|---|
|  | 203 | <para>Filters <command>nroff</command> output for terminals | 
|---|
|  | 204 | that lack some capabilities, such as overstriking and half-lines</para> | 
|---|
|  | 205 | <indexterm zone="ch-system-util-linux colcrt"> | 
|---|
|  | 206 | <primary sortas="b-colcrt">colcrt</primary> | 
|---|
|  | 207 | </indexterm> | 
|---|
|  | 208 | </listitem> | 
|---|
|  | 209 | </varlistentry> | 
|---|
|  | 210 |  | 
|---|
|  | 211 | <varlistentry id="colrm"> | 
|---|
|  | 212 | <term><command>colrm</command></term> | 
|---|
|  | 213 | <listitem> | 
|---|
|  | 214 | <para>Filters out the given columns</para> | 
|---|
|  | 215 | <indexterm zone="ch-system-util-linux colrm"> | 
|---|
|  | 216 | <primary sortas="b-colrm">colrm</primary> | 
|---|
|  | 217 | </indexterm> | 
|---|
|  | 218 | </listitem> | 
|---|
|  | 219 | </varlistentry> | 
|---|
|  | 220 |  | 
|---|
|  | 221 | <varlistentry id="column"> | 
|---|
|  | 222 | <term><command>column</command></term> | 
|---|
|  | 223 | <listitem> | 
|---|
|  | 224 | <para>Formats a given file into multiple columns</para> | 
|---|
|  | 225 | <indexterm zone="ch-system-util-linux column"> | 
|---|
|  | 226 | <primary sortas="b-column">column</primary> | 
|---|
|  | 227 | </indexterm> | 
|---|
|  | 228 | </listitem> | 
|---|
|  | 229 | </varlistentry> | 
|---|
|  | 230 |  | 
|---|
|  | 231 | <varlistentry id="ctrlaltdel"> | 
|---|
|  | 232 | <term><command>ctrlaltdel</command></term> | 
|---|
|  | 233 | <listitem> | 
|---|
|  | 234 | <para>Sets the function of the Ctrl+Alt+Del key combination to a | 
|---|
|  | 235 | hard or a soft reset</para> | 
|---|
|  | 236 | <indexterm zone="ch-system-util-linux ctrlaltdel"> | 
|---|
|  | 237 | <primary sortas="b-ctrlaltdel">ctrlaltdel</primary> | 
|---|
|  | 238 | </indexterm> | 
|---|
|  | 239 | </listitem> | 
|---|
|  | 240 | </varlistentry> | 
|---|
|  | 241 |  | 
|---|
|  | 242 | <varlistentry id="cytune"> | 
|---|
|  | 243 | <term><command>cytune</command></term> | 
|---|
|  | 244 | <listitem> | 
|---|
|  | 245 | <para>Tunes the parameters of the serial line drivers for | 
|---|
|  | 246 | Cyclades cards</para> | 
|---|
|  | 247 | <indexterm zone="ch-system-util-linux cytune"> | 
|---|
|  | 248 | <primary sortas="b-cytune">cytune</primary> | 
|---|
|  | 249 | </indexterm> | 
|---|
|  | 250 | </listitem> | 
|---|
|  | 251 | </varlistentry> | 
|---|
|  | 252 |  | 
|---|
|  | 253 | <varlistentry id="ddate"> | 
|---|
|  | 254 | <term><command>ddate</command></term> | 
|---|
|  | 255 | <listitem> | 
|---|
|  | 256 | <para>Gives the Discordian date or converts the given Gregorian date | 
|---|
|  | 257 | to a Discordian one</para> | 
|---|
|  | 258 | <indexterm zone="ch-system-util-linux ddate"> | 
|---|
|  | 259 | <primary sortas="b-ddate">ddate</primary> | 
|---|
|  | 260 | </indexterm> | 
|---|
|  | 261 | </listitem> | 
|---|
|  | 262 | </varlistentry> | 
|---|
|  | 263 |  | 
|---|
|  | 264 | <varlistentry id="dmesg"> | 
|---|
|  | 265 | <term><command>dmesg</command></term> | 
|---|
|  | 266 | <listitem> | 
|---|
|  | 267 | <para>Dumps the kernel boot messages</para> | 
|---|
|  | 268 | <indexterm zone="ch-system-util-linux dmesg"> | 
|---|
|  | 269 | <primary sortas="b-dmesg">dmesg</primary> | 
|---|
|  | 270 | </indexterm> | 
|---|
|  | 271 | </listitem> | 
|---|
|  | 272 | </varlistentry> | 
|---|
|  | 273 |  | 
|---|
|  | 274 | <varlistentry id="elvtune"> | 
|---|
|  | 275 | <term><command>elvtune</command></term> | 
|---|
|  | 276 | <listitem> | 
|---|
|  | 277 | <para>Tunes the performance and interactivity of a block | 
|---|
|  | 278 | device</para> | 
|---|
|  | 279 | <indexterm zone="ch-system-util-linux elvtune"> | 
|---|
|  | 280 | <primary sortas="b-elvtune">elvtune</primary> | 
|---|
|  | 281 | </indexterm> | 
|---|
|  | 282 | </listitem> | 
|---|
|  | 283 | </varlistentry> | 
|---|
|  | 284 |  | 
|---|
|  | 285 | <varlistentry id="fdformat"> | 
|---|
|  | 286 | <term><command>fdformat</command></term> | 
|---|
|  | 287 | <listitem> | 
|---|
|  | 288 | <para>Low-level formats a floppy disk</para> | 
|---|
|  | 289 | <indexterm zone="ch-system-util-linux fdformat"> | 
|---|
|  | 290 | <primary sortas="b-fdformat">fdformat</primary> | 
|---|
|  | 291 | </indexterm> | 
|---|
|  | 292 | </listitem> | 
|---|
|  | 293 | </varlistentry> | 
|---|
|  | 294 |  | 
|---|
|  | 295 | <varlistentry id="fdisk"> | 
|---|
|  | 296 | <term><command>fdisk</command></term> | 
|---|
|  | 297 | <listitem> | 
|---|
|  | 298 | <para>Manipulates the partition table of the given device</para> | 
|---|
|  | 299 | <indexterm zone="ch-system-util-linux fdisk"> | 
|---|
|  | 300 | <primary sortas="b-fdisk">fdisk</primary> | 
|---|
|  | 301 | </indexterm> | 
|---|
|  | 302 | </listitem> | 
|---|
|  | 303 | </varlistentry> | 
|---|
|  | 304 |  | 
|---|
|  | 305 | <varlistentry id="fsck.cramfs"> | 
|---|
|  | 306 | <term><command>fsck.cramfs</command></term> | 
|---|
|  | 307 | <listitem> | 
|---|
|  | 308 | <para>Performs a consistency check on the Cramfs file system on the | 
|---|
|  | 309 | given device</para> | 
|---|
|  | 310 | <indexterm zone="ch-system-util-linux fsck.cramfs"> | 
|---|
|  | 311 | <primary sortas="b-fsck.cramfs">fsck.cramfs</primary> | 
|---|
|  | 312 | </indexterm> | 
|---|
|  | 313 | </listitem> | 
|---|
|  | 314 | </varlistentry> | 
|---|
|  | 315 |  | 
|---|
|  | 316 | <varlistentry id="fsck.minix"> | 
|---|
|  | 317 | <term><command>fsck.minix</command></term> | 
|---|
|  | 318 | <listitem> | 
|---|
|  | 319 | <para>Performs a consistency check on the Minix file system on the | 
|---|
|  | 320 | given device</para> | 
|---|
|  | 321 | <indexterm zone="ch-system-util-linux fsck.minix"> | 
|---|
|  | 322 | <primary sortas="b-fsck.minix">fsck.minix</primary> | 
|---|
|  | 323 | </indexterm> | 
|---|
|  | 324 | </listitem> | 
|---|
|  | 325 | </varlistentry> | 
|---|
|  | 326 |  | 
|---|
|  | 327 | <varlistentry id="getopt"> | 
|---|
|  | 328 | <term><command>getopt</command></term> | 
|---|
|  | 329 | <listitem> | 
|---|
|  | 330 | <para>Parses options in the given command line</para> | 
|---|
|  | 331 | <indexterm zone="ch-system-util-linux getopt"> | 
|---|
|  | 332 | <primary sortas="b-getopt">getopt</primary> | 
|---|
|  | 333 | </indexterm> | 
|---|
|  | 334 | </listitem> | 
|---|
|  | 335 | </varlistentry> | 
|---|
|  | 336 |  | 
|---|
|  | 337 | <varlistentry id="hexdump"> | 
|---|
|  | 338 | <term><command>hexdump</command></term> | 
|---|
|  | 339 | <listitem> | 
|---|
|  | 340 | <para>Dumps the given file in hexadecimal or in another given | 
|---|
|  | 341 | format</para> | 
|---|
|  | 342 | <indexterm zone="ch-system-util-linux hexdump"> | 
|---|
|  | 343 | <primary sortas="b-hexdump">hexdump</primary> | 
|---|
|  | 344 | </indexterm> | 
|---|
|  | 345 | </listitem> | 
|---|
|  | 346 | </varlistentry> | 
|---|
|  | 347 |  | 
|---|
|  | 348 | <varlistentry id="hwclock"> | 
|---|
|  | 349 | <term><command>hwclock</command></term> | 
|---|
|  | 350 | <listitem> | 
|---|
|  | 351 | <para>Reads or sets the system's hardware clock, also called | 
|---|
|  | 352 | the Real-Time Clock (RTC) or Basic Input-Output System (BIOS) | 
|---|
|  | 353 | clock</para> | 
|---|
|  | 354 | <indexterm zone="ch-system-util-linux hwclock"> | 
|---|
|  | 355 | <primary sortas="b-hwclock">hwclock</primary> | 
|---|
|  | 356 | </indexterm> | 
|---|
|  | 357 | </listitem> | 
|---|
|  | 358 | </varlistentry> | 
|---|
|  | 359 |  | 
|---|
|  | 360 | <varlistentry id="ipcrm"> | 
|---|
|  | 361 | <term><command>ipcrm</command></term> | 
|---|
|  | 362 | <listitem> | 
|---|
|  | 363 | <para>Removes the given Inter-Process Communication (IPC) resource</para> | 
|---|
|  | 364 | <indexterm zone="ch-system-util-linux ipcrm"> | 
|---|
|  | 365 | <primary sortas="b-ipcrm">ipcrm</primary> | 
|---|
|  | 366 | </indexterm> | 
|---|
|  | 367 | </listitem> | 
|---|
|  | 368 | </varlistentry> | 
|---|
|  | 369 |  | 
|---|
|  | 370 | <varlistentry id="ipcs"> | 
|---|
|  | 371 | <term><command>ipcs</command></term> | 
|---|
|  | 372 | <listitem> | 
|---|
|  | 373 | <para>Provides IPC status information</para> | 
|---|
|  | 374 | <indexterm zone="ch-system-util-linux ipcs"> | 
|---|
|  | 375 | <primary sortas="b-ipcs">ipcs</primary> | 
|---|
|  | 376 | </indexterm> | 
|---|
|  | 377 | </listitem> | 
|---|
|  | 378 | </varlistentry> | 
|---|
|  | 379 |  | 
|---|
|  | 380 | <varlistentry id="isosize"> | 
|---|
|  | 381 | <term><command>isosize</command></term> | 
|---|
|  | 382 | <listitem> | 
|---|
|  | 383 | <para>Reports the size of an iso9660 file system</para> | 
|---|
|  | 384 | <indexterm zone="ch-system-util-linux isosize"> | 
|---|
|  | 385 | <primary sortas="b-isosize">isosize</primary> | 
|---|
|  | 386 | </indexterm> | 
|---|
|  | 387 | </listitem> | 
|---|
|  | 388 | </varlistentry> | 
|---|
|  | 389 |  | 
|---|
|  | 390 | <varlistentry id="line"> | 
|---|
|  | 391 | <term><command>line</command></term> | 
|---|
|  | 392 | <listitem> | 
|---|
|  | 393 | <para>Copies a single line</para> | 
|---|
|  | 394 | <indexterm zone="ch-system-util-linux line"> | 
|---|
|  | 395 | <primary sortas="b-line">line</primary> | 
|---|
|  | 396 | </indexterm> | 
|---|
|  | 397 | </listitem> | 
|---|
|  | 398 | </varlistentry> | 
|---|
|  | 399 |  | 
|---|
|  | 400 | <varlistentry id="logger"> | 
|---|
|  | 401 | <term><command>logger</command></term> | 
|---|
|  | 402 | <listitem> | 
|---|
|  | 403 | <para>Enters the given message into the system log</para> | 
|---|
|  | 404 | <indexterm zone="ch-system-util-linux logger"> | 
|---|
|  | 405 | <primary sortas="b-logger">logger</primary> | 
|---|
|  | 406 | </indexterm> | 
|---|
|  | 407 | </listitem> | 
|---|
|  | 408 | </varlistentry> | 
|---|
|  | 409 |  | 
|---|
|  | 410 | <varlistentry id="look"> | 
|---|
|  | 411 | <term><command>look</command></term> | 
|---|
|  | 412 | <listitem> | 
|---|
|  | 413 | <para>Displays lines that begin with the given string</para> | 
|---|
|  | 414 | <indexterm zone="ch-system-util-linux look"> | 
|---|
|  | 415 | <primary sortas="b-look">look</primary> | 
|---|
|  | 416 | </indexterm> | 
|---|
|  | 417 | </listitem> | 
|---|
|  | 418 | </varlistentry> | 
|---|
|  | 419 |  | 
|---|
|  | 420 | <varlistentry id="losetup"> | 
|---|
|  | 421 | <term><command>losetup</command></term> | 
|---|
|  | 422 | <listitem> | 
|---|
|  | 423 | <para>Sets up and controls loop devices</para> | 
|---|
|  | 424 | <indexterm zone="ch-system-util-linux losetup"> | 
|---|
|  | 425 | <primary sortas="b-losetup">losetup</primary> | 
|---|
|  | 426 | </indexterm> | 
|---|
|  | 427 | </listitem> | 
|---|
|  | 428 | </varlistentry> | 
|---|
|  | 429 |  | 
|---|
|  | 430 | <varlistentry id="mcookie"> | 
|---|
|  | 431 | <term><command>mcookie</command></term> | 
|---|
|  | 432 | <listitem> | 
|---|
|  | 433 | <para>Generates magic cookies (128-bit random hexadecimal numbers) for | 
|---|
|  | 434 | <command>xauth</command></para> | 
|---|
|  | 435 | <indexterm zone="ch-system-util-linux mcookie"> | 
|---|
|  | 436 | <primary sortas="b-mcookie">mcookie</primary> | 
|---|
|  | 437 | </indexterm> | 
|---|
|  | 438 | </listitem> | 
|---|
|  | 439 | </varlistentry> | 
|---|
|  | 440 |  | 
|---|
|  | 441 | <varlistentry id="mkfs"> | 
|---|
|  | 442 | <term><command>mkfs</command></term> | 
|---|
|  | 443 | <listitem> | 
|---|
|  | 444 | <para>Builds a file system on a device (usually a hard disk | 
|---|
|  | 445 | partition)</para> | 
|---|
|  | 446 | <indexterm zone="ch-system-util-linux mkfs"> | 
|---|
|  | 447 | <primary sortas="b-mkfs">mkfs</primary> | 
|---|
|  | 448 | </indexterm> | 
|---|
|  | 449 | </listitem> | 
|---|
|  | 450 | </varlistentry> | 
|---|
|  | 451 |  | 
|---|
|  | 452 | <varlistentry id="mkfs.bfs"> | 
|---|
|  | 453 | <term><command>mkfs.bfs</command></term> | 
|---|
|  | 454 | <listitem> | 
|---|
|  | 455 | <para>Creates a Santa Cruz Operations (SCO) bfs file system</para> | 
|---|
|  | 456 | <indexterm zone="ch-system-util-linux mkfs.bfs"> | 
|---|
|  | 457 | <primary sortas="b-mkfs.bfs">mkfs.bfs</primary> | 
|---|
|  | 458 | </indexterm> | 
|---|
|  | 459 | </listitem> | 
|---|
|  | 460 | </varlistentry> | 
|---|
|  | 461 |  | 
|---|
|  | 462 | <varlistentry id="mkfs.cramfs"> | 
|---|
|  | 463 | <term><command>mkfs.cramfs</command></term> | 
|---|
|  | 464 | <listitem> | 
|---|
|  | 465 | <para>Creates a cramfs file system</para> | 
|---|
|  | 466 | <indexterm zone="ch-system-util-linux mkfs.cramfs"> | 
|---|
|  | 467 | <primary sortas="b-mkfs.cramfs">mkfs.cramfs</primary> | 
|---|
|  | 468 | </indexterm> | 
|---|
|  | 469 | </listitem> | 
|---|
|  | 470 | </varlistentry> | 
|---|
|  | 471 |  | 
|---|
|  | 472 | <varlistentry id="mkfs.minix"> | 
|---|
|  | 473 | <term><command>mkfs.minix</command></term> | 
|---|
|  | 474 | <listitem> | 
|---|
|  | 475 | <para>Creates a Minix file system</para> | 
|---|
|  | 476 | <indexterm zone="ch-system-util-linux mkfs.minix"> | 
|---|
|  | 477 | <primary sortas="b-mkfs.minix">mkfs.minix</primary> | 
|---|
|  | 478 | </indexterm> | 
|---|
|  | 479 | </listitem> | 
|---|
|  | 480 | </varlistentry> | 
|---|
|  | 481 |  | 
|---|
|  | 482 | <varlistentry id="mkswap"> | 
|---|
|  | 483 | <term><command>mkswap</command></term> | 
|---|
|  | 484 | <listitem> | 
|---|
|  | 485 | <para>Initializes the given device or file to be used as a swap | 
|---|
|  | 486 | area</para> | 
|---|
|  | 487 | <indexterm zone="ch-system-util-linux mkswap"> | 
|---|
|  | 488 | <primary sortas="b-mkswap">mkswap</primary> | 
|---|
|  | 489 | </indexterm> | 
|---|
|  | 490 | </listitem> | 
|---|
|  | 491 | </varlistentry> | 
|---|
|  | 492 |  | 
|---|
|  | 493 | <varlistentry id="more"> | 
|---|
|  | 494 | <term><command>more</command></term> | 
|---|
|  | 495 | <listitem> | 
|---|
|  | 496 | <para>A filter for paging through text one screen at a time</para> | 
|---|
|  | 497 | <indexterm zone="ch-system-util-linux more"> | 
|---|
|  | 498 | <primary sortas="b-more">more</primary> | 
|---|
|  | 499 | </indexterm> | 
|---|
|  | 500 | </listitem> | 
|---|
|  | 501 | </varlistentry> | 
|---|
|  | 502 |  | 
|---|
|  | 503 | <varlistentry id="mount"> | 
|---|
|  | 504 | <term><command>mount</command></term> | 
|---|
|  | 505 | <listitem> | 
|---|
|  | 506 | <para>Attaches the file system on the given device to a specified | 
|---|
|  | 507 | directory in the file-system tree</para> | 
|---|
|  | 508 | <indexterm zone="ch-system-util-linux mount"> | 
|---|
|  | 509 | <primary sortas="b-mount">mount</primary> | 
|---|
|  | 510 | </indexterm> | 
|---|
|  | 511 | </listitem> | 
|---|
|  | 512 | </varlistentry> | 
|---|
|  | 513 |  | 
|---|
|  | 514 | <varlistentry id="namei"> | 
|---|
|  | 515 | <term><command>namei</command></term> | 
|---|
|  | 516 | <listitem> | 
|---|
|  | 517 | <para>Shows the symbolic links in the given pathnames</para> | 
|---|
|  | 518 | <indexterm zone="ch-system-util-linux namei"> | 
|---|
|  | 519 | <primary sortas="b-namei">namei</primary> | 
|---|
|  | 520 | </indexterm> | 
|---|
|  | 521 | </listitem> | 
|---|
|  | 522 | </varlistentry> | 
|---|
|  | 523 |  | 
|---|
|  | 524 | <varlistentry id="pg"> | 
|---|
|  | 525 | <term><command>pg</command></term> | 
|---|
|  | 526 | <listitem> | 
|---|
|  | 527 | <para>Displays a text file one screen full at a time</para> | 
|---|
|  | 528 | <indexterm zone="ch-system-util-linux pg"> | 
|---|
|  | 529 | <primary sortas="b-pg">pg</primary> | 
|---|
|  | 530 | </indexterm> | 
|---|
|  | 531 | </listitem> | 
|---|
|  | 532 | </varlistentry> | 
|---|
|  | 533 |  | 
|---|
|  | 534 | <varlistentry id="pivot_root"> | 
|---|
|  | 535 | <term><command>pivot_root</command></term> | 
|---|
|  | 536 | <listitem> | 
|---|
|  | 537 | <para>Makes the given file system the new root file system of the | 
|---|
|  | 538 | current process</para> | 
|---|
|  | 539 | <indexterm zone="ch-system-util-linux pivot_root"> | 
|---|
|  | 540 | <primary sortas="b-pivot_root">pivot_root</primary> | 
|---|
|  | 541 | </indexterm> | 
|---|
|  | 542 | </listitem> | 
|---|
|  | 543 | </varlistentry> | 
|---|
|  | 544 |  | 
|---|
|  | 545 | <varlistentry id="ramsize"> | 
|---|
|  | 546 | <term><command>ramsize</command></term> | 
|---|
|  | 547 | <listitem> | 
|---|
|  | 548 | <para>Sets the size of the RAM disk in a bootable image</para> | 
|---|
|  | 549 | <indexterm zone="ch-system-util-linux ramsize"> | 
|---|
|  | 550 | <primary sortas="b-ramsize">ramsize</primary> | 
|---|
|  | 551 | </indexterm> | 
|---|
|  | 552 | </listitem> | 
|---|
|  | 553 | </varlistentry> | 
|---|
|  | 554 |  | 
|---|
|  | 555 | <varlistentry id="raw"> | 
|---|
|  | 556 | <term><command>raw</command></term> | 
|---|
|  | 557 | <listitem> | 
|---|
|  | 558 | <para>Used to bind a Linux raw character device to a block | 
|---|
|  | 559 | device</para> | 
|---|
|  | 560 | <indexterm zone="ch-system-util-linux raw"> | 
|---|
|  | 561 | <primary sortas="b-raw">raw</primary> | 
|---|
|  | 562 | </indexterm> | 
|---|
|  | 563 | </listitem> | 
|---|
|  | 564 | </varlistentry> | 
|---|
|  | 565 |  | 
|---|
|  | 566 | <varlistentry id="rdev"> | 
|---|
|  | 567 | <term><command>rdev</command></term> | 
|---|
|  | 568 | <listitem> | 
|---|
|  | 569 | <para>Queries and sets the root device, among other things, in a | 
|---|
|  | 570 | bootable image</para> | 
|---|
|  | 571 | <indexterm zone="ch-system-util-linux rdev"> | 
|---|
|  | 572 | <primary sortas="b-rdev">rdev</primary> | 
|---|
|  | 573 | </indexterm> | 
|---|
|  | 574 | </listitem> | 
|---|
|  | 575 | </varlistentry> | 
|---|
|  | 576 |  | 
|---|
|  | 577 | <varlistentry id="readprofile"> | 
|---|
|  | 578 | <term><command>readprofile</command></term> | 
|---|
|  | 579 | <listitem> | 
|---|
|  | 580 | <para>Reads kernel profiling information</para> | 
|---|
|  | 581 | <indexterm zone="ch-system-util-linux readprofile"> | 
|---|
|  | 582 | <primary sortas="b-readprofile">readprofile</primary> | 
|---|
|  | 583 | </indexterm> | 
|---|
|  | 584 | </listitem> | 
|---|
|  | 585 | </varlistentry> | 
|---|
|  | 586 |  | 
|---|
|  | 587 | <varlistentry id="rename"> | 
|---|
|  | 588 | <term><command>rename</command></term> | 
|---|
|  | 589 | <listitem> | 
|---|
|  | 590 | <para>Renames the given files, replacing a given string with | 
|---|
|  | 591 | another</para> | 
|---|
|  | 592 | <indexterm zone="ch-system-util-linux rename"> | 
|---|
|  | 593 | <primary sortas="b-rename">rename</primary> | 
|---|
|  | 594 | </indexterm> | 
|---|
|  | 595 | </listitem> | 
|---|
|  | 596 | </varlistentry> | 
|---|
|  | 597 |  | 
|---|
|  | 598 | <varlistentry id="renice"> | 
|---|
|  | 599 | <term><command>renice</command></term> | 
|---|
|  | 600 | <listitem> | 
|---|
|  | 601 | <para>Alters the priority of running processes</para> | 
|---|
|  | 602 | <indexterm zone="ch-system-util-linux renice"> | 
|---|
|  | 603 | <primary sortas="b-renice">renice</primary> | 
|---|
|  | 604 | </indexterm> | 
|---|
|  | 605 | </listitem> | 
|---|
|  | 606 | </varlistentry> | 
|---|
|  | 607 |  | 
|---|
|  | 608 | <varlistentry id="rev"> | 
|---|
|  | 609 | <term><command>rev</command></term> | 
|---|
|  | 610 | <listitem> | 
|---|
|  | 611 | <para>Reverses the lines of a given file</para> | 
|---|
|  | 612 | <indexterm zone="ch-system-util-linux rev"> | 
|---|
|  | 613 | <primary sortas="b-rev">rev</primary> | 
|---|
|  | 614 | </indexterm> | 
|---|
|  | 615 | </listitem> | 
|---|
|  | 616 | </varlistentry> | 
|---|
|  | 617 |  | 
|---|
|  | 618 | <varlistentry id="rootflags"> | 
|---|
|  | 619 | <term><command>rootflags</command></term> | 
|---|
|  | 620 | <listitem> | 
|---|
|  | 621 | <para>Sets the rootflags in a bootable image</para> | 
|---|
|  | 622 | <indexterm zone="ch-system-util-linux rootflags"> | 
|---|
|  | 623 | <primary sortas="b-rootflags">rootflags</primary> | 
|---|
|  | 624 | </indexterm> | 
|---|
|  | 625 | </listitem> | 
|---|
|  | 626 | </varlistentry> | 
|---|
|  | 627 |  | 
|---|
|  | 628 | <varlistentry id="script"> | 
|---|
|  | 629 | <term><command>script</command></term> | 
|---|
|  | 630 | <listitem> | 
|---|
|  | 631 | <para>Makes a typescript of a terminal session</para> | 
|---|
|  | 632 | <indexterm zone="ch-system-util-linux script"> | 
|---|
|  | 633 | <primary sortas="b-script">script</primary> | 
|---|
|  | 634 | </indexterm> | 
|---|
|  | 635 | </listitem> | 
|---|
|  | 636 | </varlistentry> | 
|---|
|  | 637 |  | 
|---|
|  | 638 | <varlistentry id="setfdprm"> | 
|---|
|  | 639 | <term><command>setfdprm</command></term> | 
|---|
|  | 640 | <listitem> | 
|---|
|  | 641 | <para>Sets user-provided floppy disk parameters</para> | 
|---|
|  | 642 | <indexterm zone="ch-system-util-linux setfdprm"> | 
|---|
|  | 643 | <primary sortas="b-setfdprm">setfdprm</primary> | 
|---|
|  | 644 | </indexterm> | 
|---|
|  | 645 | </listitem> | 
|---|
|  | 646 | </varlistentry> | 
|---|
|  | 647 |  | 
|---|
|  | 648 | <varlistentry id="setsid"> | 
|---|
|  | 649 | <term><command>setsid</command></term> | 
|---|
|  | 650 | <listitem> | 
|---|
|  | 651 | <para>Runs the given program in a new session</para> | 
|---|
|  | 652 | <indexterm zone="ch-system-util-linux setsid"> | 
|---|
|  | 653 | <primary sortas="b-setsid">setsid</primary> | 
|---|
|  | 654 | </indexterm> | 
|---|
|  | 655 | </listitem> | 
|---|
|  | 656 | </varlistentry> | 
|---|
|  | 657 |  | 
|---|
|  | 658 | <varlistentry id="setterm"> | 
|---|
|  | 659 | <term><command>setterm</command></term> | 
|---|
|  | 660 | <listitem> | 
|---|
|  | 661 | <para>Sets terminal attributes</para> | 
|---|
|  | 662 | <indexterm zone="ch-system-util-linux setterm"> | 
|---|
|  | 663 | <primary sortas="b-setterm">setterm</primary> | 
|---|
|  | 664 | </indexterm> | 
|---|
|  | 665 | </listitem> | 
|---|
|  | 666 | </varlistentry> | 
|---|
|  | 667 |  | 
|---|
|  | 668 | <varlistentry id="sfdisk"> | 
|---|
|  | 669 | <term><command>sfdisk</command></term> | 
|---|
|  | 670 | <listitem> | 
|---|
|  | 671 | <para>A disk partition table manipulator</para> | 
|---|
|  | 672 | <indexterm zone="ch-system-util-linux sfdisk"> | 
|---|
|  | 673 | <primary sortas="b-sfdisk">sfdisk</primary> | 
|---|
|  | 674 | </indexterm> | 
|---|
|  | 675 | </listitem> | 
|---|
|  | 676 | </varlistentry> | 
|---|
|  | 677 |  | 
|---|
|  | 678 | <varlistentry id="swapdev"> | 
|---|
|  | 679 | <term><command>swapdev</command></term> | 
|---|
|  | 680 | <listitem> | 
|---|
|  | 681 | <para>Sets the swap device in a bootable image</para> | 
|---|
|  | 682 | <indexterm zone="ch-system-util-linux swapdev"> | 
|---|
|  | 683 | <primary sortas="b-swapdev">swapdev</primary> | 
|---|
|  | 684 | </indexterm> | 
|---|
|  | 685 | </listitem> | 
|---|
|  | 686 | </varlistentry> | 
|---|
|  | 687 |  | 
|---|
|  | 688 | <varlistentry id="swapoff"> | 
|---|
|  | 689 | <term><command>swapoff</command></term> | 
|---|
|  | 690 | <listitem> | 
|---|
|  | 691 | <para>Disables devices and files for paging and swapping</para> | 
|---|
|  | 692 | <indexterm zone="ch-system-util-linux swapoff"> | 
|---|
|  | 693 | <primary sortas="b-swapoff">swapoff</primary> | 
|---|
|  | 694 | </indexterm> | 
|---|
|  | 695 | </listitem> | 
|---|
|  | 696 | </varlistentry> | 
|---|
|  | 697 |  | 
|---|
|  | 698 | <varlistentry id="swapon"> | 
|---|
|  | 699 | <term><command>swapon</command></term> | 
|---|
|  | 700 | <listitem> | 
|---|
|  | 701 | <para>Enables devices and files for paging and swapping and | 
|---|
|  | 702 | lists the devices and files currently in use</para> | 
|---|
|  | 703 | <indexterm zone="ch-system-util-linux swapon"> | 
|---|
|  | 704 | <primary sortas="b-swapon">swapon</primary> | 
|---|
|  | 705 | </indexterm> | 
|---|
|  | 706 | </listitem> | 
|---|
|  | 707 | </varlistentry> | 
|---|
|  | 708 |  | 
|---|
|  | 709 | <varlistentry id="tunelp"> | 
|---|
|  | 710 | <term><command>tunelp</command></term> | 
|---|
|  | 711 | <listitem> | 
|---|
|  | 712 | <para>Tunes the parameters of the line printer</para> | 
|---|
|  | 713 | <indexterm zone="ch-system-util-linux tunelp"> | 
|---|
|  | 714 | <primary sortas="b-tunelp">tunelp</primary> | 
|---|
|  | 715 | </indexterm> | 
|---|
|  | 716 | </listitem> | 
|---|
|  | 717 | </varlistentry> | 
|---|
|  | 718 |  | 
|---|
|  | 719 | <varlistentry id="ul"> | 
|---|
|  | 720 | <term><command>ul</command></term> | 
|---|
|  | 721 | <listitem> | 
|---|
|  | 722 | <para>A filter for translating underscores into escape sequences | 
|---|
|  | 723 | indicating underlining for the terminal in use</para> | 
|---|
|  | 724 | <indexterm zone="ch-system-util-linux ul"> | 
|---|
|  | 725 | <primary sortas="b-ul">ul</primary> | 
|---|
|  | 726 | </indexterm> | 
|---|
|  | 727 | </listitem> | 
|---|
|  | 728 | </varlistentry> | 
|---|
|  | 729 |  | 
|---|
|  | 730 | <varlistentry id="umount"> | 
|---|
|  | 731 | <term><command>umount</command></term> | 
|---|
|  | 732 | <listitem> | 
|---|
|  | 733 | <para>Disconnects a file system from the system's file tree</para> | 
|---|
|  | 734 | <indexterm zone="ch-system-util-linux umount"> | 
|---|
|  | 735 | <primary sortas="b-umount">umount</primary> | 
|---|
|  | 736 | </indexterm> | 
|---|
|  | 737 | </listitem> | 
|---|
|  | 738 | </varlistentry> | 
|---|
|  | 739 |  | 
|---|
|  | 740 | <varlistentry id="vidmode"> | 
|---|
|  | 741 | <term><command>vidmode</command></term> | 
|---|
|  | 742 | <listitem> | 
|---|
|  | 743 | <para>Sets the video mode in a bootable image</para> | 
|---|
|  | 744 | <indexterm zone="ch-system-util-linux vidmode"> | 
|---|
|  | 745 | <primary sortas="b-vidmode">vidmode</primary> | 
|---|
|  | 746 | </indexterm> | 
|---|
|  | 747 | </listitem> | 
|---|
|  | 748 | </varlistentry> | 
|---|
|  | 749 |  | 
|---|
|  | 750 | <varlistentry id="whereis"> | 
|---|
|  | 751 | <term><command>whereis</command></term> | 
|---|
|  | 752 | <listitem> | 
|---|
|  | 753 | <para>Reports the location of the binary, source, and man page | 
|---|
|  | 754 | for the given command</para> | 
|---|
|  | 755 | <indexterm zone="ch-system-util-linux whereis"> | 
|---|
|  | 756 | <primary sortas="b-whereis">whereis</primary> | 
|---|
|  | 757 | </indexterm> | 
|---|
|  | 758 | </listitem> | 
|---|
|  | 759 | </varlistentry> | 
|---|
|  | 760 |  | 
|---|
|  | 761 | <varlistentry id="write"> | 
|---|
|  | 762 | <term><command>write</command></term> | 
|---|
|  | 763 | <listitem> | 
|---|
|  | 764 | <para>Sends a message to the given user <emphasis>if</emphasis> that | 
|---|
|  | 765 | user has not disabled receipt of such messages</para> | 
|---|
|  | 766 | <indexterm zone="ch-system-util-linux write"> | 
|---|
|  | 767 | <primary sortas="b-write">write</primary> | 
|---|
|  | 768 | </indexterm> | 
|---|
|  | 769 | </listitem> | 
|---|
|  | 770 | </varlistentry> | 
|---|
|  | 771 |  | 
|---|
|  | 772 | </variablelist> | 
|---|
|  | 773 |  | 
|---|
|  | 774 | </sect2> | 
|---|
|  | 775 |  | 
|---|
|  | 776 | </sect1> | 
|---|