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