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