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