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