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