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