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

sysvinit
Last change on this file since 594c531 was a72db74, checked in by William Harrington <kb0iic@…>, 8 years ago

Shadow nologin should be installed and any remnants of Util-linux nologin should be removed. It is done.

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