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