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