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