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

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since bd60f9e was 53f8fe0, checked in by William Harrington <kb0iic@…>, 11 years ago

Move shadow before util linux and adjust util-linux check commands for successful test suite coverage as non root.

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