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

sysvinit
Last change on this file since 99b703e was 7952f3b, checked in by William Harrington <kb0iic@…>, 10 years ago

Remove note about building util-linux for findmnt and lsblk. Util-linux is built twice.

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