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

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

Edit hwclock sed for util-linux.

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