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

sysvinit
Last change on this file since 8fb65a0 was b27081c4, checked in by Chris Staub <chris@…>, 9 years ago

Put one configure option per line

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