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