[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' \
|
---|
[73b1cbb] | 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} \
|
---|
[6587192] | 49 | --enable-arch --enable-partx --disable-wall \
|
---|
| 50 | --enable-write --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>
|
---|
[6587192] | 56 | <term><parameter>--enable-arch</parameter></term>
|
---|
[3c23e03] | 57 | <listitem>
|
---|
[6587192] | 58 | <para>This option allows the <command>arch</command> program to be
|
---|
| 59 | installed.</para>
|
---|
[3c23e03] | 60 | </listitem>
|
---|
| 61 | </varlistentry>
|
---|
| 62 |
|
---|
| 63 | <varlistentry>
|
---|
[6587192] | 64 | <term><parameter>--enable-partx</parameter></term>
|
---|
[3c23e03] | 65 | <listitem>
|
---|
[6587192] | 66 | <para>Enables building the <command>addpart</command>, <command>delpart</command>,
|
---|
| 67 | <command>partx</command> programs.</para>
|
---|
[3c23e03] | 68 | </listitem>
|
---|
| 69 | </varlistentry>
|
---|
| 70 |
|
---|
| 71 | <varlistentry>
|
---|
| 72 | <term><parameter>--enable-write</parameter></term>
|
---|
| 73 | <listitem>
|
---|
| 74 | <para>This option allows the <command>write</command> program to be
|
---|
| 75 | installed.</para>
|
---|
| 76 | </listitem>
|
---|
| 77 | </varlistentry>
|
---|
| 78 |
|
---|
[846eed7] | 79 | <varlistentry>
|
---|
[6587192] | 80 | <term><parameter>--disable-wall</parameter></term>
|
---|
[846eed7] | 81 | <listitem>
|
---|
[6587192] | 82 | <para>Disables building the <command>wall</command> program,
|
---|
| 83 | as the Sysvinit package installs its own version.</para>
|
---|
[846eed7] | 84 | </listitem>
|
---|
| 85 | </varlistentry>
|
---|
| 86 |
|
---|
[3c23e03] | 87 | </variablelist>
|
---|
| 88 |
|
---|
| 89 | <para os="d">Compile the package:</para>
|
---|
| 90 |
|
---|
| 91 | <screen os="e"><userinput>make</userinput></screen>
|
---|
[02095ae] | 92 |
|
---|
[3c23e03] | 93 | <para os="f">Install the package:</para>
|
---|
[02095ae] | 94 |
|
---|
[3c23e03] | 95 | <screen os="g"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
|
---|
| 96 |
|
---|
| 97 | <para os="h">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="i"><userinput>mv -v ${CLFS}/usr/bin/logger ${CLFS}/bin</userinput></screen>
|
---|
[02095ae] | 102 |
|
---|
| 103 | </sect2>
|
---|
| 104 |
|
---|
[3a5c139] | 105 | <sect2 id="contents-util-linux-ng" role="content">
|
---|
| 106 | <title>Contents of Util-linux-ng</title>
|
---|
[02095ae] | 107 |
|
---|
| 108 | <segmentedlist>
|
---|
| 109 | <segtitle>Installed programs</segtitle>
|
---|
| 110 |
|
---|
| 111 | <seglistitem>
|
---|
[3c23e03] | 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,
|
---|
| 115 | ipcrm, ipcs, isosize, line, logger, look, losetup, mcookie, mkfs,
|
---|
| 116 | mkfs.bfs, mkfs.cramfs, mkfs.minix, mkswap, more, mount, namei, partx,
|
---|
| 117 | pg, pivot_root, readprofile, rename, renice, rev, rtcwake, script,
|
---|
| 118 | scriptreplay, setarch, setsid, setterm, sfdisk, swapoff (link to swapon),
|
---|
| 119 | swapon, tailf, taskset, tunelp, ul, umount, whereis, and write</seg>
|
---|
[02095ae] | 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 |
|
---|
[3c23e03] | 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 |
|
---|
[02095ae] | 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>
|
---|
[3a5c139] | 143 | <indexterm zone="ch-system-util-linux-ng agetty">
|
---|
[02095ae] | 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>
|
---|
[3a5c139] | 154 | <indexterm zone="ch-system-util-linux-ng blockdev">
|
---|
[02095ae] | 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>
|
---|
[3a5c139] | 164 | <indexterm zone="ch-system-util-linux-ng cal">
|
---|
[02095ae] | 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>
|
---|
[3a5c139] | 174 | <indexterm zone="ch-system-util-linux-ng cfdisk">
|
---|
[02095ae] | 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>
|
---|
[3a5c139] | 184 | <indexterm zone="ch-system-util-linux-ng chkdupexe">
|
---|
[02095ae] | 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>
|
---|
[3a5c139] | 194 | <indexterm zone="ch-system-util-linux-ng col">
|
---|
[02095ae] | 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>
|
---|
[3a5c139] | 205 | <indexterm zone="ch-system-util-linux-ng colcrt">
|
---|
[02095ae] | 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>
|
---|
[3a5c139] | 215 | <indexterm zone="ch-system-util-linux-ng colrm">
|
---|
[02095ae] | 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>
|
---|
[3a5c139] | 225 | <indexterm zone="ch-system-util-linux-ng column">
|
---|
[02095ae] | 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>
|
---|
[3a5c139] | 236 | <indexterm zone="ch-system-util-linux-ng ctrlaltdel">
|
---|
[02095ae] | 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>
|
---|
[3a5c139] | 247 | <indexterm zone="ch-system-util-linux-ng cytune">
|
---|
[02095ae] | 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>
|
---|
[3a5c139] | 258 | <indexterm zone="ch-system-util-linux-ng ddate">
|
---|
[02095ae] | 259 | <primary sortas="b-ddate">ddate</primary>
|
---|
| 260 | </indexterm>
|
---|
| 261 | </listitem>
|
---|
| 262 | </varlistentry>
|
---|
| 263 |
|
---|
[3c23e03] | 264 | <varlistentry id="delpart">
|
---|
| 265 | <term><command>delpart</command></term>
|
---|
[02095ae] | 266 | <listitem>
|
---|
[3c23e03] | 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>
|
---|
[02095ae] | 270 | </indexterm>
|
---|
| 271 | </listitem>
|
---|
| 272 | </varlistentry>
|
---|
| 273 |
|
---|
[3c23e03] | 274 | <varlistentry id="dmesg">
|
---|
| 275 | <term><command>dmesg</command></term>
|
---|
[02095ae] | 276 | <listitem>
|
---|
[3c23e03] | 277 | <para>Dumps the kernel boot messages</para>
|
---|
| 278 | <indexterm zone="ch-system-util-linux-ng dmesg">
|
---|
| 279 | <primary sortas="b-dmesg">dmesg</primary>
|
---|
[02095ae] | 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>
|
---|
[3a5c139] | 288 | <indexterm zone="ch-system-util-linux-ng fdformat">
|
---|
[02095ae] | 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>
|
---|
[3a5c139] | 298 | <indexterm zone="ch-system-util-linux-ng fdisk">
|
---|
[02095ae] | 299 | <primary sortas="b-fdisk">fdisk</primary>
|
---|
| 300 | </indexterm>
|
---|
| 301 | </listitem>
|
---|
| 302 | </varlistentry>
|
---|
| 303 |
|
---|
[82b662d] | 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>
|
---|
[3a5c139] | 309 | <indexterm zone="ch-system-util-linux-ng flock">
|
---|
[82b662d] | 310 | <primary sortas="b-flock">flock</primary>
|
---|
| 311 | </indexterm>
|
---|
| 312 | </listitem>
|
---|
| 313 | </varlistentry>
|
---|
| 314 |
|
---|
[02095ae] | 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>
|
---|
[3a5c139] | 320 | <indexterm zone="ch-system-util-linux-ng fsck.cramfs">
|
---|
[02095ae] | 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>
|
---|
[3a5c139] | 331 | <indexterm zone="ch-system-util-linux-ng fsck.minix">
|
---|
[02095ae] | 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>
|
---|
[3a5c139] | 341 | <indexterm zone="ch-system-util-linux-ng getopt">
|
---|
[02095ae] | 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>
|
---|
[3a5c139] | 352 | <indexterm zone="ch-system-util-linux-ng hexdump">
|
---|
[02095ae] | 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>
|
---|
[3a5c139] | 364 | <indexterm zone="ch-system-util-linux-ng hwclock">
|
---|
[02095ae] | 365 | <primary sortas="b-hwclock">hwclock</primary>
|
---|
| 366 | </indexterm>
|
---|
| 367 | </listitem>
|
---|
| 368 | </varlistentry>
|
---|
| 369 |
|
---|
[3c23e03] | 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 |
|
---|
[02095ae] | 380 | <varlistentry id="ipcrm">
|
---|
| 381 | <term><command>ipcrm</command></term>
|
---|
| 382 | <listitem>
|
---|
| 383 | <para>Removes the given Inter-Process Communication (IPC) resource</para>
|
---|
[3a5c139] | 384 | <indexterm zone="ch-system-util-linux-ng ipcrm">
|
---|
[02095ae] | 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>
|
---|
[3a5c139] | 394 | <indexterm zone="ch-system-util-linux-ng ipcs">
|
---|
[02095ae] | 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>
|
---|
[3a5c139] | 404 | <indexterm zone="ch-system-util-linux-ng isosize">
|
---|
[02095ae] | 405 | <primary sortas="b-isosize">isosize</primary>
|
---|
| 406 | </indexterm>
|
---|
| 407 | </listitem>
|
---|
| 408 | </varlistentry>
|
---|
| 409 |
|
---|
| 410 | <varlistentry id="line">
|
---|
| 411 | <term><command>line</command></term>
|
---|
| 412 | <listitem>
|
---|
| 413 | <para>Copies a single line</para>
|
---|
[3a5c139] | 414 | <indexterm zone="ch-system-util-linux-ng line">
|
---|
[02095ae] | 415 | <primary sortas="b-line">line</primary>
|
---|
| 416 | </indexterm>
|
---|
| 417 | </listitem>
|
---|
| 418 | </varlistentry>
|
---|
| 419 |
|
---|
| 420 | <varlistentry id="logger">
|
---|
| 421 | <term><command>logger</command></term>
|
---|
| 422 | <listitem>
|
---|
| 423 | <para>Enters the given message into the system log</para>
|
---|
[3a5c139] | 424 | <indexterm zone="ch-system-util-linux-ng logger">
|
---|
[02095ae] | 425 | <primary sortas="b-logger">logger</primary>
|
---|
| 426 | </indexterm>
|
---|
| 427 | </listitem>
|
---|
| 428 | </varlistentry>
|
---|
| 429 |
|
---|
| 430 | <varlistentry id="look">
|
---|
| 431 | <term><command>look</command></term>
|
---|
| 432 | <listitem>
|
---|
| 433 | <para>Displays lines that begin with the given string</para>
|
---|
[3a5c139] | 434 | <indexterm zone="ch-system-util-linux-ng look">
|
---|
[02095ae] | 435 | <primary sortas="b-look">look</primary>
|
---|
| 436 | </indexterm>
|
---|
| 437 | </listitem>
|
---|
| 438 | </varlistentry>
|
---|
| 439 |
|
---|
| 440 | <varlistentry id="losetup">
|
---|
| 441 | <term><command>losetup</command></term>
|
---|
| 442 | <listitem>
|
---|
| 443 | <para>Sets up and controls loop devices</para>
|
---|
[3a5c139] | 444 | <indexterm zone="ch-system-util-linux-ng losetup">
|
---|
[02095ae] | 445 | <primary sortas="b-losetup">losetup</primary>
|
---|
| 446 | </indexterm>
|
---|
| 447 | </listitem>
|
---|
| 448 | </varlistentry>
|
---|
| 449 |
|
---|
| 450 | <varlistentry id="mcookie">
|
---|
| 451 | <term><command>mcookie</command></term>
|
---|
| 452 | <listitem>
|
---|
| 453 | <para>Generates magic cookies (128-bit random hexadecimal numbers) for
|
---|
| 454 | <command>xauth</command></para>
|
---|
[3a5c139] | 455 | <indexterm zone="ch-system-util-linux-ng mcookie">
|
---|
[02095ae] | 456 | <primary sortas="b-mcookie">mcookie</primary>
|
---|
| 457 | </indexterm>
|
---|
| 458 | </listitem>
|
---|
| 459 | </varlistentry>
|
---|
| 460 |
|
---|
| 461 | <varlistentry id="mkfs">
|
---|
| 462 | <term><command>mkfs</command></term>
|
---|
| 463 | <listitem>
|
---|
| 464 | <para>Builds a file system on a device (usually a hard disk
|
---|
| 465 | partition)</para>
|
---|
[3a5c139] | 466 | <indexterm zone="ch-system-util-linux-ng mkfs">
|
---|
[02095ae] | 467 | <primary sortas="b-mkfs">mkfs</primary>
|
---|
| 468 | </indexterm>
|
---|
| 469 | </listitem>
|
---|
| 470 | </varlistentry>
|
---|
| 471 |
|
---|
| 472 | <varlistentry id="mkfs.bfs">
|
---|
| 473 | <term><command>mkfs.bfs</command></term>
|
---|
| 474 | <listitem>
|
---|
| 475 | <para>Creates a Santa Cruz Operations (SCO) bfs file system</para>
|
---|
[3a5c139] | 476 | <indexterm zone="ch-system-util-linux-ng mkfs.bfs">
|
---|
[02095ae] | 477 | <primary sortas="b-mkfs.bfs">mkfs.bfs</primary>
|
---|
| 478 | </indexterm>
|
---|
| 479 | </listitem>
|
---|
| 480 | </varlistentry>
|
---|
| 481 |
|
---|
| 482 | <varlistentry id="mkfs.cramfs">
|
---|
| 483 | <term><command>mkfs.cramfs</command></term>
|
---|
| 484 | <listitem>
|
---|
| 485 | <para>Creates a cramfs file system</para>
|
---|
[3a5c139] | 486 | <indexterm zone="ch-system-util-linux-ng mkfs.cramfs">
|
---|
[02095ae] | 487 | <primary sortas="b-mkfs.cramfs">mkfs.cramfs</primary>
|
---|
| 488 | </indexterm>
|
---|
| 489 | </listitem>
|
---|
| 490 | </varlistentry>
|
---|
| 491 |
|
---|
| 492 | <varlistentry id="mkfs.minix">
|
---|
| 493 | <term><command>mkfs.minix</command></term>
|
---|
| 494 | <listitem>
|
---|
| 495 | <para>Creates a Minix file system</para>
|
---|
[3a5c139] | 496 | <indexterm zone="ch-system-util-linux-ng mkfs.minix">
|
---|
[02095ae] | 497 | <primary sortas="b-mkfs.minix">mkfs.minix</primary>
|
---|
| 498 | </indexterm>
|
---|
| 499 | </listitem>
|
---|
| 500 | </varlistentry>
|
---|
| 501 |
|
---|
| 502 | <varlistentry id="mkswap">
|
---|
| 503 | <term><command>mkswap</command></term>
|
---|
| 504 | <listitem>
|
---|
| 505 | <para>Initializes the given device or file to be used as a swap
|
---|
| 506 | area</para>
|
---|
[3a5c139] | 507 | <indexterm zone="ch-system-util-linux-ng mkswap">
|
---|
[02095ae] | 508 | <primary sortas="b-mkswap">mkswap</primary>
|
---|
| 509 | </indexterm>
|
---|
| 510 | </listitem>
|
---|
| 511 | </varlistentry>
|
---|
| 512 |
|
---|
| 513 | <varlistentry id="more">
|
---|
| 514 | <term><command>more</command></term>
|
---|
| 515 | <listitem>
|
---|
| 516 | <para>A filter for paging through text one screen at a time</para>
|
---|
[3a5c139] | 517 | <indexterm zone="ch-system-util-linux-ng more">
|
---|
[02095ae] | 518 | <primary sortas="b-more">more</primary>
|
---|
| 519 | </indexterm>
|
---|
| 520 | </listitem>
|
---|
| 521 | </varlistentry>
|
---|
| 522 |
|
---|
| 523 | <varlistentry id="mount">
|
---|
| 524 | <term><command>mount</command></term>
|
---|
| 525 | <listitem>
|
---|
| 526 | <para>Attaches the file system on the given device to a specified
|
---|
| 527 | directory in the file-system tree</para>
|
---|
[3a5c139] | 528 | <indexterm zone="ch-system-util-linux-ng mount">
|
---|
[02095ae] | 529 | <primary sortas="b-mount">mount</primary>
|
---|
| 530 | </indexterm>
|
---|
| 531 | </listitem>
|
---|
| 532 | </varlistentry>
|
---|
| 533 |
|
---|
| 534 | <varlistentry id="namei">
|
---|
| 535 | <term><command>namei</command></term>
|
---|
| 536 | <listitem>
|
---|
| 537 | <para>Shows the symbolic links in the given pathnames</para>
|
---|
[3a5c139] | 538 | <indexterm zone="ch-system-util-linux-ng namei">
|
---|
[02095ae] | 539 | <primary sortas="b-namei">namei</primary>
|
---|
| 540 | </indexterm>
|
---|
| 541 | </listitem>
|
---|
| 542 | </varlistentry>
|
---|
| 543 |
|
---|
[3c23e03] | 544 | <varlistentry id="partx">
|
---|
| 545 | <term><command>partx</command></term>
|
---|
| 546 | <listitem>
|
---|
| 547 | <para>Tells the kernel about the presence and numbering of on-disk
|
---|
| 548 | partitions</para>
|
---|
| 549 | <indexterm zone="ch-system-util-linux-ng partx">
|
---|
| 550 | <primary sortas="b-partx">partx</primary>
|
---|
| 551 | </indexterm>
|
---|
| 552 | </listitem>
|
---|
| 553 | </varlistentry>
|
---|
| 554 |
|
---|
[02095ae] | 555 | <varlistentry id="pg">
|
---|
| 556 | <term><command>pg</command></term>
|
---|
| 557 | <listitem>
|
---|
| 558 | <para>Displays a text file one screen full at a time</para>
|
---|
[3a5c139] | 559 | <indexterm zone="ch-system-util-linux-ng pg">
|
---|
[02095ae] | 560 | <primary sortas="b-pg">pg</primary>
|
---|
| 561 | </indexterm>
|
---|
| 562 | </listitem>
|
---|
| 563 | </varlistentry>
|
---|
| 564 |
|
---|
| 565 | <varlistentry id="pivot_root">
|
---|
| 566 | <term><command>pivot_root</command></term>
|
---|
| 567 | <listitem>
|
---|
| 568 | <para>Makes the given file system the new root file system of the
|
---|
| 569 | current process</para>
|
---|
[3a5c139] | 570 | <indexterm zone="ch-system-util-linux-ng pivot_root">
|
---|
[02095ae] | 571 | <primary sortas="b-pivot_root">pivot_root</primary>
|
---|
| 572 | </indexterm>
|
---|
| 573 | </listitem>
|
---|
| 574 | </varlistentry>
|
---|
| 575 |
|
---|
| 576 | <varlistentry id="readprofile">
|
---|
| 577 | <term><command>readprofile</command></term>
|
---|
| 578 | <listitem>
|
---|
| 579 | <para>Reads kernel profiling information</para>
|
---|
[3a5c139] | 580 | <indexterm zone="ch-system-util-linux-ng readprofile">
|
---|
[02095ae] | 581 | <primary sortas="b-readprofile">readprofile</primary>
|
---|
| 582 | </indexterm>
|
---|
| 583 | </listitem>
|
---|
| 584 | </varlistentry>
|
---|
| 585 |
|
---|
| 586 | <varlistentry id="rename">
|
---|
| 587 | <term><command>rename</command></term>
|
---|
| 588 | <listitem>
|
---|
| 589 | <para>Renames the given files, replacing a given string with
|
---|
| 590 | another</para>
|
---|
[3a5c139] | 591 | <indexterm zone="ch-system-util-linux-ng rename">
|
---|
[02095ae] | 592 | <primary sortas="b-rename">rename</primary>
|
---|
| 593 | </indexterm>
|
---|
| 594 | </listitem>
|
---|
| 595 | </varlistentry>
|
---|
| 596 |
|
---|
| 597 | <varlistentry id="renice">
|
---|
| 598 | <term><command>renice</command></term>
|
---|
| 599 | <listitem>
|
---|
| 600 | <para>Alters the priority of running processes</para>
|
---|
[3a5c139] | 601 | <indexterm zone="ch-system-util-linux-ng renice">
|
---|
[02095ae] | 602 | <primary sortas="b-renice">renice</primary>
|
---|
| 603 | </indexterm>
|
---|
| 604 | </listitem>
|
---|
| 605 | </varlistentry>
|
---|
| 606 |
|
---|
| 607 | <varlistentry id="rev">
|
---|
| 608 | <term><command>rev</command></term>
|
---|
| 609 | <listitem>
|
---|
| 610 | <para>Reverses the lines of a given file</para>
|
---|
[3a5c139] | 611 | <indexterm zone="ch-system-util-linux-ng rev">
|
---|
[02095ae] | 612 | <primary sortas="b-rev">rev</primary>
|
---|
| 613 | </indexterm>
|
---|
| 614 | </listitem>
|
---|
| 615 | </varlistentry>
|
---|
| 616 |
|
---|
[3c23e03] | 617 | <varlistentry id="rtcwake">
|
---|
| 618 | <term><command>rtcwake</command></term>
|
---|
[02095ae] | 619 | <listitem>
|
---|
[3c23e03] | 620 | <para>Enters a system sleep state until a specified wakeup time</para>
|
---|
| 621 | <indexterm zone="ch-system-util-linux-ng rtcwake">
|
---|
| 622 | <primary sortas="b-rtcwake">rtcwake</primary>
|
---|
[02095ae] | 623 | </indexterm>
|
---|
| 624 | </listitem>
|
---|
| 625 | </varlistentry>
|
---|
| 626 |
|
---|
| 627 | <varlistentry id="script">
|
---|
| 628 | <term><command>script</command></term>
|
---|
| 629 | <listitem>
|
---|
| 630 | <para>Makes a typescript of a terminal session</para>
|
---|
[3a5c139] | 631 | <indexterm zone="ch-system-util-linux-ng script">
|
---|
[02095ae] | 632 | <primary sortas="b-script">script</primary>
|
---|
| 633 | </indexterm>
|
---|
| 634 | </listitem>
|
---|
| 635 | </varlistentry>
|
---|
| 636 |
|
---|
[3c23e03] | 637 | <varlistentry id="scriptreplay">
|
---|
| 638 | <term><command>scriptreplay</command></term>
|
---|
| 639 | <listitem>
|
---|
| 640 | <para>Plays back typescripts created by <command>script</command></para>
|
---|
| 641 | <indexterm zone="ch-system-util-linux-ng scriptreplay">
|
---|
| 642 | <primary sortas="b-scriptreplay">scriptreplay</primary>
|
---|
| 643 | </indexterm>
|
---|
| 644 | </listitem>
|
---|
| 645 | </varlistentry>
|
---|
| 646 |
|
---|
| 647 | <varlistentry id="setarch">
|
---|
| 648 | <term><command>setarch</command></term>
|
---|
[02095ae] | 649 | <listitem>
|
---|
[3c23e03] | 650 | <para>Changes reported architecture in new program environment and
|
---|
| 651 | sets personality flags</para>
|
---|
| 652 | <indexterm zone="ch-system-util-linux-ng setarch">
|
---|
| 653 | <primary sortas="b-setarch">setarch</primary>
|
---|
[02095ae] | 654 | </indexterm>
|
---|
| 655 | </listitem>
|
---|
| 656 | </varlistentry>
|
---|
| 657 |
|
---|
| 658 | <varlistentry id="setsid">
|
---|
| 659 | <term><command>setsid</command></term>
|
---|
| 660 | <listitem>
|
---|
| 661 | <para>Runs the given program in a new session</para>
|
---|
[3a5c139] | 662 | <indexterm zone="ch-system-util-linux-ng setsid">
|
---|
[02095ae] | 663 | <primary sortas="b-setsid">setsid</primary>
|
---|
| 664 | </indexterm>
|
---|
| 665 | </listitem>
|
---|
| 666 | </varlistentry>
|
---|
| 667 |
|
---|
| 668 | <varlistentry id="setterm">
|
---|
| 669 | <term><command>setterm</command></term>
|
---|
| 670 | <listitem>
|
---|
| 671 | <para>Sets terminal attributes</para>
|
---|
[3a5c139] | 672 | <indexterm zone="ch-system-util-linux-ng setterm">
|
---|
[02095ae] | 673 | <primary sortas="b-setterm">setterm</primary>
|
---|
| 674 | </indexterm>
|
---|
| 675 | </listitem>
|
---|
| 676 | </varlistentry>
|
---|
| 677 |
|
---|
| 678 | <varlistentry id="sfdisk">
|
---|
| 679 | <term><command>sfdisk</command></term>
|
---|
| 680 | <listitem>
|
---|
| 681 | <para>A disk partition table manipulator</para>
|
---|
[3a5c139] | 682 | <indexterm zone="ch-system-util-linux-ng sfdisk">
|
---|
[02095ae] | 683 | <primary sortas="b-sfdisk">sfdisk</primary>
|
---|
| 684 | </indexterm>
|
---|
| 685 | </listitem>
|
---|
| 686 | </varlistentry>
|
---|
| 687 |
|
---|
| 688 | <varlistentry id="swapoff">
|
---|
| 689 | <term><command>swapoff</command></term>
|
---|
| 690 | <listitem>
|
---|
| 691 | <para>Disables devices and files for paging and swapping</para>
|
---|
[3a5c139] | 692 | <indexterm zone="ch-system-util-linux-ng swapoff">
|
---|
[02095ae] | 693 | <primary sortas="b-swapoff">swapoff</primary>
|
---|
| 694 | </indexterm>
|
---|
| 695 | </listitem>
|
---|
| 696 | </varlistentry>
|
---|
| 697 |
|
---|
| 698 | <varlistentry id="swapon">
|
---|
| 699 | <term><command>swapon</command></term>
|
---|
| 700 | <listitem>
|
---|
| 701 | <para>Enables devices and files for paging and swapping and
|
---|
| 702 | lists the devices and files currently in use</para>
|
---|
[3a5c139] | 703 | <indexterm zone="ch-system-util-linux-ng swapon">
|
---|
[02095ae] | 704 | <primary sortas="b-swapon">swapon</primary>
|
---|
| 705 | </indexterm>
|
---|
| 706 | </listitem>
|
---|
| 707 | </varlistentry>
|
---|
| 708 |
|
---|
[82b662d] | 709 | <varlistentry id="tailf">
|
---|
| 710 | <term><command>tailf</command></term>
|
---|
| 711 | <listitem>
|
---|
| 712 | <para>Tracks the growth of a log file. Displays the last 10 lines
|
---|
| 713 | of a log file, then continues displaying any new entries in the
|
---|
| 714 | log file as they are created</para>
|
---|
[3a5c139] | 715 | <indexterm zone="ch-system-util-linux-ng tailf">
|
---|
[82b662d] | 716 | <primary sortas="b-tailf">tailf</primary>
|
---|
| 717 | </indexterm>
|
---|
| 718 | </listitem>
|
---|
| 719 | </varlistentry>
|
---|
| 720 |
|
---|
[3c23e03] | 721 | <varlistentry id="taskset">
|
---|
| 722 | <term><command>taskset</command></term>
|
---|
| 723 | <listitem>
|
---|
| 724 | <para>Retrieves or sets a process's CPU affinity</para>
|
---|
| 725 | <indexterm zone="ch-system-util-linux-ng taskset">
|
---|
| 726 | <primary sortas="b-taskset">taskset</primary>
|
---|
| 727 | </indexterm>
|
---|
| 728 | </listitem>
|
---|
| 729 | </varlistentry>
|
---|
| 730 |
|
---|
[02095ae] | 731 | <varlistentry id="tunelp">
|
---|
| 732 | <term><command>tunelp</command></term>
|
---|
| 733 | <listitem>
|
---|
| 734 | <para>Tunes the parameters of the line printer</para>
|
---|
[3a5c139] | 735 | <indexterm zone="ch-system-util-linux-ng tunelp">
|
---|
[02095ae] | 736 | <primary sortas="b-tunelp">tunelp</primary>
|
---|
| 737 | </indexterm>
|
---|
| 738 | </listitem>
|
---|
| 739 | </varlistentry>
|
---|
| 740 |
|
---|
| 741 | <varlistentry id="ul">
|
---|
| 742 | <term><command>ul</command></term>
|
---|
| 743 | <listitem>
|
---|
| 744 | <para>A filter for translating underscores into escape sequences
|
---|
| 745 | indicating underlining for the terminal in use</para>
|
---|
[3a5c139] | 746 | <indexterm zone="ch-system-util-linux-ng ul">
|
---|
[02095ae] | 747 | <primary sortas="b-ul">ul</primary>
|
---|
| 748 | </indexterm>
|
---|
| 749 | </listitem>
|
---|
| 750 | </varlistentry>
|
---|
| 751 |
|
---|
| 752 | <varlistentry id="umount">
|
---|
| 753 | <term><command>umount</command></term>
|
---|
| 754 | <listitem>
|
---|
| 755 | <para>Disconnects a file system from the system's file tree</para>
|
---|
[3a5c139] | 756 | <indexterm zone="ch-system-util-linux-ng umount">
|
---|
[02095ae] | 757 | <primary sortas="b-umount">umount</primary>
|
---|
| 758 | </indexterm>
|
---|
| 759 | </listitem>
|
---|
| 760 | </varlistentry>
|
---|
| 761 |
|
---|
| 762 | <varlistentry id="whereis">
|
---|
| 763 | <term><command>whereis</command></term>
|
---|
| 764 | <listitem>
|
---|
| 765 | <para>Reports the location of the binary, source, and man page
|
---|
| 766 | for the given command</para>
|
---|
[3a5c139] | 767 | <indexterm zone="ch-system-util-linux-ng whereis">
|
---|
[02095ae] | 768 | <primary sortas="b-whereis">whereis</primary>
|
---|
| 769 | </indexterm>
|
---|
| 770 | </listitem>
|
---|
| 771 | </varlistentry>
|
---|
| 772 |
|
---|
| 773 | <varlistentry id="write">
|
---|
| 774 | <term><command>write</command></term>
|
---|
| 775 | <listitem>
|
---|
| 776 | <para>Sends a message to the given user <emphasis>if</emphasis> that
|
---|
| 777 | user has not disabled receipt of such messages</para>
|
---|
[3a5c139] | 778 | <indexterm zone="ch-system-util-linux-ng write">
|
---|
[02095ae] | 779 | <primary sortas="b-write">write</primary>
|
---|
| 780 | </indexterm>
|
---|
| 781 | </listitem>
|
---|
| 782 | </varlistentry>
|
---|
| 783 |
|
---|
| 784 | </variablelist>
|
---|
| 785 |
|
---|
| 786 | </sect2>
|
---|
| 787 |
|
---|
| 788 | </sect1>
|
---|