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

clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 1ded6e3 was d5e3c64, checked in by William Harrington <kb0iic@…>, 12 years ago

Edit util-linux test suite information.

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