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