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

clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since de4abd5 was 91b8781, checked in by Chris Staub <chris@…>, 13 years ago

Fix typo

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