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