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

clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 07983c4 was 31aa6cb, checked in by Chris Staub <chris@…>, 12 years ago

Made sure wall is actually installed, and updated command explanation for util-linux

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