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

clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 48cfbab was 3587c64, checked in by William Harrington <kb0iic@…>, 11 years ago

Remove --enable-arch from final-system Util-Linux.

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