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