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