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

clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 6fdd10c was ddecf9d, checked in by Chris Staub <chris@…>, 12 years ago

Util-linux now installs partx by default

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