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