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

clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 5ca6d3b was 0b15a95, checked in by William Harrington <kb0iic@…>, 11 years ago

Remove arch from Util-linux installed programs and short descriptions.

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