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

systemd
Last change on this file since 09edabc was c831ac4, checked in by William Harrington <kb0iic@…>, 8 years ago

Update Util-Linux to 2.29.2 and adjust configure commands for final system. Add a needed sed command for temp system.

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