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