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