[3f8be484] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[aa18ac0] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[3f8be484] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
[46423ee] | 8 | <sect1 id="ch-system-util-linux-ng" role="wrap">
|
---|
| 9 | <?dbhtml filename="util-linux-ng.html"?>
|
---|
[3f8be484] | 10 |
|
---|
[46423ee] | 11 | <title>Util-linux-ng-&util-linux-ng-version;</title>
|
---|
[3f8be484] | 12 |
|
---|
[46423ee] | 13 | <indexterm zone="ch-system-util-linux-ng">
|
---|
| 14 | <primary sortas="a-Util-linux-ng">Util-linux-ng</primary>
|
---|
[3f8be484] | 15 | </indexterm>
|
---|
| 16 |
|
---|
| 17 | <sect2 role="package">
|
---|
| 18 | <title/>
|
---|
| 19 |
|
---|
[46423ee] | 20 | <para>The Util-linux-ng package contains miscellaneous utility programs.
|
---|
[3f8be484] | 21 | Among them are utilities for handling file systems, consoles, partitions,
|
---|
| 22 | and messages.</para>
|
---|
| 23 |
|
---|
| 24 |
|
---|
| 25 | </sect2>
|
---|
| 26 |
|
---|
[46423ee] | 27 | <sect2 id="fhs-util-linux-ng" role="installation">
|
---|
[3f8be484] | 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
|
---|
[a40edab] | 38 | mkdir -pv /var/lib/hwclock</userinput></screen>
|
---|
[3f8be484] | 39 |
|
---|
| 40 | </sect2>
|
---|
| 41 |
|
---|
| 42 | <sect2 role="installation">
|
---|
[46423ee] | 43 | <title>Installation of Util-linux-ng</title>
|
---|
[3f8be484] | 44 |
|
---|
[46423ee] | 45 | <para os="a">Prepare Util-linux-ng for compilation:</para>
|
---|
[3f8be484] | 46 |
|
---|
[d761a43] | 47 | <screen os="b"><userinput>./configure --enable-partx \
|
---|
| 48 | --disable-wall --enable-write</userinput></screen>
|
---|
[3f8be484] | 49 |
|
---|
[17e4e83] | 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>
|
---|
[3f8be484] | 83 |
|
---|
[46423ee] | 84 | <para os="g">Install the package:</para>
|
---|
[3f8be484] | 85 |
|
---|
[46423ee] | 86 | <screen os="h"><userinput>make install</userinput></screen>
|
---|
[3f8be484] | 87 |
|
---|
[42af63a] | 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 |
|
---|
[3f8be484] | 94 | </sect2>
|
---|
| 95 |
|
---|
[46423ee] | 96 | <sect2 id="contents-util-linux-ng" role="content">
|
---|
| 97 | <title>Contents of Util-linux-ng</title>
|
---|
[3f8be484] | 98 |
|
---|
| 99 | <segmentedlist>
|
---|
| 100 | <segtitle>Installed programs</segtitle>
|
---|
| 101 |
|
---|
| 102 | <seglistitem>
|
---|
[9e8d8ae] | 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,
|
---|
[5cc122c4] | 106 | ipcrm, ipcs, isosize, ldattach, line, logger, look, losetup, mcookie,
|
---|
| 107 | mkfs, mkfs.bfs, mkfs.cramfs, mkfs.minix, mkswap, more, mount, namei,
|
---|
| 108 | partx, pg, pivot_root, readprofile, rename, renice, rev, rtcwake, script,
|
---|
[9e8d8ae] | 109 | scriptreplay, setarch, setsid, setterm, sfdisk, swapoff (link to swapon),
|
---|
| 110 | swapon, tailf, taskset, tunelp, ul, umount, whereis, and write</seg>
|
---|
[3f8be484] | 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 |
|
---|
[9e8d8ae] | 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 |
|
---|
[3f8be484] | 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>
|
---|
[46423ee] | 134 | <indexterm zone="ch-system-util-linux-ng agetty">
|
---|
[3f8be484] | 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>
|
---|
[46423ee] | 145 | <indexterm zone="ch-system-util-linux-ng blockdev">
|
---|
[3f8be484] | 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>
|
---|
[46423ee] | 155 | <indexterm zone="ch-system-util-linux-ng cal">
|
---|
[3f8be484] | 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>
|
---|
[46423ee] | 165 | <indexterm zone="ch-system-util-linux-ng cfdisk">
|
---|
[3f8be484] | 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>
|
---|
[46423ee] | 175 | <indexterm zone="ch-system-util-linux-ng chkdupexe">
|
---|
[3f8be484] | 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>
|
---|
[46423ee] | 185 | <indexterm zone="ch-system-util-linux-ng col">
|
---|
[3f8be484] | 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>
|
---|
[46423ee] | 196 | <indexterm zone="ch-system-util-linux-ng colcrt">
|
---|
[3f8be484] | 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>
|
---|
[46423ee] | 206 | <indexterm zone="ch-system-util-linux-ng colrm">
|
---|
[3f8be484] | 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>
|
---|
[46423ee] | 216 | <indexterm zone="ch-system-util-linux-ng column">
|
---|
[3f8be484] | 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>
|
---|
[46423ee] | 227 | <indexterm zone="ch-system-util-linux-ng ctrlaltdel">
|
---|
[3f8be484] | 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>
|
---|
[46423ee] | 238 | <indexterm zone="ch-system-util-linux-ng cytune">
|
---|
[3f8be484] | 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>
|
---|
[46423ee] | 249 | <indexterm zone="ch-system-util-linux-ng ddate">
|
---|
[3f8be484] | 250 | <primary sortas="b-ddate">ddate</primary>
|
---|
| 251 | </indexterm>
|
---|
| 252 | </listitem>
|
---|
| 253 | </varlistentry>
|
---|
| 254 |
|
---|
[9e8d8ae] | 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 |
|
---|
[3f8be484] | 265 | <varlistentry id="dmesg">
|
---|
| 266 | <term><command>dmesg</command></term>
|
---|
| 267 | <listitem>
|
---|
| 268 | <para>Dumps the kernel boot messages</para>
|
---|
[46423ee] | 269 | <indexterm zone="ch-system-util-linux-ng dmesg">
|
---|
[3f8be484] | 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>
|
---|
[46423ee] | 279 | <indexterm zone="ch-system-util-linux-ng fdformat">
|
---|
[3f8be484] | 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>
|
---|
[46423ee] | 289 | <indexterm zone="ch-system-util-linux-ng fdisk">
|
---|
[3f8be484] | 290 | <primary sortas="b-fdisk">fdisk</primary>
|
---|
| 291 | </indexterm>
|
---|
| 292 | </listitem>
|
---|
| 293 | </varlistentry>
|
---|
| 294 |
|
---|
[e29fb58] | 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>
|
---|
[46423ee] | 300 | <indexterm zone="ch-system-util-linux-ng flock">
|
---|
[e29fb58] | 301 | <primary sortas="b-flock">flock</primary>
|
---|
| 302 | </indexterm>
|
---|
| 303 | </listitem>
|
---|
| 304 | </varlistentry>
|
---|
| 305 |
|
---|
[3f8be484] | 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>
|
---|
[46423ee] | 311 | <indexterm zone="ch-system-util-linux-ng fsck.cramfs">
|
---|
[3f8be484] | 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>
|
---|
[46423ee] | 322 | <indexterm zone="ch-system-util-linux-ng fsck.minix">
|
---|
[3f8be484] | 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>
|
---|
[46423ee] | 332 | <indexterm zone="ch-system-util-linux-ng getopt">
|
---|
[3f8be484] | 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>
|
---|
[46423ee] | 343 | <indexterm zone="ch-system-util-linux-ng hexdump">
|
---|
[3f8be484] | 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>
|
---|
[46423ee] | 355 | <indexterm zone="ch-system-util-linux-ng hwclock">
|
---|
[3f8be484] | 356 | <primary sortas="b-hwclock">hwclock</primary>
|
---|
| 357 | </indexterm>
|
---|
| 358 | </listitem>
|
---|
| 359 | </varlistentry>
|
---|
| 360 |
|
---|
[9e8d8ae] | 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 |
|
---|
[3f8be484] | 371 | <varlistentry id="ipcrm">
|
---|
| 372 | <term><command>ipcrm</command></term>
|
---|
| 373 | <listitem>
|
---|
| 374 | <para>Removes the given Inter-Process Communication (IPC) resource</para>
|
---|
[46423ee] | 375 | <indexterm zone="ch-system-util-linux-ng ipcrm">
|
---|
[3f8be484] | 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>
|
---|
[46423ee] | 385 | <indexterm zone="ch-system-util-linux-ng ipcs">
|
---|
[3f8be484] | 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>
|
---|
[46423ee] | 395 | <indexterm zone="ch-system-util-linux-ng isosize">
|
---|
[3f8be484] | 396 | <primary sortas="b-isosize">isosize</primary>
|
---|
| 397 | </indexterm>
|
---|
| 398 | </listitem>
|
---|
| 399 | </varlistentry>
|
---|
[5cc122c4] | 400 |
|
---|
| 401 | <varlistentry id="ldattach">
|
---|
| 402 | <term><command>ldattach</command></term>
|
---|
| 403 | <listitem>
|
---|
| 404 | <para>Attaches a line discipline to a serial line</para>
|
---|
| 405 | <indexterm zone="ch-system-util-linux-ng ldattach">
|
---|
| 406 | <primary sortas="b-ldattach">ldattach</primary>
|
---|
| 407 | </indexterm>
|
---|
| 408 | </listitem>
|
---|
| 409 | </varlistentry>
|
---|
[3f8be484] | 410 |
|
---|
| 411 | <varlistentry id="line">
|
---|
| 412 | <term><command>line</command></term>
|
---|
| 413 | <listitem>
|
---|
| 414 | <para>Copies a single line</para>
|
---|
[46423ee] | 415 | <indexterm zone="ch-system-util-linux-ng line">
|
---|
[3f8be484] | 416 | <primary sortas="b-line">line</primary>
|
---|
| 417 | </indexterm>
|
---|
| 418 | </listitem>
|
---|
| 419 | </varlistentry>
|
---|
| 420 |
|
---|
| 421 | <varlistentry id="logger">
|
---|
| 422 | <term><command>logger</command></term>
|
---|
| 423 | <listitem>
|
---|
| 424 | <para>Enters the given message into the system log</para>
|
---|
[46423ee] | 425 | <indexterm zone="ch-system-util-linux-ng logger">
|
---|
[3f8be484] | 426 | <primary sortas="b-logger">logger</primary>
|
---|
| 427 | </indexterm>
|
---|
| 428 | </listitem>
|
---|
| 429 | </varlistentry>
|
---|
| 430 |
|
---|
| 431 | <varlistentry id="look">
|
---|
| 432 | <term><command>look</command></term>
|
---|
| 433 | <listitem>
|
---|
| 434 | <para>Displays lines that begin with the given string</para>
|
---|
[46423ee] | 435 | <indexterm zone="ch-system-util-linux-ng look">
|
---|
[3f8be484] | 436 | <primary sortas="b-look">look</primary>
|
---|
| 437 | </indexterm>
|
---|
| 438 | </listitem>
|
---|
| 439 | </varlistentry>
|
---|
| 440 |
|
---|
| 441 | <varlistentry id="losetup">
|
---|
| 442 | <term><command>losetup</command></term>
|
---|
| 443 | <listitem>
|
---|
| 444 | <para>Sets up and controls loop devices</para>
|
---|
[46423ee] | 445 | <indexterm zone="ch-system-util-linux-ng losetup">
|
---|
[3f8be484] | 446 | <primary sortas="b-losetup">losetup</primary>
|
---|
| 447 | </indexterm>
|
---|
| 448 | </listitem>
|
---|
| 449 | </varlistentry>
|
---|
| 450 |
|
---|
| 451 | <varlistentry id="mcookie">
|
---|
| 452 | <term><command>mcookie</command></term>
|
---|
| 453 | <listitem>
|
---|
| 454 | <para>Generates magic cookies (128-bit random hexadecimal numbers) for
|
---|
| 455 | <command>xauth</command></para>
|
---|
[46423ee] | 456 | <indexterm zone="ch-system-util-linux-ng mcookie">
|
---|
[3f8be484] | 457 | <primary sortas="b-mcookie">mcookie</primary>
|
---|
| 458 | </indexterm>
|
---|
| 459 | </listitem>
|
---|
| 460 | </varlistentry>
|
---|
| 461 |
|
---|
| 462 | <varlistentry id="mkfs">
|
---|
| 463 | <term><command>mkfs</command></term>
|
---|
| 464 | <listitem>
|
---|
| 465 | <para>Builds a file system on a device (usually a hard disk
|
---|
| 466 | partition)</para>
|
---|
[46423ee] | 467 | <indexterm zone="ch-system-util-linux-ng mkfs">
|
---|
[3f8be484] | 468 | <primary sortas="b-mkfs">mkfs</primary>
|
---|
| 469 | </indexterm>
|
---|
| 470 | </listitem>
|
---|
| 471 | </varlistentry>
|
---|
| 472 |
|
---|
| 473 | <varlistentry id="mkfs.bfs">
|
---|
| 474 | <term><command>mkfs.bfs</command></term>
|
---|
| 475 | <listitem>
|
---|
| 476 | <para>Creates a Santa Cruz Operations (SCO) bfs file system</para>
|
---|
[46423ee] | 477 | <indexterm zone="ch-system-util-linux-ng mkfs.bfs">
|
---|
[3f8be484] | 478 | <primary sortas="b-mkfs.bfs">mkfs.bfs</primary>
|
---|
| 479 | </indexterm>
|
---|
| 480 | </listitem>
|
---|
| 481 | </varlistentry>
|
---|
| 482 |
|
---|
| 483 | <varlistentry id="mkfs.cramfs">
|
---|
| 484 | <term><command>mkfs.cramfs</command></term>
|
---|
| 485 | <listitem>
|
---|
| 486 | <para>Creates a cramfs file system</para>
|
---|
[46423ee] | 487 | <indexterm zone="ch-system-util-linux-ng mkfs.cramfs">
|
---|
[3f8be484] | 488 | <primary sortas="b-mkfs.cramfs">mkfs.cramfs</primary>
|
---|
| 489 | </indexterm>
|
---|
| 490 | </listitem>
|
---|
| 491 | </varlistentry>
|
---|
| 492 |
|
---|
| 493 | <varlistentry id="mkfs.minix">
|
---|
| 494 | <term><command>mkfs.minix</command></term>
|
---|
| 495 | <listitem>
|
---|
| 496 | <para>Creates a Minix file system</para>
|
---|
[46423ee] | 497 | <indexterm zone="ch-system-util-linux-ng mkfs.minix">
|
---|
[3f8be484] | 498 | <primary sortas="b-mkfs.minix">mkfs.minix</primary>
|
---|
| 499 | </indexterm>
|
---|
| 500 | </listitem>
|
---|
| 501 | </varlistentry>
|
---|
| 502 |
|
---|
| 503 | <varlistentry id="mkswap">
|
---|
| 504 | <term><command>mkswap</command></term>
|
---|
| 505 | <listitem>
|
---|
| 506 | <para>Initializes the given device or file to be used as a swap
|
---|
| 507 | area</para>
|
---|
[46423ee] | 508 | <indexterm zone="ch-system-util-linux-ng mkswap">
|
---|
[3f8be484] | 509 | <primary sortas="b-mkswap">mkswap</primary>
|
---|
| 510 | </indexterm>
|
---|
| 511 | </listitem>
|
---|
| 512 | </varlistentry>
|
---|
| 513 |
|
---|
| 514 | <varlistentry id="more">
|
---|
| 515 | <term><command>more</command></term>
|
---|
| 516 | <listitem>
|
---|
| 517 | <para>A filter for paging through text one screen at a time</para>
|
---|
[46423ee] | 518 | <indexterm zone="ch-system-util-linux-ng more">
|
---|
[3f8be484] | 519 | <primary sortas="b-more">more</primary>
|
---|
| 520 | </indexterm>
|
---|
| 521 | </listitem>
|
---|
| 522 | </varlistentry>
|
---|
| 523 |
|
---|
| 524 | <varlistentry id="mount">
|
---|
| 525 | <term><command>mount</command></term>
|
---|
| 526 | <listitem>
|
---|
| 527 | <para>Attaches the file system on the given device to a specified
|
---|
| 528 | directory in the file-system tree</para>
|
---|
[46423ee] | 529 | <indexterm zone="ch-system-util-linux-ng mount">
|
---|
[3f8be484] | 530 | <primary sortas="b-mount">mount</primary>
|
---|
| 531 | </indexterm>
|
---|
| 532 | </listitem>
|
---|
| 533 | </varlistentry>
|
---|
| 534 |
|
---|
| 535 | <varlistentry id="namei">
|
---|
| 536 | <term><command>namei</command></term>
|
---|
| 537 | <listitem>
|
---|
| 538 | <para>Shows the symbolic links in the given pathnames</para>
|
---|
[46423ee] | 539 | <indexterm zone="ch-system-util-linux-ng namei">
|
---|
[3f8be484] | 540 | <primary sortas="b-namei">namei</primary>
|
---|
| 541 | </indexterm>
|
---|
| 542 | </listitem>
|
---|
| 543 | </varlistentry>
|
---|
| 544 |
|
---|
[9e8d8ae] | 545 | <varlistentry id="partx">
|
---|
| 546 | <term><command>partx</command></term>
|
---|
| 547 | <listitem>
|
---|
| 548 | <para>Tells the kernel about the presence and numbering of on-disk
|
---|
| 549 | partitions</para>
|
---|
| 550 | <indexterm zone="ch-system-util-linux-ng partx">
|
---|
| 551 | <primary sortas="b-partx">partx</primary>
|
---|
| 552 | </indexterm>
|
---|
| 553 | </listitem>
|
---|
| 554 | </varlistentry>
|
---|
| 555 |
|
---|
[3f8be484] | 556 | <varlistentry id="pg">
|
---|
| 557 | <term><command>pg</command></term>
|
---|
| 558 | <listitem>
|
---|
| 559 | <para>Displays a text file one screen full at a time</para>
|
---|
[46423ee] | 560 | <indexterm zone="ch-system-util-linux-ng pg">
|
---|
[3f8be484] | 561 | <primary sortas="b-pg">pg</primary>
|
---|
| 562 | </indexterm>
|
---|
| 563 | </listitem>
|
---|
| 564 | </varlistentry>
|
---|
| 565 |
|
---|
| 566 | <varlistentry id="pivot_root">
|
---|
| 567 | <term><command>pivot_root</command></term>
|
---|
| 568 | <listitem>
|
---|
| 569 | <para>Makes the given file system the new root file system of the
|
---|
| 570 | current process</para>
|
---|
[46423ee] | 571 | <indexterm zone="ch-system-util-linux-ng pivot_root">
|
---|
[3f8be484] | 572 | <primary sortas="b-pivot_root">pivot_root</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>
|
---|
[46423ee] | 581 | <indexterm zone="ch-system-util-linux-ng readprofile">
|
---|
[3f8be484] | 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>
|
---|
[46423ee] | 592 | <indexterm zone="ch-system-util-linux-ng rename">
|
---|
[3f8be484] | 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>
|
---|
[46423ee] | 602 | <indexterm zone="ch-system-util-linux-ng renice">
|
---|
[3f8be484] | 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>
|
---|
[46423ee] | 612 | <indexterm zone="ch-system-util-linux-ng rev">
|
---|
[3f8be484] | 613 | <primary sortas="b-rev">rev</primary>
|
---|
| 614 | </indexterm>
|
---|
| 615 | </listitem>
|
---|
| 616 | </varlistentry>
|
---|
| 617 |
|
---|
[9e8d8ae] | 618 | <varlistentry id="rtcwake">
|
---|
| 619 | <term><command>rtcwake</command></term>
|
---|
| 620 | <listitem>
|
---|
| 621 | <para>Enters a system sleep state until a specified wakeup time</para>
|
---|
| 622 | <indexterm zone="ch-system-util-linux-ng rtcwake">
|
---|
| 623 | <primary sortas="b-rtcwake">rtcwake</primary>
|
---|
| 624 | </indexterm>
|
---|
| 625 | </listitem>
|
---|
| 626 | </varlistentry>
|
---|
| 627 |
|
---|
[3f8be484] | 628 | <varlistentry id="script">
|
---|
| 629 | <term><command>script</command></term>
|
---|
| 630 | <listitem>
|
---|
| 631 | <para>Makes a typescript of a terminal session</para>
|
---|
[46423ee] | 632 | <indexterm zone="ch-system-util-linux-ng script">
|
---|
[3f8be484] | 633 | <primary sortas="b-script">script</primary>
|
---|
| 634 | </indexterm>
|
---|
| 635 | </listitem>
|
---|
| 636 | </varlistentry>
|
---|
| 637 |
|
---|
[9e8d8ae] | 638 | <varlistentry id="scriptreplay">
|
---|
| 639 | <term><command>scriptreplay</command></term>
|
---|
| 640 | <listitem>
|
---|
| 641 | <para>Plays back typescripts created by <command>script</command></para>
|
---|
| 642 | <indexterm zone="ch-system-util-linux-ng scriptreplay">
|
---|
| 643 | <primary sortas="b-scriptreplay">scriptreplay</primary>
|
---|
| 644 | </indexterm>
|
---|
| 645 | </listitem>
|
---|
| 646 | </varlistentry>
|
---|
| 647 |
|
---|
| 648 | <varlistentry id="setarch">
|
---|
| 649 | <term><command>setarch</command></term>
|
---|
| 650 | <listitem>
|
---|
| 651 | <para>Changes reported architecture in new program environment and
|
---|
| 652 | sets personality flags</para>
|
---|
| 653 | <indexterm zone="ch-system-util-linux-ng setarch">
|
---|
| 654 | <primary sortas="b-setarch">setarch</primary>
|
---|
| 655 | </indexterm>
|
---|
| 656 | </listitem>
|
---|
| 657 | </varlistentry>
|
---|
| 658 |
|
---|
[3f8be484] | 659 | <varlistentry id="setsid">
|
---|
| 660 | <term><command>setsid</command></term>
|
---|
| 661 | <listitem>
|
---|
| 662 | <para>Runs the given program in a new session</para>
|
---|
[46423ee] | 663 | <indexterm zone="ch-system-util-linux-ng setsid">
|
---|
[3f8be484] | 664 | <primary sortas="b-setsid">setsid</primary>
|
---|
| 665 | </indexterm>
|
---|
| 666 | </listitem>
|
---|
| 667 | </varlistentry>
|
---|
| 668 |
|
---|
| 669 | <varlistentry id="setterm">
|
---|
| 670 | <term><command>setterm</command></term>
|
---|
| 671 | <listitem>
|
---|
| 672 | <para>Sets terminal attributes</para>
|
---|
[46423ee] | 673 | <indexterm zone="ch-system-util-linux-ng setterm">
|
---|
[3f8be484] | 674 | <primary sortas="b-setterm">setterm</primary>
|
---|
| 675 | </indexterm>
|
---|
| 676 | </listitem>
|
---|
| 677 | </varlistentry>
|
---|
| 678 |
|
---|
| 679 | <varlistentry id="sfdisk">
|
---|
| 680 | <term><command>sfdisk</command></term>
|
---|
| 681 | <listitem>
|
---|
| 682 | <para>A disk partition table manipulator</para>
|
---|
[46423ee] | 683 | <indexterm zone="ch-system-util-linux-ng sfdisk">
|
---|
[3f8be484] | 684 | <primary sortas="b-sfdisk">sfdisk</primary>
|
---|
| 685 | </indexterm>
|
---|
| 686 | </listitem>
|
---|
| 687 | </varlistentry>
|
---|
| 688 |
|
---|
| 689 | <varlistentry id="swapoff">
|
---|
| 690 | <term><command>swapoff</command></term>
|
---|
| 691 | <listitem>
|
---|
| 692 | <para>Disables devices and files for paging and swapping</para>
|
---|
[46423ee] | 693 | <indexterm zone="ch-system-util-linux-ng swapoff">
|
---|
[3f8be484] | 694 | <primary sortas="b-swapoff">swapoff</primary>
|
---|
| 695 | </indexterm>
|
---|
| 696 | </listitem>
|
---|
| 697 | </varlistentry>
|
---|
| 698 |
|
---|
| 699 | <varlistentry id="swapon">
|
---|
| 700 | <term><command>swapon</command></term>
|
---|
| 701 | <listitem>
|
---|
| 702 | <para>Enables devices and files for paging and swapping and
|
---|
| 703 | lists the devices and files currently in use</para>
|
---|
[46423ee] | 704 | <indexterm zone="ch-system-util-linux-ng swapon">
|
---|
[3f8be484] | 705 | <primary sortas="b-swapon">swapon</primary>
|
---|
| 706 | </indexterm>
|
---|
| 707 | </listitem>
|
---|
| 708 | </varlistentry>
|
---|
| 709 |
|
---|
[e29fb58] | 710 | <varlistentry id="tailf">
|
---|
| 711 | <term><command>tailf</command></term>
|
---|
| 712 | <listitem>
|
---|
| 713 | <para>Tracks the growth of a log file. Displays the last 10 lines
|
---|
| 714 | of a log file, then continues displaying any new entries in the
|
---|
| 715 | log file as they are created</para>
|
---|
[46423ee] | 716 | <indexterm zone="ch-system-util-linux-ng tailf">
|
---|
[e29fb58] | 717 | <primary sortas="b-tailf">tailf</primary>
|
---|
| 718 | </indexterm>
|
---|
| 719 | </listitem>
|
---|
| 720 | </varlistentry>
|
---|
| 721 |
|
---|
[9e8d8ae] | 722 | <varlistentry id="taskset">
|
---|
| 723 | <term><command>taskset</command></term>
|
---|
| 724 | <listitem>
|
---|
| 725 | <para>Retrieves or sets a process's CPU affinity</para>
|
---|
| 726 | <indexterm zone="ch-system-util-linux-ng taskset">
|
---|
| 727 | <primary sortas="b-taskset">taskset</primary>
|
---|
| 728 | </indexterm>
|
---|
| 729 | </listitem>
|
---|
| 730 | </varlistentry>
|
---|
| 731 |
|
---|
[3f8be484] | 732 | <varlistentry id="tunelp">
|
---|
| 733 | <term><command>tunelp</command></term>
|
---|
| 734 | <listitem>
|
---|
| 735 | <para>Tunes the parameters of the line printer</para>
|
---|
[46423ee] | 736 | <indexterm zone="ch-system-util-linux-ng tunelp">
|
---|
[3f8be484] | 737 | <primary sortas="b-tunelp">tunelp</primary>
|
---|
| 738 | </indexterm>
|
---|
| 739 | </listitem>
|
---|
| 740 | </varlistentry>
|
---|
| 741 |
|
---|
| 742 | <varlistentry id="ul">
|
---|
| 743 | <term><command>ul</command></term>
|
---|
| 744 | <listitem>
|
---|
| 745 | <para>A filter for translating underscores into escape sequences
|
---|
| 746 | indicating underlining for the terminal in use</para>
|
---|
[46423ee] | 747 | <indexterm zone="ch-system-util-linux-ng ul">
|
---|
[3f8be484] | 748 | <primary sortas="b-ul">ul</primary>
|
---|
| 749 | </indexterm>
|
---|
| 750 | </listitem>
|
---|
| 751 | </varlistentry>
|
---|
| 752 |
|
---|
| 753 | <varlistentry id="umount">
|
---|
| 754 | <term><command>umount</command></term>
|
---|
| 755 | <listitem>
|
---|
| 756 | <para>Disconnects a file system from the system's file tree</para>
|
---|
[46423ee] | 757 | <indexterm zone="ch-system-util-linux-ng umount">
|
---|
[3f8be484] | 758 | <primary sortas="b-umount">umount</primary>
|
---|
| 759 | </indexterm>
|
---|
| 760 | </listitem>
|
---|
| 761 | </varlistentry>
|
---|
| 762 |
|
---|
| 763 | <varlistentry id="whereis">
|
---|
| 764 | <term><command>whereis</command></term>
|
---|
| 765 | <listitem>
|
---|
| 766 | <para>Reports the location of the binary, source, and man page
|
---|
| 767 | for the given command</para>
|
---|
[46423ee] | 768 | <indexterm zone="ch-system-util-linux-ng whereis">
|
---|
[3f8be484] | 769 | <primary sortas="b-whereis">whereis</primary>
|
---|
| 770 | </indexterm>
|
---|
| 771 | </listitem>
|
---|
| 772 | </varlistentry>
|
---|
| 773 |
|
---|
| 774 | <varlistentry id="write">
|
---|
| 775 | <term><command>write</command></term>
|
---|
| 776 | <listitem>
|
---|
| 777 | <para>Sends a message to the given user <emphasis>if</emphasis> that
|
---|
| 778 | user has not disabled receipt of such messages</para>
|
---|
[46423ee] | 779 | <indexterm zone="ch-system-util-linux-ng write">
|
---|
[3f8be484] | 780 | <primary sortas="b-write">write</primary>
|
---|
| 781 | </indexterm>
|
---|
| 782 | </listitem>
|
---|
| 783 | </varlistentry>
|
---|
| 784 |
|
---|
| 785 | </variablelist>
|
---|
| 786 |
|
---|
| 787 | </sect2>
|
---|
| 788 |
|
---|
| 789 | </sect1>
|
---|