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