| 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
|---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
|---|
| 5 | %general-entities;
|
|---|
| 6 | ]>
|
|---|
| 7 |
|
|---|
| 8 | <sect1 id="ch-system-util-linux-ng" role="wrap">
|
|---|
| 9 | <?dbhtml filename="util-linux-ng.html"?>
|
|---|
| 10 |
|
|---|
| 11 | <title>Util-linux-ng-&util-linux-ng-version;</title>
|
|---|
| 12 |
|
|---|
| 13 | <indexterm zone="ch-system-util-linux-ng">
|
|---|
| 14 | <primary sortas="a-Util-linux-ng">Util-linux-ng</primary>
|
|---|
| 15 | </indexterm>
|
|---|
| 16 |
|
|---|
| 17 | <sect2 role="package">
|
|---|
| 18 | <title/>
|
|---|
| 19 |
|
|---|
| 20 | <para>The Util-linux-ng package contains miscellaneous utility programs.
|
|---|
| 21 | Among them are utilities for handling file systems, consoles, partitions,
|
|---|
| 22 | and messages.</para>
|
|---|
| 23 |
|
|---|
| 24 |
|
|---|
| 25 | </sect2>
|
|---|
| 26 |
|
|---|
| 27 | <sect2 id="fhs-util-linux-ng" role="installation">
|
|---|
| 28 | <title>FHS compliance notes</title>
|
|---|
| 29 |
|
|---|
| 30 | <para>The FHS recommends using the <filename
|
|---|
| 31 | class="directory">/var/lib/hwclock</filename> directory instead of the
|
|---|
| 32 | usual <filename class="directory">/etc</filename> directory as the
|
|---|
| 33 | location for the <filename>adjtime</filename> file. To make the
|
|---|
| 34 | <command>hwclock</command> program FHS-compliant, run the following:</para>
|
|---|
| 35 |
|
|---|
| 36 | <screen><userinput>cp hwclock/hwclock.c{,.orig}
|
|---|
| 37 | sed -e 's@etc/adjtime@var/lib/hwclock/adjtime@g' \
|
|---|
| 38 | hwclock/hwclock.c.orig > hwclock/hwclock.c
|
|---|
| 39 | mkdir -pv ${CLFS}/var/lib/hwclock</userinput></screen>
|
|---|
| 40 |
|
|---|
| 41 | </sect2>
|
|---|
| 42 |
|
|---|
| 43 | <sect2 role="installation">
|
|---|
| 44 | <title>Installation of Util-linux-ng</title>
|
|---|
| 45 |
|
|---|
| 46 | <para os="a">Prepare Util-linux-ng for compilation:</para>
|
|---|
| 47 |
|
|---|
| 48 | <screen os="b"><userinput>./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
|
|---|
| 49 | --enable-partx --disable-wall --enable-write</userinput></screen>
|
|---|
| 50 |
|
|---|
| 51 | <variablelist os="c">
|
|---|
| 52 | <title>The meaning of the configure options:</title>
|
|---|
| 53 |
|
|---|
| 54 | <varlistentry>
|
|---|
| 55 | <term><parameter>--enable-partx</parameter></term>
|
|---|
| 56 | <listitem>
|
|---|
| 57 | <para>Enable partx stuff (need more description).</para>
|
|---|
| 58 | </listitem>
|
|---|
| 59 | </varlistentry>
|
|---|
| 60 |
|
|---|
| 61 | <varlistentry>
|
|---|
| 62 | <term><parameter>--disable-wall</parameter></term>
|
|---|
| 63 | <listitem>
|
|---|
| 64 | <para>Disables building the <command>wall</command> program,
|
|---|
| 65 | as the Sysvinit package installs its own version.</para>
|
|---|
| 66 | </listitem>
|
|---|
| 67 | </varlistentry>
|
|---|
| 68 |
|
|---|
| 69 | <varlistentry>
|
|---|
| 70 | <term><parameter>--enable-write</parameter></term>
|
|---|
| 71 | <listitem>
|
|---|
| 72 | <para>This option allows the <command>write</command> program to be
|
|---|
| 73 | installed.</para>
|
|---|
| 74 | </listitem>
|
|---|
| 75 | </varlistentry>
|
|---|
| 76 |
|
|---|
| 77 | </variablelist>
|
|---|
| 78 |
|
|---|
| 79 | <para os="d">Compile the package:</para>
|
|---|
| 80 |
|
|---|
| 81 | <screen os="e"><userinput>make</userinput></screen>
|
|---|
| 82 |
|
|---|
| 83 | <para os="f">Install the package:</para>
|
|---|
| 84 |
|
|---|
| 85 | <screen os="g"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
|
|---|
| 86 |
|
|---|
| 87 | <para os="h">Move the <command>logger</command> binary to
|
|---|
| 88 | <filename class="directory">/bin</filename> as it is needed by the
|
|---|
| 89 | CLFS-Bootscripts package:</para>
|
|---|
| 90 |
|
|---|
| 91 | <screen os="i"><userinput>mv -v ${CLFS}/usr/bin/logger ${CLFS}/bin</userinput></screen>
|
|---|
| 92 |
|
|---|
| 93 | </sect2>
|
|---|
| 94 |
|
|---|
| 95 | <sect2 id="contents-util-linux-ng" role="content">
|
|---|
| 96 | <title>Contents of Util-linux-ng</title>
|
|---|
| 97 |
|
|---|
| 98 | <segmentedlist>
|
|---|
| 99 | <segtitle>Installed programs</segtitle>
|
|---|
| 100 |
|
|---|
| 101 | <seglistitem>
|
|---|
| 102 | <seg>addpart, agetty, blockdev, cal, cfdisk, chkdupexe, col, colcrt,
|
|---|
| 103 | colrm, column, ctrlaltdel, cytune, ddate, delpart, dmesg, fdformat,
|
|---|
| 104 | fdisk, flock, fsck.cramfs, fsck.minix, getopt, hexdump, hwclock, ionice,
|
|---|
| 105 | ipcrm, ipcs, isosize, line, logger, look, losetup, mcookie, mkfs,
|
|---|
| 106 | mkfs.bfs, mkfs.cramfs, mkfs.minix, mkswap, more, mount, namei, partx,
|
|---|
| 107 | pg, pivot_root, readprofile, rename, renice, rev, rtcwake, script,
|
|---|
| 108 | scriptreplay, setarch, setsid, setterm, sfdisk, swapoff (link to swapon),
|
|---|
| 109 | swapon, tailf, taskset, tunelp, ul, umount, whereis, and write</seg>
|
|---|
| 110 | </seglistitem>
|
|---|
| 111 | </segmentedlist>
|
|---|
| 112 |
|
|---|
| 113 | <variablelist>
|
|---|
| 114 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|---|
| 115 | <?dbfo list-presentation="list"?>
|
|---|
| 116 | <?dbhtml list-presentation="table"?>
|
|---|
| 117 |
|
|---|
| 118 | <varlistentry id="addpart">
|
|---|
| 119 | <term><command>addpart</command></term>
|
|---|
| 120 | <listitem>
|
|---|
| 121 | <para>Informs the kernel of a new partition</para>
|
|---|
| 122 | <indexterm zone="ch-system-util-linux-ng addpart">
|
|---|
| 123 | <primary sortas="b-addpart">addpart</primary>
|
|---|
| 124 | </indexterm>
|
|---|
| 125 | </listitem>
|
|---|
| 126 | </varlistentry>
|
|---|
| 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-ng agetty">
|
|---|
| 134 | <primary sortas="b-agetty">agetty</primary>
|
|---|
| 135 | </indexterm>
|
|---|
| 136 | </listitem>
|
|---|
| 137 | </varlistentry>
|
|---|
| 138 |
|
|---|
| 139 | <varlistentry id="blockdev">
|
|---|
| 140 | <term><command>blockdev</command></term>
|
|---|
| 141 | <listitem>
|
|---|
| 142 | <para>Allows users to call block device ioctls from the command
|
|---|
| 143 | line</para>
|
|---|
| 144 | <indexterm zone="ch-system-util-linux-ng blockdev">
|
|---|
| 145 | <primary sortas="b-blockdev">blockdev</primary>
|
|---|
| 146 | </indexterm>
|
|---|
| 147 | </listitem>
|
|---|
| 148 | </varlistentry>
|
|---|
| 149 |
|
|---|
| 150 | <varlistentry id="cal">
|
|---|
| 151 | <term><command>cal</command></term>
|
|---|
| 152 | <listitem>
|
|---|
| 153 | <para>Displays a simple calendar</para>
|
|---|
| 154 | <indexterm zone="ch-system-util-linux-ng cal">
|
|---|
| 155 | <primary sortas="b-cal">cal</primary>
|
|---|
| 156 | </indexterm>
|
|---|
| 157 | </listitem>
|
|---|
| 158 | </varlistentry>
|
|---|
| 159 |
|
|---|
| 160 | <varlistentry id="cfdisk">
|
|---|
| 161 | <term><command>cfdisk</command></term>
|
|---|
| 162 | <listitem>
|
|---|
| 163 | <para>Manipulates the partition table of the given device</para>
|
|---|
| 164 | <indexterm zone="ch-system-util-linux-ng cfdisk">
|
|---|
| 165 | <primary sortas="b-cfdisk">cfdisk</primary>
|
|---|
| 166 | </indexterm>
|
|---|
| 167 | </listitem>
|
|---|
| 168 | </varlistentry>
|
|---|
| 169 |
|
|---|
| 170 | <varlistentry id="chkdupexe">
|
|---|
| 171 | <term><command>chkdupexe</command></term>
|
|---|
| 172 | <listitem>
|
|---|
| 173 | <para>Finds duplicate executables</para>
|
|---|
| 174 | <indexterm zone="ch-system-util-linux-ng chkdupexe">
|
|---|
| 175 | <primary sortas="b-chkdupexe">chkdupexe</primary>
|
|---|
| 176 | </indexterm>
|
|---|
| 177 | </listitem>
|
|---|
| 178 | </varlistentry>
|
|---|
| 179 |
|
|---|
| 180 | <varlistentry id="col">
|
|---|
| 181 | <term><command>col</command></term>
|
|---|
| 182 | <listitem>
|
|---|
| 183 | <para>Filters out reverse line feeds</para>
|
|---|
| 184 | <indexterm zone="ch-system-util-linux-ng col">
|
|---|
| 185 | <primary sortas="b-col">col</primary>
|
|---|
| 186 | </indexterm>
|
|---|
| 187 | </listitem>
|
|---|
| 188 | </varlistentry>
|
|---|
| 189 |
|
|---|
| 190 | <varlistentry id="colcrt">
|
|---|
| 191 | <term><command>colcrt</command></term>
|
|---|
| 192 | <listitem>
|
|---|
| 193 | <para>Filters <command>nroff</command> output for terminals
|
|---|
| 194 | that lack some capabilities, such as overstriking and half-lines</para>
|
|---|
| 195 | <indexterm zone="ch-system-util-linux-ng colcrt">
|
|---|
| 196 | <primary sortas="b-colcrt">colcrt</primary>
|
|---|
| 197 | </indexterm>
|
|---|
| 198 | </listitem>
|
|---|
| 199 | </varlistentry>
|
|---|
| 200 |
|
|---|
| 201 | <varlistentry id="colrm">
|
|---|
| 202 | <term><command>colrm</command></term>
|
|---|
| 203 | <listitem>
|
|---|
| 204 | <para>Filters out the given columns</para>
|
|---|
| 205 | <indexterm zone="ch-system-util-linux-ng colrm">
|
|---|
| 206 | <primary sortas="b-colrm">colrm</primary>
|
|---|
| 207 | </indexterm>
|
|---|
| 208 | </listitem>
|
|---|
| 209 | </varlistentry>
|
|---|
| 210 |
|
|---|
| 211 | <varlistentry id="column">
|
|---|
| 212 | <term><command>column</command></term>
|
|---|
| 213 | <listitem>
|
|---|
| 214 | <para>Formats a given file into multiple columns</para>
|
|---|
| 215 | <indexterm zone="ch-system-util-linux-ng column">
|
|---|
| 216 | <primary sortas="b-column">column</primary>
|
|---|
| 217 | </indexterm>
|
|---|
| 218 | </listitem>
|
|---|
| 219 | </varlistentry>
|
|---|
| 220 |
|
|---|
| 221 | <varlistentry id="ctrlaltdel">
|
|---|
| 222 | <term><command>ctrlaltdel</command></term>
|
|---|
| 223 | <listitem>
|
|---|
| 224 | <para>Sets the function of the Ctrl+Alt+Del key combination to a
|
|---|
| 225 | hard or a soft reset</para>
|
|---|
| 226 | <indexterm zone="ch-system-util-linux-ng ctrlaltdel">
|
|---|
| 227 | <primary sortas="b-ctrlaltdel">ctrlaltdel</primary>
|
|---|
| 228 | </indexterm>
|
|---|
| 229 | </listitem>
|
|---|
| 230 | </varlistentry>
|
|---|
| 231 |
|
|---|
| 232 | <varlistentry id="cytune">
|
|---|
| 233 | <term><command>cytune</command></term>
|
|---|
| 234 | <listitem>
|
|---|
| 235 | <para>Tunes the parameters of the serial line drivers for
|
|---|
| 236 | Cyclades cards</para>
|
|---|
| 237 | <indexterm zone="ch-system-util-linux-ng cytune">
|
|---|
| 238 | <primary sortas="b-cytune">cytune</primary>
|
|---|
| 239 | </indexterm>
|
|---|
| 240 | </listitem>
|
|---|
| 241 | </varlistentry>
|
|---|
| 242 |
|
|---|
| 243 | <varlistentry id="ddate">
|
|---|
| 244 | <term><command>ddate</command></term>
|
|---|
| 245 | <listitem>
|
|---|
| 246 | <para>Gives the Discordian date or converts the given Gregorian date
|
|---|
| 247 | to a Discordian one</para>
|
|---|
| 248 | <indexterm zone="ch-system-util-linux-ng ddate">
|
|---|
| 249 | <primary sortas="b-ddate">ddate</primary>
|
|---|
| 250 | </indexterm>
|
|---|
| 251 | </listitem>
|
|---|
| 252 | </varlistentry>
|
|---|
| 253 |
|
|---|
| 254 | <varlistentry id="delpart">
|
|---|
| 255 | <term><command>delpart</command></term>
|
|---|
| 256 | <listitem>
|
|---|
| 257 | <para>Asks the kernel to remove a partition</para>
|
|---|
| 258 | <indexterm zone="ch-system-util-linux-ng delpart">
|
|---|
| 259 | <primary sortas="b-delpart">delpart</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-ng dmesg">
|
|---|
| 269 | <primary sortas="b-dmesg">dmesg</primary>
|
|---|
| 270 | </indexterm>
|
|---|
| 271 | </listitem>
|
|---|
| 272 | </varlistentry>
|
|---|
| 273 |
|
|---|
| 274 | <varlistentry id="fdformat">
|
|---|
| 275 | <term><command>fdformat</command></term>
|
|---|
| 276 | <listitem>
|
|---|
| 277 | <para>Low-level formats a floppy disk</para>
|
|---|
| 278 | <indexterm zone="ch-system-util-linux-ng fdformat">
|
|---|
| 279 | <primary sortas="b-fdformat">fdformat</primary>
|
|---|
| 280 | </indexterm>
|
|---|
| 281 | </listitem>
|
|---|
| 282 | </varlistentry>
|
|---|
| 283 |
|
|---|
| 284 | <varlistentry id="fdisk">
|
|---|
| 285 | <term><command>fdisk</command></term>
|
|---|
| 286 | <listitem>
|
|---|
| 287 | <para>Manipulates the partition table of the given device</para>
|
|---|
| 288 | <indexterm zone="ch-system-util-linux-ng fdisk">
|
|---|
| 289 | <primary sortas="b-fdisk">fdisk</primary>
|
|---|
| 290 | </indexterm>
|
|---|
| 291 | </listitem>
|
|---|
| 292 | </varlistentry>
|
|---|
| 293 |
|
|---|
| 294 | <varlistentry id="flock">
|
|---|
| 295 | <term><command>flock</command></term>
|
|---|
| 296 | <listitem>
|
|---|
| 297 | <para>Acquires a file lock and then executes a command with the lock
|
|---|
| 298 | held</para>
|
|---|
| 299 | <indexterm zone="ch-system-util-linux-ng flock">
|
|---|
| 300 | <primary sortas="b-flock">flock</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-ng 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-ng 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-ng 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-ng 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-ng hwclock">
|
|---|
| 355 | <primary sortas="b-hwclock">hwclock</primary>
|
|---|
| 356 | </indexterm>
|
|---|
| 357 | </listitem>
|
|---|
| 358 | </varlistentry>
|
|---|
| 359 |
|
|---|
| 360 | <varlistentry id="ionice">
|
|---|
| 361 | <term><command>ionice</command></term>
|
|---|
| 362 | <listitem>
|
|---|
| 363 | <para>Gives and sets program I/O scheduling class and priority</para>
|
|---|
| 364 | <indexterm zone="ch-system-util-linux-ng ionice">
|
|---|
| 365 | <primary sortas="b-ionice">ionice</primary>
|
|---|
| 366 | </indexterm>
|
|---|
| 367 | </listitem>
|
|---|
| 368 | </varlistentry>
|
|---|
| 369 |
|
|---|
| 370 | <varlistentry id="ipcrm">
|
|---|
| 371 | <term><command>ipcrm</command></term>
|
|---|
| 372 | <listitem>
|
|---|
| 373 | <para>Removes the given Inter-Process Communication (IPC) resource</para>
|
|---|
| 374 | <indexterm zone="ch-system-util-linux-ng ipcrm">
|
|---|
| 375 | <primary sortas="b-ipcrm">ipcrm</primary>
|
|---|
| 376 | </indexterm>
|
|---|
| 377 | </listitem>
|
|---|
| 378 | </varlistentry>
|
|---|
| 379 |
|
|---|
| 380 | <varlistentry id="ipcs">
|
|---|
| 381 | <term><command>ipcs</command></term>
|
|---|
| 382 | <listitem>
|
|---|
| 383 | <para>Provides IPC status information</para>
|
|---|
| 384 | <indexterm zone="ch-system-util-linux-ng ipcs">
|
|---|
| 385 | <primary sortas="b-ipcs">ipcs</primary>
|
|---|
| 386 | </indexterm>
|
|---|
| 387 | </listitem>
|
|---|
| 388 | </varlistentry>
|
|---|
| 389 |
|
|---|
| 390 | <varlistentry id="isosize">
|
|---|
| 391 | <term><command>isosize</command></term>
|
|---|
| 392 | <listitem>
|
|---|
| 393 | <para>Reports the size of an iso9660 file system</para>
|
|---|
| 394 | <indexterm zone="ch-system-util-linux-ng isosize">
|
|---|
| 395 | <primary sortas="b-isosize">isosize</primary>
|
|---|
| 396 | </indexterm>
|
|---|
| 397 | </listitem>
|
|---|
| 398 | </varlistentry>
|
|---|
| 399 |
|
|---|
| 400 | <varlistentry id="line">
|
|---|
| 401 | <term><command>line</command></term>
|
|---|
| 402 | <listitem>
|
|---|
| 403 | <para>Copies a single line</para>
|
|---|
| 404 | <indexterm zone="ch-system-util-linux-ng line">
|
|---|
| 405 | <primary sortas="b-line">line</primary>
|
|---|
| 406 | </indexterm>
|
|---|
| 407 | </listitem>
|
|---|
| 408 | </varlistentry>
|
|---|
| 409 |
|
|---|
| 410 | <varlistentry id="logger">
|
|---|
| 411 | <term><command>logger</command></term>
|
|---|
| 412 | <listitem>
|
|---|
| 413 | <para>Enters the given message into the system log</para>
|
|---|
| 414 | <indexterm zone="ch-system-util-linux-ng logger">
|
|---|
| 415 | <primary sortas="b-logger">logger</primary>
|
|---|
| 416 | </indexterm>
|
|---|
| 417 | </listitem>
|
|---|
| 418 | </varlistentry>
|
|---|
| 419 |
|
|---|
| 420 | <varlistentry id="look">
|
|---|
| 421 | <term><command>look</command></term>
|
|---|
| 422 | <listitem>
|
|---|
| 423 | <para>Displays lines that begin with the given string</para>
|
|---|
| 424 | <indexterm zone="ch-system-util-linux-ng look">
|
|---|
| 425 | <primary sortas="b-look">look</primary>
|
|---|
| 426 | </indexterm>
|
|---|
| 427 | </listitem>
|
|---|
| 428 | </varlistentry>
|
|---|
| 429 |
|
|---|
| 430 | <varlistentry id="losetup">
|
|---|
| 431 | <term><command>losetup</command></term>
|
|---|
| 432 | <listitem>
|
|---|
| 433 | <para>Sets up and controls loop devices</para>
|
|---|
| 434 | <indexterm zone="ch-system-util-linux-ng losetup">
|
|---|
| 435 | <primary sortas="b-losetup">losetup</primary>
|
|---|
| 436 | </indexterm>
|
|---|
| 437 | </listitem>
|
|---|
| 438 | </varlistentry>
|
|---|
| 439 |
|
|---|
| 440 | <varlistentry id="mcookie">
|
|---|
| 441 | <term><command>mcookie</command></term>
|
|---|
| 442 | <listitem>
|
|---|
| 443 | <para>Generates magic cookies (128-bit random hexadecimal numbers) for
|
|---|
| 444 | <command>xauth</command></para>
|
|---|
| 445 | <indexterm zone="ch-system-util-linux-ng mcookie">
|
|---|
| 446 | <primary sortas="b-mcookie">mcookie</primary>
|
|---|
| 447 | </indexterm>
|
|---|
| 448 | </listitem>
|
|---|
| 449 | </varlistentry>
|
|---|
| 450 |
|
|---|
| 451 | <varlistentry id="mkfs">
|
|---|
| 452 | <term><command>mkfs</command></term>
|
|---|
| 453 | <listitem>
|
|---|
| 454 | <para>Builds a file system on a device (usually a hard disk
|
|---|
| 455 | partition)</para>
|
|---|
| 456 | <indexterm zone="ch-system-util-linux-ng mkfs">
|
|---|
| 457 | <primary sortas="b-mkfs">mkfs</primary>
|
|---|
| 458 | </indexterm>
|
|---|
| 459 | </listitem>
|
|---|
| 460 | </varlistentry>
|
|---|
| 461 |
|
|---|
| 462 | <varlistentry id="mkfs.bfs">
|
|---|
| 463 | <term><command>mkfs.bfs</command></term>
|
|---|
| 464 | <listitem>
|
|---|
| 465 | <para>Creates a Santa Cruz Operations (SCO) bfs file system</para>
|
|---|
| 466 | <indexterm zone="ch-system-util-linux-ng mkfs.bfs">
|
|---|
| 467 | <primary sortas="b-mkfs.bfs">mkfs.bfs</primary>
|
|---|
| 468 | </indexterm>
|
|---|
| 469 | </listitem>
|
|---|
| 470 | </varlistentry>
|
|---|
| 471 |
|
|---|
| 472 | <varlistentry id="mkfs.cramfs">
|
|---|
| 473 | <term><command>mkfs.cramfs</command></term>
|
|---|
| 474 | <listitem>
|
|---|
| 475 | <para>Creates a cramfs file system</para>
|
|---|
| 476 | <indexterm zone="ch-system-util-linux-ng mkfs.cramfs">
|
|---|
| 477 | <primary sortas="b-mkfs.cramfs">mkfs.cramfs</primary>
|
|---|
| 478 | </indexterm>
|
|---|
| 479 | </listitem>
|
|---|
| 480 | </varlistentry>
|
|---|
| 481 |
|
|---|
| 482 | <varlistentry id="mkfs.minix">
|
|---|
| 483 | <term><command>mkfs.minix</command></term>
|
|---|
| 484 | <listitem>
|
|---|
| 485 | <para>Creates a Minix file system</para>
|
|---|
| 486 | <indexterm zone="ch-system-util-linux-ng mkfs.minix">
|
|---|
| 487 | <primary sortas="b-mkfs.minix">mkfs.minix</primary>
|
|---|
| 488 | </indexterm>
|
|---|
| 489 | </listitem>
|
|---|
| 490 | </varlistentry>
|
|---|
| 491 |
|
|---|
| 492 | <varlistentry id="mkswap">
|
|---|
| 493 | <term><command>mkswap</command></term>
|
|---|
| 494 | <listitem>
|
|---|
| 495 | <para>Initializes the given device or file to be used as a swap
|
|---|
| 496 | area</para>
|
|---|
| 497 | <indexterm zone="ch-system-util-linux-ng mkswap">
|
|---|
| 498 | <primary sortas="b-mkswap">mkswap</primary>
|
|---|
| 499 | </indexterm>
|
|---|
| 500 | </listitem>
|
|---|
| 501 | </varlistentry>
|
|---|
| 502 |
|
|---|
| 503 | <varlistentry id="more">
|
|---|
| 504 | <term><command>more</command></term>
|
|---|
| 505 | <listitem>
|
|---|
| 506 | <para>A filter for paging through text one screen at a time</para>
|
|---|
| 507 | <indexterm zone="ch-system-util-linux-ng more">
|
|---|
| 508 | <primary sortas="b-more">more</primary>
|
|---|
| 509 | </indexterm>
|
|---|
| 510 | </listitem>
|
|---|
| 511 | </varlistentry>
|
|---|
| 512 |
|
|---|
| 513 | <varlistentry id="mount">
|
|---|
| 514 | <term><command>mount</command></term>
|
|---|
| 515 | <listitem>
|
|---|
| 516 | <para>Attaches the file system on the given device to a specified
|
|---|
| 517 | directory in the file-system tree</para>
|
|---|
| 518 | <indexterm zone="ch-system-util-linux-ng mount">
|
|---|
| 519 | <primary sortas="b-mount">mount</primary>
|
|---|
| 520 | </indexterm>
|
|---|
| 521 | </listitem>
|
|---|
| 522 | </varlistentry>
|
|---|
| 523 |
|
|---|
| 524 | <varlistentry id="namei">
|
|---|
| 525 | <term><command>namei</command></term>
|
|---|
| 526 | <listitem>
|
|---|
| 527 | <para>Shows the symbolic links in the given pathnames</para>
|
|---|
| 528 | <indexterm zone="ch-system-util-linux-ng namei">
|
|---|
| 529 | <primary sortas="b-namei">namei</primary>
|
|---|
| 530 | </indexterm>
|
|---|
| 531 | </listitem>
|
|---|
| 532 | </varlistentry>
|
|---|
| 533 |
|
|---|
| 534 | <varlistentry id="partx">
|
|---|
| 535 | <term><command>partx</command></term>
|
|---|
| 536 | <listitem>
|
|---|
| 537 | <para>Tells the kernel about the presence and numbering of on-disk
|
|---|
| 538 | partitions</para>
|
|---|
| 539 | <indexterm zone="ch-system-util-linux-ng partx">
|
|---|
| 540 | <primary sortas="b-partx">partx</primary>
|
|---|
| 541 | </indexterm>
|
|---|
| 542 | </listitem>
|
|---|
| 543 | </varlistentry>
|
|---|
| 544 |
|
|---|
| 545 | <varlistentry id="pg">
|
|---|
| 546 | <term><command>pg</command></term>
|
|---|
| 547 | <listitem>
|
|---|
| 548 | <para>Displays a text file one screen full at a time</para>
|
|---|
| 549 | <indexterm zone="ch-system-util-linux-ng pg">
|
|---|
| 550 | <primary sortas="b-pg">pg</primary>
|
|---|
| 551 | </indexterm>
|
|---|
| 552 | </listitem>
|
|---|
| 553 | </varlistentry>
|
|---|
| 554 |
|
|---|
| 555 | <varlistentry id="pivot_root">
|
|---|
| 556 | <term><command>pivot_root</command></term>
|
|---|
| 557 | <listitem>
|
|---|
| 558 | <para>Makes the given file system the new root file system of the
|
|---|
| 559 | current process</para>
|
|---|
| 560 | <indexterm zone="ch-system-util-linux-ng pivot_root">
|
|---|
| 561 | <primary sortas="b-pivot_root">pivot_root</primary>
|
|---|
| 562 | </indexterm>
|
|---|
| 563 | </listitem>
|
|---|
| 564 | </varlistentry>
|
|---|
| 565 |
|
|---|
| 566 | <varlistentry id="readprofile">
|
|---|
| 567 | <term><command>readprofile</command></term>
|
|---|
| 568 | <listitem>
|
|---|
| 569 | <para>Reads kernel profiling information</para>
|
|---|
| 570 | <indexterm zone="ch-system-util-linux-ng readprofile">
|
|---|
| 571 | <primary sortas="b-readprofile">readprofile</primary>
|
|---|
| 572 | </indexterm>
|
|---|
| 573 | </listitem>
|
|---|
| 574 | </varlistentry>
|
|---|
| 575 |
|
|---|
| 576 | <varlistentry id="rename">
|
|---|
| 577 | <term><command>rename</command></term>
|
|---|
| 578 | <listitem>
|
|---|
| 579 | <para>Renames the given files, replacing a given string with
|
|---|
| 580 | another</para>
|
|---|
| 581 | <indexterm zone="ch-system-util-linux-ng rename">
|
|---|
| 582 | <primary sortas="b-rename">rename</primary>
|
|---|
| 583 | </indexterm>
|
|---|
| 584 | </listitem>
|
|---|
| 585 | </varlistentry>
|
|---|
| 586 |
|
|---|
| 587 | <varlistentry id="renice">
|
|---|
| 588 | <term><command>renice</command></term>
|
|---|
| 589 | <listitem>
|
|---|
| 590 | <para>Alters the priority of running processes</para>
|
|---|
| 591 | <indexterm zone="ch-system-util-linux-ng renice">
|
|---|
| 592 | <primary sortas="b-renice">renice</primary>
|
|---|
| 593 | </indexterm>
|
|---|
| 594 | </listitem>
|
|---|
| 595 | </varlistentry>
|
|---|
| 596 |
|
|---|
| 597 | <varlistentry id="rev">
|
|---|
| 598 | <term><command>rev</command></term>
|
|---|
| 599 | <listitem>
|
|---|
| 600 | <para>Reverses the lines of a given file</para>
|
|---|
| 601 | <indexterm zone="ch-system-util-linux-ng rev">
|
|---|
| 602 | <primary sortas="b-rev">rev</primary>
|
|---|
| 603 | </indexterm>
|
|---|
| 604 | </listitem>
|
|---|
| 605 | </varlistentry>
|
|---|
| 606 |
|
|---|
| 607 | <varlistentry id="rtcwake">
|
|---|
| 608 | <term><command>rtcwake</command></term>
|
|---|
| 609 | <listitem>
|
|---|
| 610 | <para>Enters a system sleep state until a specified wakeup time</para>
|
|---|
| 611 | <indexterm zone="ch-system-util-linux-ng rtcwake">
|
|---|
| 612 | <primary sortas="b-rtcwake">rtcwake</primary>
|
|---|
| 613 | </indexterm>
|
|---|
| 614 | </listitem>
|
|---|
| 615 | </varlistentry>
|
|---|
| 616 |
|
|---|
| 617 | <varlistentry id="script">
|
|---|
| 618 | <term><command>script</command></term>
|
|---|
| 619 | <listitem>
|
|---|
| 620 | <para>Makes a typescript of a terminal session</para>
|
|---|
| 621 | <indexterm zone="ch-system-util-linux-ng script">
|
|---|
| 622 | <primary sortas="b-script">script</primary>
|
|---|
| 623 | </indexterm>
|
|---|
| 624 | </listitem>
|
|---|
| 625 | </varlistentry>
|
|---|
| 626 |
|
|---|
| 627 | <varlistentry id="scriptreplay">
|
|---|
| 628 | <term><command>scriptreplay</command></term>
|
|---|
| 629 | <listitem>
|
|---|
| 630 | <para>Plays back typescripts created by <command>script</command></para>
|
|---|
| 631 | <indexterm zone="ch-system-util-linux-ng scriptreplay">
|
|---|
| 632 | <primary sortas="b-scriptreplay">scriptreplay</primary>
|
|---|
| 633 | </indexterm>
|
|---|
| 634 | </listitem>
|
|---|
| 635 | </varlistentry>
|
|---|
| 636 |
|
|---|
| 637 | <varlistentry id="setarch">
|
|---|
| 638 | <term><command>setarch</command></term>
|
|---|
| 639 | <listitem>
|
|---|
| 640 | <para>Changes reported architecture in new program environment and
|
|---|
| 641 | sets personality flags</para>
|
|---|
| 642 | <indexterm zone="ch-system-util-linux-ng setarch">
|
|---|
| 643 | <primary sortas="b-setarch">setarch</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-ng 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-ng 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-ng sfdisk">
|
|---|
| 673 | <primary sortas="b-sfdisk">sfdisk</primary>
|
|---|
| 674 | </indexterm>
|
|---|
| 675 | </listitem>
|
|---|
| 676 | </varlistentry>
|
|---|
| 677 |
|
|---|
| 678 | <varlistentry id="swapoff">
|
|---|
| 679 | <term><command>swapoff</command></term>
|
|---|
| 680 | <listitem>
|
|---|
| 681 | <para>Disables devices and files for paging and swapping</para>
|
|---|
| 682 | <indexterm zone="ch-system-util-linux-ng swapoff">
|
|---|
| 683 | <primary sortas="b-swapoff">swapoff</primary>
|
|---|
| 684 | </indexterm>
|
|---|
| 685 | </listitem>
|
|---|
| 686 | </varlistentry>
|
|---|
| 687 |
|
|---|
| 688 | <varlistentry id="swapon">
|
|---|
| 689 | <term><command>swapon</command></term>
|
|---|
| 690 | <listitem>
|
|---|
| 691 | <para>Enables devices and files for paging and swapping and
|
|---|
| 692 | lists the devices and files currently in use</para>
|
|---|
| 693 | <indexterm zone="ch-system-util-linux-ng swapon">
|
|---|
| 694 | <primary sortas="b-swapon">swapon</primary>
|
|---|
| 695 | </indexterm>
|
|---|
| 696 | </listitem>
|
|---|
| 697 | </varlistentry>
|
|---|
| 698 |
|
|---|
| 699 | <varlistentry id="tailf">
|
|---|
| 700 | <term><command>tailf</command></term>
|
|---|
| 701 | <listitem>
|
|---|
| 702 | <para>Tracks the growth of a log file. Displays the last 10 lines
|
|---|
| 703 | of a log file, then continues displaying any new entries in the
|
|---|
| 704 | log file as they are created</para>
|
|---|
| 705 | <indexterm zone="ch-system-util-linux-ng tailf">
|
|---|
| 706 | <primary sortas="b-tailf">tailf</primary>
|
|---|
| 707 | </indexterm>
|
|---|
| 708 | </listitem>
|
|---|
| 709 | </varlistentry>
|
|---|
| 710 |
|
|---|
| 711 | <varlistentry id="taskset">
|
|---|
| 712 | <term><command>taskset</command></term>
|
|---|
| 713 | <listitem>
|
|---|
| 714 | <para>Retrieves or sets a process's CPU affinity</para>
|
|---|
| 715 | <indexterm zone="ch-system-util-linux-ng taskset">
|
|---|
| 716 | <primary sortas="b-taskset">taskset</primary>
|
|---|
| 717 | </indexterm>
|
|---|
| 718 | </listitem>
|
|---|
| 719 | </varlistentry>
|
|---|
| 720 |
|
|---|
| 721 | <varlistentry id="tunelp">
|
|---|
| 722 | <term><command>tunelp</command></term>
|
|---|
| 723 | <listitem>
|
|---|
| 724 | <para>Tunes the parameters of the line printer</para>
|
|---|
| 725 | <indexterm zone="ch-system-util-linux-ng tunelp">
|
|---|
| 726 | <primary sortas="b-tunelp">tunelp</primary>
|
|---|
| 727 | </indexterm>
|
|---|
| 728 | </listitem>
|
|---|
| 729 | </varlistentry>
|
|---|
| 730 |
|
|---|
| 731 | <varlistentry id="ul">
|
|---|
| 732 | <term><command>ul</command></term>
|
|---|
| 733 | <listitem>
|
|---|
| 734 | <para>A filter for translating underscores into escape sequences
|
|---|
| 735 | indicating underlining for the terminal in use</para>
|
|---|
| 736 | <indexterm zone="ch-system-util-linux-ng ul">
|
|---|
| 737 | <primary sortas="b-ul">ul</primary>
|
|---|
| 738 | </indexterm>
|
|---|
| 739 | </listitem>
|
|---|
| 740 | </varlistentry>
|
|---|
| 741 |
|
|---|
| 742 | <varlistentry id="umount">
|
|---|
| 743 | <term><command>umount</command></term>
|
|---|
| 744 | <listitem>
|
|---|
| 745 | <para>Disconnects a file system from the system's file tree</para>
|
|---|
| 746 | <indexterm zone="ch-system-util-linux-ng umount">
|
|---|
| 747 | <primary sortas="b-umount">umount</primary>
|
|---|
| 748 | </indexterm>
|
|---|
| 749 | </listitem>
|
|---|
| 750 | </varlistentry>
|
|---|
| 751 |
|
|---|
| 752 | <varlistentry id="whereis">
|
|---|
| 753 | <term><command>whereis</command></term>
|
|---|
| 754 | <listitem>
|
|---|
| 755 | <para>Reports the location of the binary, source, and man page
|
|---|
| 756 | for the given command</para>
|
|---|
| 757 | <indexterm zone="ch-system-util-linux-ng whereis">
|
|---|
| 758 | <primary sortas="b-whereis">whereis</primary>
|
|---|
| 759 | </indexterm>
|
|---|
| 760 | </listitem>
|
|---|
| 761 | </varlistentry>
|
|---|
| 762 |
|
|---|
| 763 | <varlistentry id="write">
|
|---|
| 764 | <term><command>write</command></term>
|
|---|
| 765 | <listitem>
|
|---|
| 766 | <para>Sends a message to the given user <emphasis>if</emphasis> that
|
|---|
| 767 | user has not disabled receipt of such messages</para>
|
|---|
| 768 | <indexterm zone="ch-system-util-linux-ng write">
|
|---|
| 769 | <primary sortas="b-write">write</primary>
|
|---|
| 770 | </indexterm>
|
|---|
| 771 | </listitem>
|
|---|
| 772 | </varlistentry>
|
|---|
| 773 |
|
|---|
| 774 | </variablelist>
|
|---|
| 775 |
|
|---|
| 776 | </sect2>
|
|---|
| 777 |
|
|---|
| 778 | </sect1>
|
|---|