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