source: BOOK/final-system/common/util-linux.xml@ f7e4340

sysvinit
Last change on this file since f7e4340 was b27081c4, checked in by Chris Staub <chris@…>, 9 years ago

Put one configure option per line

  • Property mode set to 100644
File size: 39.3 KB
RevLine 
[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
[9fedd70f]8<sect1 id="ch-system-util-linux" role="wrap">
9 <?dbhtml filename="util-linux.html"?>
[3f8be484]10
[9fedd70f]11 <title>Util-linux-&util-linux-version;</title>
[3f8be484]12
[9fedd70f]13 <indexterm zone="ch-system-util-linux">
14 <primary sortas="a-Util-linux">Util-linux</primary>
[3f8be484]15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
[9fedd70f]20 <para>The Util-linux package contains miscellaneous utility programs.
[3f8be484]21 Among them are utilities for handling file systems, consoles, partitions,
22 and messages.</para>
23
24 </sect2>
25
[9fedd70f]26 <sect2 id="fhs-util-linux" role="installation">
[3f8be484]27 <title>FHS compliance notes</title>
28
29 <para>The FHS recommends using the <filename
30 class="directory">/var/lib/hwclock</filename> directory instead of the
31 usual <filename class="directory">/etc</filename> directory as the
32 location for the <filename>adjtime</filename> file. To make the
33 <command>hwclock</command> program FHS-compliant, run the following:</para>
34
[8a76af3]35<screen><userinput>mkdir -pv /var/lib/hwclock</userinput></screen>
[3f8be484]36
37 </sect2>
38
39 <sect2 role="installation">
[9fedd70f]40 <title>Installation of Util-linux</title>
[3f8be484]41
[9fedd70f]42 <para os="a">Prepare Util-linux for compilation:</para>
[3f8be484]43
[b27081c4]44<screen os="b"><userinput>./configure \
45 ADJTIME_PATH=/var/lib/hwclock/adjtime \
46 --enable-write \
47 --docdir=/usr/share/doc/util-linux-&util-linux-version;</userinput></screen>
[3f8be484]48
[17e4e83]49 <variablelist os="c">
50 <title>The meaning of the configure options:</title>
51
52 <varlistentry>
53 <term><parameter>--enable-write</parameter></term>
54 <listitem>
55 <para>This option allows the <command>write</command> program to be
56 installed.</para>
57 </listitem>
58 </varlistentry>
59
60 </variablelist>
61
62 <para os="d">Compile the package:</para>
63
64<screen os="e"><userinput>make</userinput></screen>
65
[686839b]66 <para os="f">To test the results, issue:</para>
67
[60218d4]68<screen os="f2"><userinput remap="test">chown -Rv nobody . &amp;&amp;
69su nobody -s /bin/bash -c "PATH=$PATH make -k check"</userinput></screen>
[3f8be484]70
[46423ee]71 <para os="g">Install the package:</para>
[3f8be484]72
[46423ee]73<screen os="h"><userinput>make install</userinput></screen>
[3f8be484]74
[b4badbd]75 <para os="i">Move the <command>logger</command> binary to
76 <filename class="directory">/bin</filename> as it is needed by the
77 CLFS Bootscripts package:</para>
78
79<screen os="j"><userinput>mv -v /usr/bin/logger /bin</userinput></screen>
80
[3f8be484]81 </sect2>
82
[9fedd70f]83 <sect2 id="contents-util-linux" role="content">
84 <title>Contents of Util-linux</title>
[3f8be484]85
86 <segmentedlist>
87 <segtitle>Installed programs</segtitle>
[98c59fa]88 <segtitle>Installed libraries</segtitle>
[61ad0b7f]89 <segtitle>Installed directories</segtitle>
[3f8be484]90
91 <seglistitem>
[8c09b88]92 <seg>addpart, agetty, blkdiscard, blkid, blockdev, cal, cfdisk, chcpu,
[8886e357]93 chrt, col, colcrt, colrm, column, ctrlaltdel, delpart,
[d9ed6c3]94 dmesg, eject, fallocate, fdformat, fdisk, findfs, findmnt, flock,
95 fsck, fsck.cramfs, fsck.minix, fsfreeze, fstrim, getopt, hexdump,
[86e0296]96 hwclock, ionice, ipcmk, ipcrm, ipcs, isosize, kill, last, lastb (link
97 to last), ldattach, logger, look, losetup, lsblk, lscpu, lslocks,
98 mcookie, mesg, mkfs, mkfs.bfs, mkfs.cramfs, mkfs.minix, mkswap, more,
[59d58ea]99 mount, mountpoint, namei, nologin, nsenter, partx, pg, pivot_root, prlimit,
[0a6ea84]100 raw, readprofile, rename, renice, resizepart, rev, rtcwake, script,
[86e0296]101 scriptreplay, setarch, setsid, setterm, sfdisk, sulogin, swaplabel,
[59d58ea]102 swapoff, swapon, switch_root, tailf, taskset, ul, umount, unshare,
[c2102b28]103 utmpdump, uuidd, uuidgen, wall, wdctl, whereis, wipefs, write</seg>
104 <seg>libblkid.[a,so], libmount.[a,so], libuuid.[a,so]</seg>
[ba0660c]105 <seg>/usr/include/blkid, /usr/include/libmount, /usr/include/uuid,
[c873165]106 /usr/share/bash-completion,
107 /usr/share/doc/util-linux-&util-linux-version;/getopt,
[b4bf2c5]108 /var/lib/hwclock</seg>
[3f8be484]109 </seglistitem>
110 </segmentedlist>
111
112 <variablelist>
113 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
114 <?dbfo list-presentation="list"?>
115 <?dbhtml list-presentation="table"?>
116
[9e8d8ae]117 <varlistentry id="addpart">
118 <term><command>addpart</command></term>
119 <listitem>
120 <para>Informs the kernel of a new partition</para>
[9fedd70f]121 <indexterm zone="ch-system-util-linux addpart">
[9e8d8ae]122 <primary sortas="b-addpart">addpart</primary>
123 </indexterm>
124 </listitem>
125 </varlistentry>
126
[3f8be484]127 <varlistentry id="agetty">
128 <term><command>agetty</command></term>
129 <listitem>
130 <para>Opens a tty port, prompts for a login name,
131 and then invokes the <command>login</command> program</para>
[9fedd70f]132 <indexterm zone="ch-system-util-linux agetty">
[3f8be484]133 <primary sortas="b-agetty">agetty</primary>
134 </indexterm>
135 </listitem>
136 </varlistentry>
137
[8c09b88]138 <varlistentry id="blkdiscard">
139 <term><command>blkdiscard</command></term>
[2cca6fd]140 <listitem>
[8c09b88]141 <para>Discards sectors on a device</para>
142 <indexterm zone="ch-system-util-linux blkdiscard">
143 <primary sortas="b-blkdiscard">blkdiscard</primary>
[2cca6fd]144 </indexterm>
145 </listitem>
146 </varlistentry>
147
[188b6b2]148 <varlistentry id="blkid">
149 <term><command>blkid</command></term>
150 <listitem>
151 <para>A command line utility to locate and print block device
152 attributes</para>
[9fedd70f]153 <indexterm zone="ch-system-util-linux blkid">
[188b6b2]154 <primary sortas="b-blkid">blkid</primary>
155 </indexterm>
156 </listitem>
157 </varlistentry>
158
[3f8be484]159 <varlistentry id="blockdev">
160 <term><command>blockdev</command></term>
161 <listitem>
162 <para>Allows users to call block device ioctls from the command
163 line</para>
[9fedd70f]164 <indexterm zone="ch-system-util-linux blockdev">
[3f8be484]165 <primary sortas="b-blockdev">blockdev</primary>
166 </indexterm>
167 </listitem>
168 </varlistentry>
169
170 <varlistentry id="cal">
171 <term><command>cal</command></term>
172 <listitem>
173 <para>Displays a simple calendar</para>
[9fedd70f]174 <indexterm zone="ch-system-util-linux cal">
[3f8be484]175 <primary sortas="b-cal">cal</primary>
176 </indexterm>
177 </listitem>
178 </varlistentry>
179
180 <varlistentry id="cfdisk">
181 <term><command>cfdisk</command></term>
182 <listitem>
183 <para>Manipulates the partition table of the given device</para>
[9fedd70f]184 <indexterm zone="ch-system-util-linux cfdisk">
[3f8be484]185 <primary sortas="b-cfdisk">cfdisk</primary>
186 </indexterm>
187 </listitem>
188 </varlistentry>
189
[2b220db9]190 <varlistentry id="chcpu">
191 <term><command>chcpu</command></term>
[3f8be484]192 <listitem>
[2b220db9]193 <para>Utility to configure CPUs</para>
194 <indexterm zone="ch-system-util-linux chcpu">
195 <primary sortas="b-chcpu">chcpu</primary>
[3f8be484]196 </indexterm>
197 </listitem>
198 </varlistentry>
199
[427015f]200 <varlistentry id="chrt">
201 <term><command>chrt</command></term>
202 <listitem>
203 <para>Manipulates real-time attributes of a process</para>
[9fedd70f]204 <indexterm zone="ch-system-util-linux chrt">
[427015f]205 <primary sortas="b-chrt">chrt</primary>
206 </indexterm>
207 </listitem>
208 </varlistentry>
209
[3f8be484]210 <varlistentry id="col">
211 <term><command>col</command></term>
212 <listitem>
213 <para>Filters out reverse line feeds</para>
[9fedd70f]214 <indexterm zone="ch-system-util-linux col">
[3f8be484]215 <primary sortas="b-col">col</primary>
216 </indexterm>
217 </listitem>
218 </varlistentry>
219
220 <varlistentry id="colcrt">
221 <term><command>colcrt</command></term>
222 <listitem>
223 <para>Filters <command>nroff</command> output for terminals
224 that lack some capabilities, such as overstriking and half-lines</para>
[9fedd70f]225 <indexterm zone="ch-system-util-linux colcrt">
[3f8be484]226 <primary sortas="b-colcrt">colcrt</primary>
227 </indexterm>
228 </listitem>
229 </varlistentry>
230
231 <varlistentry id="colrm">
232 <term><command>colrm</command></term>
233 <listitem>
234 <para>Filters out the given columns</para>
[9fedd70f]235 <indexterm zone="ch-system-util-linux colrm">
[3f8be484]236 <primary sortas="b-colrm">colrm</primary>
237 </indexterm>
238 </listitem>
239 </varlistentry>
240
241 <varlistentry id="column">
242 <term><command>column</command></term>
243 <listitem>
244 <para>Formats a given file into multiple columns</para>
[9fedd70f]245 <indexterm zone="ch-system-util-linux column">
[3f8be484]246 <primary sortas="b-column">column</primary>
247 </indexterm>
248 </listitem>
249 </varlistentry>
250
251 <varlistentry id="ctrlaltdel">
252 <term><command>ctrlaltdel</command></term>
253 <listitem>
254 <para>Sets the function of the Ctrl+Alt+Del key combination to a
255 hard or a soft reset</para>
[9fedd70f]256 <indexterm zone="ch-system-util-linux ctrlaltdel">
[3f8be484]257 <primary sortas="b-ctrlaltdel">ctrlaltdel</primary>
258 </indexterm>
259 </listitem>
260 </varlistentry>
261
[9e8d8ae]262 <varlistentry id="delpart">
263 <term><command>delpart</command></term>
264 <listitem>
265 <para>Asks the kernel to remove a partition</para>
[9fedd70f]266 <indexterm zone="ch-system-util-linux delpart">
[9e8d8ae]267 <primary sortas="b-delpart">delpart</primary>
268 </indexterm>
269 </listitem>
270 </varlistentry>
271
[3f8be484]272 <varlistentry id="dmesg">
273 <term><command>dmesg</command></term>
274 <listitem>
275 <para>Dumps the kernel boot messages</para>
[9fedd70f]276 <indexterm zone="ch-system-util-linux dmesg">
[3f8be484]277 <primary sortas="b-dmesg">dmesg</primary>
278 </indexterm>
279 </listitem>
280 </varlistentry>
281
[d9ed6c3]282 <varlistentry id="eject">
283 <term><command>eject</command></term>
284 <listitem>
285 <para>Eject removable media</para>
286 <indexterm zone="ch-system-util-linux eject">
287 <primary sortas="b-dmesg">eject</primary>
288 </indexterm>
289 </listitem>
290 </varlistentry>
291
[ba0660c]292 <varlistentry id="fallocate">
293 <term><command>fallocate</command></term>
294 <listitem>
295 <para>Preallocates space to a file</para>
296 <indexterm zone="ch-system-util-linux fallocate">
297 <primary sortas="b-fallocate">fallocate</primary>
298 </indexterm>
299 </listitem>
300 </varlistentry>
301
[3f8be484]302 <varlistentry id="fdformat">
303 <term><command>fdformat</command></term>
304 <listitem>
305 <para>Low-level formats a floppy disk</para>
[9fedd70f]306 <indexterm zone="ch-system-util-linux fdformat">
[3f8be484]307 <primary sortas="b-fdformat">fdformat</primary>
308 </indexterm>
309 </listitem>
310 </varlistentry>
311
312 <varlistentry id="fdisk">
313 <term><command>fdisk</command></term>
314 <listitem>
315 <para>Manipulates the partition table of the given device</para>
[9fedd70f]316 <indexterm zone="ch-system-util-linux fdisk">
[3f8be484]317 <primary sortas="b-fdisk">fdisk</primary>
318 </indexterm>
319 </listitem>
320 </varlistentry>
321
[188b6b2]322 <varlistentry id="findfs">
323 <term><command>findfs</command></term>
324 <listitem>
325 <para>Finds a file system by label or Universally Unique Identifier
326 (UUID)</para>
[9fedd70f]327 <indexterm zone="ch-system-util-linux findfs">
[188b6b2]328 <primary sortas="b-findfs">findfs</primary>
329 </indexterm>
330 </listitem>
331 </varlistentry>
332
[ba0660c]333 <varlistentry id="findmnt">
334 <term><command>findmnt</command></term>
335 <listitem>
336 <para>Lists mounted filesystems or searches for a filesystem</para>
337 <indexterm zone="ch-system-util-linux findmnt">
338 <primary sortas="b-findmnt">findmnt</primary>
339 </indexterm>
340 </listitem>
341 </varlistentry>
342
[e29fb58]343 <varlistentry id="flock">
344 <term><command>flock</command></term>
345 <listitem>
346 <para>Acquires a file lock and then executes a command with the lock
347 held</para>
[9fedd70f]348 <indexterm zone="ch-system-util-linux flock">
[e29fb58]349 <primary sortas="b-flock">flock</primary>
350 </indexterm>
351 </listitem>
352 </varlistentry>
353
[bed3adf]354 <varlistentry id="fsck">
355 <term><command>fsck</command></term>
356 <listitem>
357 <para>Is used to check, and optionally repair, file systems</para>
[9fedd70f]358 <indexterm zone="ch-system-util-linux fsck">
[bed3adf]359 <primary sortas="b-fsck">fsck</primary>
360 </indexterm>
361 </listitem>
362 </varlistentry>
363
[3f8be484]364 <varlistentry id="fsck.cramfs">
365 <term><command>fsck.cramfs</command></term>
366 <listitem>
367 <para>Performs a consistency check on the Cramfs file system on the
368 given device</para>
[9fedd70f]369 <indexterm zone="ch-system-util-linux fsck.cramfs">
[3f8be484]370 <primary sortas="b-fsck.cramfs">fsck.cramfs</primary>
371 </indexterm>
372 </listitem>
373 </varlistentry>
374
375 <varlistentry id="fsck.minix">
376 <term><command>fsck.minix</command></term>
377 <listitem>
378 <para>Performs a consistency check on the Minix file system on the
379 given device</para>
[9fedd70f]380 <indexterm zone="ch-system-util-linux fsck.minix">
[3f8be484]381 <primary sortas="b-fsck.minix">fsck.minix</primary>
382 </indexterm>
383 </listitem>
384 </varlistentry>
385
[ba0660c]386 <varlistentry id="fsfreeze">
387 <term><command>fsfreeze</command></term>
388 <listitem>
389 <para>Suspends and resumes access to a filesystem</para>
390 <indexterm zone="ch-system-util-linux fsfreeze">
391 <primary sortas="b-fsfreeze">fsfreeze</primary>
392 </indexterm>
393 </listitem>
394 </varlistentry>
395
396 <varlistentry id="fstrim">
397 <term><command>fstrim</command></term>
398 <listitem>
399 <para>Discards unused blocks on a mounted filesystem</para>
[91b8781]400 <indexterm zone="ch-system-util-linux fstrim">
[ba0660c]401 <primary sortas="b-fstrim">fstrim</primary>
402 </indexterm>
403 </listitem>
404 </varlistentry>
405
[3f8be484]406 <varlistentry id="getopt">
407 <term><command>getopt</command></term>
408 <listitem>
409 <para>Parses options in the given command line</para>
[9fedd70f]410 <indexterm zone="ch-system-util-linux getopt">
[3f8be484]411 <primary sortas="b-getopt">getopt</primary>
412 </indexterm>
413 </listitem>
414 </varlistentry>
415
416 <varlistentry id="hexdump">
417 <term><command>hexdump</command></term>
418 <listitem>
419 <para>Dumps the given file in hexadecimal or in another given
420 format</para>
[9fedd70f]421 <indexterm zone="ch-system-util-linux hexdump">
[3f8be484]422 <primary sortas="b-hexdump">hexdump</primary>
423 </indexterm>
424 </listitem>
425 </varlistentry>
426
427 <varlistentry id="hwclock">
428 <term><command>hwclock</command></term>
429 <listitem>
430 <para>Reads or sets the system's hardware clock, also called
431 the Real-Time Clock (RTC) or Basic Input-Output System (BIOS)
432 clock</para>
[9fedd70f]433 <indexterm zone="ch-system-util-linux hwclock">
[3f8be484]434 <primary sortas="b-hwclock">hwclock</primary>
435 </indexterm>
436 </listitem>
437 </varlistentry>
438
[9e8d8ae]439 <varlistentry id="ionice">
440 <term><command>ionice</command></term>
441 <listitem>
442 <para>Gives and sets program I/O scheduling class and priority</para>
[9fedd70f]443 <indexterm zone="ch-system-util-linux ionice">
[9e8d8ae]444 <primary sortas="b-ionice">ionice</primary>
445 </indexterm>
446 </listitem>
447 </varlistentry>
448
[2cca6fd]449 <varlistentry id="ipcmk">
450 <term><command>ipcmk</command></term>
451 <listitem>
452 <para>Creates various IPC resources</para>
[9fedd70f]453 <indexterm zone="ch-system-util-linux ipcmk">
[2cca6fd]454 <primary sortas="b-ipcmk">ipcmk</primary>
455 </indexterm>
456 </listitem>
457 </varlistentry>
458
[188b6b2]459 <varlistentry id="ipcrm">
460 <term><command>ipcrm</command></term>
461 <listitem>
462 <para>Removes the given Inter-Process Communication (IPC) resource</para>
[9fedd70f]463 <indexterm zone="ch-system-util-linux ipcrm">
[188b6b2]464 <primary sortas="b-ipcrm">ipcrm</primary>
465 </indexterm>
466 </listitem>
467 </varlistentry>
468
[3f8be484]469 <varlistentry id="ipcs">
470 <term><command>ipcs</command></term>
471 <listitem>
472 <para>Provides IPC status information</para>
[9fedd70f]473 <indexterm zone="ch-system-util-linux ipcs">
[3f8be484]474 <primary sortas="b-ipcs">ipcs</primary>
475 </indexterm>
476 </listitem>
477 </varlistentry>
478
479 <varlistentry id="isosize">
480 <term><command>isosize</command></term>
481 <listitem>
482 <para>Reports the size of an iso9660 file system</para>
[9fedd70f]483 <indexterm zone="ch-system-util-linux isosize">
[3f8be484]484 <primary sortas="b-isosize">isosize</primary>
485 </indexterm>
486 </listitem>
487 </varlistentry>
[5cc122c4]488
[748aac4]489 <varlistentry id="kill">
490 <term><command>kill</command></term>
[5cc122c4]491 <listitem>
[748aac4]492 <para>Send a signal to a process</para>
493 <indexterm zone="ch-system-util-linux kill">
494 <primary sortas="b-kill">kill</primary>
495 </indexterm>
496 </listitem>
497 </varlistentry>
498
[86e0296]499 <varlistentry id="last">
500 <term><command>last</command></term>
501 <listitem>
502 <para>Shows which users last logged in (and out), searching back
503 through the <filename>/var/log/wtmp</filename> file; it also shows
504 system boots, shutdowns, and run-level changes</para>
505 <indexterm zone="ch-system-util-linux last">
506 <primary sortas="b-last">last</primary>
507 </indexterm>
508 </listitem>
509 </varlistentry>
510
511 <varlistentry id="lastb">
512 <term><command>lastb</command></term>
513 <listitem>
514 <para>Shows the failed login attempts, as logged in
515 <filename>/var/log/btmp</filename></para>
516 <indexterm zone="ch-system-util-linux lastb">
517 <primary sortas="b-lastb">lastb</primary>
[5cc122c4]518 </indexterm>
519 </listitem>
520 </varlistentry>
[3f8be484]521
[5cc122c4]522 <varlistentry id="ldattach">
523 <term><command>ldattach</command></term>
[3f8be484]524 <listitem>
[5cc122c4]525 <para>Attaches a line discipline to a serial line</para>
[9fedd70f]526 <indexterm zone="ch-system-util-linux ldattach">
[5cc122c4]527 <primary sortas="b-ldattach">ldattach</primary>
[3f8be484]528 </indexterm>
529 </listitem>
530 </varlistentry>
531
532 <varlistentry id="logger">
533 <term><command>logger</command></term>
534 <listitem>
535 <para>Enters the given message into the system log</para>
[9fedd70f]536 <indexterm zone="ch-system-util-linux logger">
[3f8be484]537 <primary sortas="b-logger">logger</primary>
538 </indexterm>
539 </listitem>
540 </varlistentry>
541
542 <varlistentry id="look">
543 <term><command>look</command></term>
544 <listitem>
545 <para>Displays lines that begin with the given string</para>
[9fedd70f]546 <indexterm zone="ch-system-util-linux look">
[3f8be484]547 <primary sortas="b-look">look</primary>
548 </indexterm>
549 </listitem>
550 </varlistentry>
551
552 <varlistentry id="losetup">
553 <term><command>losetup</command></term>
554 <listitem>
555 <para>Sets up and controls loop devices</para>
[9fedd70f]556 <indexterm zone="ch-system-util-linux losetup">
[3f8be484]557 <primary sortas="b-losetup">losetup</primary>
558 </indexterm>
559 </listitem>
560 </varlistentry>
561
[ba0660c]562 <varlistentry id="lsblk">
563 <term><command>lsblk</command></term>
564 <listitem>
565 <para>Prints information about block devices</para>
566 <indexterm zone="ch-system-util-linux lsblk">
567 <primary sortas="b-lsblk">lsblk</primary>
568 </indexterm>
569 </listitem>
570 </varlistentry>
571
[2cca6fd]572 <varlistentry id="lscpu">
573 <term><command>lscpu</command></term>
574 <listitem>
[fe8dce3]575 <para>Prints CPU architecture information</para>
[9fedd70f]576 <indexterm zone="ch-system-util-linux lscpu">
[2cca6fd]577 <primary sortas="b-lscpu">lscpu</primary>
578 </indexterm>
579 </listitem>
580 </varlistentry>
581
[2b220db9]582 <varlistentry id="lslocks">
583 <term><command>lslocks</command></term>
584 <listitem>
585 <para>Lists local system locks</para>
586 <indexterm zone="ch-system-util-linux lslocks">
587 <primary sortas="b-lslocks">lslocks</primary>
588 </indexterm>
589 </listitem>
590 </varlistentry>
591
[3f8be484]592 <varlistentry id="mcookie">
593 <term><command>mcookie</command></term>
594 <listitem>
595 <para>Generates magic cookies (128-bit random hexadecimal numbers) for
596 <command>xauth</command></para>
[9fedd70f]597 <indexterm zone="ch-system-util-linux mcookie">
[3f8be484]598 <primary sortas="b-mcookie">mcookie</primary>
599 </indexterm>
600 </listitem>
601 </varlistentry>
602
[86e0296]603 <varlistentry id="mesg">
604 <term><command>mesg</command></term>
605 <listitem>
606 <para>Controls whether other users can send messages to the current
607 user's terminal</para>
608 <indexterm zone="ch-system-util-linux mesg">
609 <primary sortas="b-mesg">mesg</primary>
610 </indexterm>
611 </listitem>
612 </varlistentry>
613
[3f8be484]614 <varlistentry id="mkfs">
615 <term><command>mkfs</command></term>
616 <listitem>
617 <para>Builds a file system on a device (usually a hard disk
618 partition)</para>
[9fedd70f]619 <indexterm zone="ch-system-util-linux mkfs">
[3f8be484]620 <primary sortas="b-mkfs">mkfs</primary>
621 </indexterm>
622 </listitem>
623 </varlistentry>
624
625 <varlistentry id="mkfs.bfs">
626 <term><command>mkfs.bfs</command></term>
627 <listitem>
628 <para>Creates a Santa Cruz Operations (SCO) bfs file system</para>
[9fedd70f]629 <indexterm zone="ch-system-util-linux mkfs.bfs">
[3f8be484]630 <primary sortas="b-mkfs.bfs">mkfs.bfs</primary>
631 </indexterm>
632 </listitem>
633 </varlistentry>
634
635 <varlistentry id="mkfs.cramfs">
636 <term><command>mkfs.cramfs</command></term>
637 <listitem>
638 <para>Creates a cramfs file system</para>
[9fedd70f]639 <indexterm zone="ch-system-util-linux mkfs.cramfs">
[3f8be484]640 <primary sortas="b-mkfs.cramfs">mkfs.cramfs</primary>
641 </indexterm>
642 </listitem>
643 </varlistentry>
644
645 <varlistentry id="mkfs.minix">
646 <term><command>mkfs.minix</command></term>
647 <listitem>
648 <para>Creates a Minix file system</para>
[9fedd70f]649 <indexterm zone="ch-system-util-linux mkfs.minix">
[3f8be484]650 <primary sortas="b-mkfs.minix">mkfs.minix</primary>
651 </indexterm>
652 </listitem>
653 </varlistentry>
654
655 <varlistentry id="mkswap">
656 <term><command>mkswap</command></term>
657 <listitem>
658 <para>Initializes the given device or file to be used as a swap
659 area</para>
[9fedd70f]660 <indexterm zone="ch-system-util-linux mkswap">
[3f8be484]661 <primary sortas="b-mkswap">mkswap</primary>
662 </indexterm>
663 </listitem>
664 </varlistentry>
665
666 <varlistentry id="more">
667 <term><command>more</command></term>
668 <listitem>
669 <para>A filter for paging through text one screen at a time</para>
[9fedd70f]670 <indexterm zone="ch-system-util-linux more">
[3f8be484]671 <primary sortas="b-more">more</primary>
672 </indexterm>
673 </listitem>
674 </varlistentry>
675
676 <varlistentry id="mount">
677 <term><command>mount</command></term>
678 <listitem>
679 <para>Attaches the file system on the given device to a specified
680 directory in the file-system tree</para>
[9fedd70f]681 <indexterm zone="ch-system-util-linux mount">
[3f8be484]682 <primary sortas="b-mount">mount</primary>
683 </indexterm>
684 </listitem>
685 </varlistentry>
686
[8724dd0]687 <varlistentry id="mountpoint">
688 <term><command>mountpoint</command></term>
689 <listitem>
690 <para>Tells you whether or not a directory is a mount point.</para>
691 <indexterm zone="ch-system-util-linux mountpoint">
692 <primary sortas="b-mountpoint">mountpoint</primary>
693 </indexterm>
694 </listitem>
695 </varlistentry>
696
[3f8be484]697 <varlistentry id="namei">
698 <term><command>namei</command></term>
699 <listitem>
700 <para>Shows the symbolic links in the given pathnames</para>
[9fedd70f]701 <indexterm zone="ch-system-util-linux namei">
[3f8be484]702 <primary sortas="b-namei">namei</primary>
703 </indexterm>
704 </listitem>
705 </varlistentry>
706
[0a6ea84]707 <varlistentry id="nologin">
708 <term><command>nologin</command></term>
709 <listitem>
710 <para>Displays a message that an account is not available. Designed
711 to be used as the default shell for accounts that have been
712 disabled</para>
713 <indexterm zone="ch-system-util-linux nologin">
714 <primary sortas="b-nologin">nologin</primary>
715 </indexterm>
716 </listitem>
717 </varlistentry>
718
[59d58ea]719 <varlistentry id="nsenter">
720 <term><command>nsenter</command></term>
721 <listitem>
722 <para>Runs a program with namespaces of other processes</para>
723 <indexterm zone="ch-system-util-linux nsenter">
724 <primary sortas="b-nsenter">nsenter</primary>
725 </indexterm>
726 </listitem>
727 </varlistentry>
728
[9e8d8ae]729 <varlistentry id="partx">
730 <term><command>partx</command></term>
731 <listitem>
732 <para>Tells the kernel about the presence and numbering of on-disk
733 partitions</para>
[9fedd70f]734 <indexterm zone="ch-system-util-linux partx">
[9e8d8ae]735 <primary sortas="b-partx">partx</primary>
736 </indexterm>
737 </listitem>
738 </varlistentry>
739
[3f8be484]740 <varlistentry id="pg">
741 <term><command>pg</command></term>
742 <listitem>
743 <para>Displays a text file one screen full at a time</para>
[9fedd70f]744 <indexterm zone="ch-system-util-linux pg">
[3f8be484]745 <primary sortas="b-pg">pg</primary>
746 </indexterm>
747 </listitem>
748 </varlistentry>
749
750 <varlistentry id="pivot_root">
751 <term><command>pivot_root</command></term>
752 <listitem>
753 <para>Makes the given file system the new root file system of the
754 current process</para>
[9fedd70f]755 <indexterm zone="ch-system-util-linux pivot_root">
[3f8be484]756 <primary sortas="b-pivot_root">pivot_root</primary>
757 </indexterm>
758 </listitem>
759 </varlistentry>
760
[2b220db9]761 <varlistentry id="prlimit">
762 <term><command>prlimit</command></term>
763 <listitem>
764 <para>Gets and sets a process' resource limits</para>
765 <indexterm zone="ch-system-util-linux prlimit">
766 <primary sortas="b-prlimit">prlimit</primary>
767 </indexterm>
768 </listitem>
769 </varlistentry>
770
771 <varlistentry id="raw">
772 <term><command>raw</command></term>
773 <listitem>
774 <para>Binds a Linux raw character device to a block device</para>
775 <indexterm zone="ch-system-util-linux raw">
776 <primary sortas="b-raw">raw</primary>
777 </indexterm>
778 </listitem>
779 </varlistentry>
780
[3f8be484]781 <varlistentry id="readprofile">
782 <term><command>readprofile</command></term>
783 <listitem>
784 <para>Reads kernel profiling information</para>
[9fedd70f]785 <indexterm zone="ch-system-util-linux readprofile">
[3f8be484]786 <primary sortas="b-readprofile">readprofile</primary>
787 </indexterm>
788 </listitem>
789 </varlistentry>
790
791 <varlistentry id="rename">
792 <term><command>rename</command></term>
793 <listitem>
794 <para>Renames the given files, replacing a given string with
795 another</para>
[9fedd70f]796 <indexterm zone="ch-system-util-linux rename">
[3f8be484]797 <primary sortas="b-rename">rename</primary>
798 </indexterm>
799 </listitem>
800 </varlistentry>
801
802 <varlistentry id="renice">
803 <term><command>renice</command></term>
804 <listitem>
805 <para>Alters the priority of running processes</para>
[9fedd70f]806 <indexterm zone="ch-system-util-linux renice">
[3f8be484]807 <primary sortas="b-renice">renice</primary>
808 </indexterm>
809 </listitem>
810 </varlistentry>
811
[2b220db9]812 <varlistentry id="resizepart">
813 <term><command>resizepart</command></term>
814 <listitem>
815 <para>Asks the Linux kernel to resize a partition</para>
816 <indexterm zone="ch-system-util-linux resizepart">
817 <primary sortas="b-resizepart">resizepart</primary>
818 </indexterm>
819 </listitem>
820 </varlistentry>
821
[3f8be484]822 <varlistentry id="rev">
823 <term><command>rev</command></term>
824 <listitem>
825 <para>Reverses the lines of a given file</para>
[9fedd70f]826 <indexterm zone="ch-system-util-linux rev">
[3f8be484]827 <primary sortas="b-rev">rev</primary>
828 </indexterm>
829 </listitem>
830 </varlistentry>
831
[9e8d8ae]832 <varlistentry id="rtcwake">
833 <term><command>rtcwake</command></term>
834 <listitem>
835 <para>Enters a system sleep state until a specified wakeup time</para>
[9fedd70f]836 <indexterm zone="ch-system-util-linux rtcwake">
[9e8d8ae]837 <primary sortas="b-rtcwake">rtcwake</primary>
838 </indexterm>
839 </listitem>
840 </varlistentry>
841
[3f8be484]842 <varlistentry id="script">
843 <term><command>script</command></term>
844 <listitem>
845 <para>Makes a typescript of a terminal session</para>
[9fedd70f]846 <indexterm zone="ch-system-util-linux script">
[3f8be484]847 <primary sortas="b-script">script</primary>
848 </indexterm>
849 </listitem>
850 </varlistentry>
851
[9e8d8ae]852 <varlistentry id="scriptreplay">
853 <term><command>scriptreplay</command></term>
854 <listitem>
855 <para>Plays back typescripts created by <command>script</command></para>
[9fedd70f]856 <indexterm zone="ch-system-util-linux scriptreplay">
[9e8d8ae]857 <primary sortas="b-scriptreplay">scriptreplay</primary>
858 </indexterm>
859 </listitem>
860 </varlistentry>
861
862 <varlistentry id="setarch">
863 <term><command>setarch</command></term>
864 <listitem>
865 <para>Changes reported architecture in new program environment and
866 sets personality flags</para>
[9fedd70f]867 <indexterm zone="ch-system-util-linux setarch">
[9e8d8ae]868 <primary sortas="b-setarch">setarch</primary>
869 </indexterm>
870 </listitem>
871 </varlistentry>
872
[3f8be484]873 <varlistentry id="setsid">
874 <term><command>setsid</command></term>
875 <listitem>
876 <para>Runs the given program in a new session</para>
[9fedd70f]877 <indexterm zone="ch-system-util-linux setsid">
[3f8be484]878 <primary sortas="b-setsid">setsid</primary>
879 </indexterm>
880 </listitem>
881 </varlistentry>
882
883 <varlistentry id="setterm">
884 <term><command>setterm</command></term>
885 <listitem>
886 <para>Sets terminal attributes</para>
[9fedd70f]887 <indexterm zone="ch-system-util-linux setterm">
[3f8be484]888 <primary sortas="b-setterm">setterm</primary>
889 </indexterm>
890 </listitem>
891 </varlistentry>
892
893 <varlistentry id="sfdisk">
894 <term><command>sfdisk</command></term>
895 <listitem>
896 <para>A disk partition table manipulator</para>
[9fedd70f]897 <indexterm zone="ch-system-util-linux sfdisk">
[3f8be484]898 <primary sortas="b-sfdisk">sfdisk</primary>
899 </indexterm>
900 </listitem>
901 </varlistentry>
902
[996b49f5]903 <varlistentry id="sulogin">
904 <term><command>sulogin</command></term>
905 <listitem>
906 <para>Allows <emphasis>root</emphasis> to log in; it is normally
907 invoked by <command>init</command> when the system goes into single
908 user mode</para>
909 <indexterm zone="ch-system-util-linux sulogin">
910 <primary sortas="b-sulogin">sulogin</primary>
911 </indexterm>
912 </listitem>
913 </varlistentry>
914
[ba0660c]915 <varlistentry id="swaplabel">
916 <term><command>swaplabel</command></term>
917 <listitem>
918 <para>Prints or changes the label or UUID of a swap area</para>
919 <indexterm zone="ch-system-util-linux swaplabel">
920 <primary sortas="b-swaplabel">swaplabel</primary>
921 </indexterm>
922 </listitem>
923 </varlistentry>
924
[3f8be484]925 <varlistentry id="swapoff">
926 <term><command>swapoff</command></term>
927 <listitem>
928 <para>Disables devices and files for paging and swapping</para>
[9fedd70f]929 <indexterm zone="ch-system-util-linux swapoff">
[3f8be484]930 <primary sortas="b-swapoff">swapoff</primary>
931 </indexterm>
932 </listitem>
933 </varlistentry>
934
935 <varlistentry id="swapon">
936 <term><command>swapon</command></term>
937 <listitem>
938 <para>Enables devices and files for paging and swapping and
939 lists the devices and files currently in use</para>
[9fedd70f]940 <indexterm zone="ch-system-util-linux swapon">
[3f8be484]941 <primary sortas="b-swapon">swapon</primary>
942 </indexterm>
943 </listitem>
944 </varlistentry>
945
[188b6b2]946 <varlistentry id="switch_root">
947 <term><command>switch_root</command></term>
948 <listitem>
949 <para>Switches to another filesystem as the root of the mount tree</para>
[9fedd70f]950 <indexterm zone="ch-system-util-linux switch_root">
[188b6b2]951 <primary sortas="b-switch_root">switch_root</primary>
952 </indexterm>
953 </listitem>
954 </varlistentry>
955
[e29fb58]956 <varlistentry id="tailf">
957 <term><command>tailf</command></term>
958 <listitem>
959 <para>Tracks the growth of a log file. Displays the last 10 lines
960 of a log file, then continues displaying any new entries in the
961 log file as they are created</para>
[9fedd70f]962 <indexterm zone="ch-system-util-linux tailf">
[e29fb58]963 <primary sortas="b-tailf">tailf</primary>
964 </indexterm>
965 </listitem>
966 </varlistentry>
967
[9e8d8ae]968 <varlistentry id="taskset">
969 <term><command>taskset</command></term>
970 <listitem>
971 <para>Retrieves or sets a process's CPU affinity</para>
[9fedd70f]972 <indexterm zone="ch-system-util-linux taskset">
[9e8d8ae]973 <primary sortas="b-taskset">taskset</primary>
974 </indexterm>
975 </listitem>
976 </varlistentry>
977
[3f8be484]978 <varlistentry id="ul">
979 <term><command>ul</command></term>
980 <listitem>
981 <para>A filter for translating underscores into escape sequences
982 indicating underlining for the terminal in use</para>
[9fedd70f]983 <indexterm zone="ch-system-util-linux ul">
[3f8be484]984 <primary sortas="b-ul">ul</primary>
985 </indexterm>
986 </listitem>
987 </varlistentry>
988
989 <varlistentry id="umount">
990 <term><command>umount</command></term>
991 <listitem>
992 <para>Disconnects a file system from the system's file tree</para>
[9fedd70f]993 <indexterm zone="ch-system-util-linux umount">
[3f8be484]994 <primary sortas="b-umount">umount</primary>
995 </indexterm>
996 </listitem>
997 </varlistentry>
998
[ba0660c]999 <varlistentry id="unshare">
1000 <term><command>unshare</command></term>
1001 <listitem>
1002 <para>Runs a program with some namespaces unshared from parent</para>
1003 <indexterm zone="ch-system-util-linux unshare">
1004 <primary sortas="b-unshare">unshare</primary>
1005 </indexterm>
1006 </listitem>
1007 </varlistentry>
1008
[2d594b1]1009 <varlistentry id="utmpdump">
1010 <term><command>utmpdump</command></term>
1011 <listitem>
1012 <para>Displays the content of the given login file in a more
1013 user-friendly format</para>
1014 <indexterm zone="ch-system-util-linux utmpdump">
1015 <primary sortas="b-utmpdump">utmpdump</primary>
1016 </indexterm>
1017 </listitem>
1018 </varlistentry>
1019
[188b6b2]1020 <varlistentry id="uuidd">
1021 <term><command>uuidd</command></term>
1022 <listitem>
1023 <para>A daemon used by the UUID library to generate time-based
1024 UUIDs in a secure and guranteed-unique fashion.</para>
[9fedd70f]1025 <indexterm zone="ch-system-util-linux uuidd">
[188b6b2]1026 <primary sortas="b-uuidd">uuidd</primary>
1027 </indexterm>
1028 </listitem>
1029 </varlistentry>
1030
1031 <varlistentry id="uuidgen">
1032 <term><command>uuidgen</command></term>
1033 <listitem>
1034 <para>Creates new UUIDs. Each new UUID can reasonably be considered
1035 unique among all UUIDs created, on the local system and on other
1036 systems, in the past and in the future</para>
[9fedd70f]1037 <indexterm zone="ch-system-util-linux uuidgen">
[188b6b2]1038 <primary sortas="b-uuidgen">uuidgen</primary>
1039 </indexterm>
1040 </listitem>
1041 </varlistentry>
1042
[5a6ba9e]1043 <varlistentry id="wall">
1044 <term><command>wall</command></term>
1045 <listitem>
1046 <para>Writes a message to all logged-in users</para>
1047 <indexterm zone="ch-system-util-linux wall">
1048 <primary sortas="b-wall">wall</primary>
1049 </indexterm>
1050 </listitem>
1051 </varlistentry>
1052
[a318e22]1053 <varlistentry id="wdctl">
1054 <term><command>wdctl</command></term>
1055 <listitem>
1056 <para>Show hardware watchdog status</para>
1057 <indexterm zone="ch-system-util-linux wdctl">
1058 <primary sortas="b-uuidgen">wdctl</primary>
1059 </indexterm>
1060 </listitem>
1061 </varlistentry>
1062
[3f8be484]1063 <varlistentry id="whereis">
1064 <term><command>whereis</command></term>
1065 <listitem>
1066 <para>Reports the location of the binary, source, and man page
1067 for the given command</para>
[9fedd70f]1068 <indexterm zone="ch-system-util-linux whereis">
[3f8be484]1069 <primary sortas="b-whereis">whereis</primary>
1070 </indexterm>
1071 </listitem>
1072 </varlistentry>
1073
[ba0660c]1074 <varlistentry id="wipefs">
1075 <term><command>wipefs</command></term>
1076 <listitem>
1077 <para>Wipes a filesystem signature from a device</para>
1078 <indexterm zone="ch-system-util-linux wipefs">
1079 <primary sortas="b-wipefs">wipefs</primary>
1080 </indexterm>
1081 </listitem>
1082 </varlistentry>
1083
[3f8be484]1084 <varlistentry id="write">
1085 <term><command>write</command></term>
1086 <listitem>
1087 <para>Sends a message to the given user <emphasis>if</emphasis> that
1088 user has not disabled receipt of such messages</para>
[9fedd70f]1089 <indexterm zone="ch-system-util-linux write">
[3f8be484]1090 <primary sortas="b-write">write</primary>
1091 </indexterm>
1092 </listitem>
1093 </varlistentry>
1094
[98c59fa]1095 <varlistentry id="libblkid">
1096 <term><filename class="libraryfile">libblkid</filename></term>
1097 <listitem>
1098 <para>Contains routines for device identification and token
1099 extraction</para>
[9fedd70f]1100 <indexterm zone="ch-system-util-linux libblkid">
[98c59fa]1101 <primary sortas="c-libblkid">libblkid</primary>
1102 </indexterm>
1103 </listitem>
1104 </varlistentry>
1105
[ba0660c]1106 <varlistentry id="libmount">
1107 <term><filename class="libraryfile">libmount</filename></term>
1108 <listitem>
1109 <para>Contains routines for parsing the
1110 <filename>/etc/fstab</filename>, <filename>/etc/mtab</filename>,
1111 and <filename>/proc/self/mountinfo</filename> files, managing
1112 <filename>/etc/mtab</filename>, and configuring various mount
1113 options</para>
1114 <indexterm zone="ch-system-util-linux libmount">
1115 <primary sortas="c-libmount">libmount</primary>
1116 </indexterm>
1117 </listitem>
1118 </varlistentry>
1119
[98c59fa]1120 <varlistentry id="libuuid">
1121 <term><filename class="libraryfile">libuuid</filename></term>
1122 <listitem>
1123 <para>Contains routines for generating unique identifiers for objects
1124 that may be accessible beyond the local system</para>
[9fedd70f]1125 <indexterm zone="ch-system-util-linux libuuid">
[98c59fa]1126 <primary sortas="c-libuuid">libuuid</primary>
1127 </indexterm>
1128 </listitem>
1129 </varlistentry>
1130
[3f8be484]1131 </variablelist>
1132
1133 </sect2>
1134
1135</sect1>
Note: See TracBrowser for help on using the repository browser.