source: chapter08/util-linux.xml@ dc5635a

xry111/usr-move
Last change on this file since dc5635a was dc5635a, checked in by Xi Ruoyao <xry111@…>, 21 months ago

usr-move: another batch of configure switches cleanup

  • Property mode set to 100644
File size: 45.6 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 <sect1info condition="script">
12 <productname>util-linux</productname>
13 <productnumber>&util-linux-version;</productnumber>
14 <address>&util-linux-url;</address>
15 </sect1info>
16
17 <title>Util-linux-&util-linux-version;</title>
18
19 <indexterm zone="ch-system-util-linux">
20 <primary sortas="a-Util-linux">Util-linux</primary>
21 </indexterm>
22
23 <sect2 role="package">
24 <title/>
25
26 <para>The Util-linux package contains miscellaneous utility programs.
27 Among them are utilities for handling file systems, consoles, partitions,
28 and messages.</para>
29
30 <segmentedlist>
31 <segtitle>&buildtime;</segtitle>
32 <segtitle>&diskspace;</segtitle>
33
34 <seglistitem>
35 <seg>&util-linux-fin-sbu;</seg>
36 <seg>&util-linux-fin-du;</seg>
37 </seglistitem>
38 </segmentedlist>
39
40 </sect2>
41
42 <sect2 role="installation">
43 <title>Installation of Util-linux</title>
44
45 <para>Prepare Util-linux for compilation:</para>
46
47<screen revision="sysv"><userinput remap="configure">./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \
48 --libdir=/usr/lib \
49 --docdir=/usr/share/doc/util-linux-&util-linux-version; \
50 --disable-chfn-chsh \
51 --disable-login \
52 --disable-nologin \
53 --disable-su \
54 --disable-setpriv \
55 --disable-runuser \
56 --disable-pylibmount \
57 --disable-static \
58 --without-python \
59 --without-systemd \
60 --without-systemdsystemunitdir \
61 runstatedir=/run</userinput></screen>
62
63<screen revision="systemd"><userinput remap="configure">./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \
64 --libdir=/usr/lib \
65 --docdir=/usr/share/doc/util-linux-&util-linux-version; \
66 --disable-chfn-chsh \
67 --disable-login \
68 --disable-nologin \
69 --disable-su \
70 --disable-setpriv \
71 --disable-runuser \
72 --disable-pylibmount \
73 --disable-static \
74 --without-python \
75 runstatedir=/run</userinput></screen>
76
77 <para>The --disable and --without options prevent warnings about
78 building components that require packages not in LFS or are
79 inconsistent with programs installed by other packages.</para>
80
81 <para>Compile the package:</para>
82
83<screen><userinput remap="make">make</userinput></screen>
84
85 <para>If desired, run the test suite as a non-root user:</para>
86
87 <warning><para>Running the test suite as the
88 <systemitem class="username">root</systemitem> user can be harmful to
89 your system. To run it, the CONFIG_SCSI_DEBUG option for the kernel must
90 be available in the currently running system and must be built as a
91 module. Building it into the kernel will prevent booting. For complete
92 coverage, other BLFS packages must be installed. If desired, this test can
93 be run after rebooting into the completed LFS system and running:</para>
94
95<screen role="nodump"><userinput>bash tests/run.sh --srcdir=$PWD --builddir=$PWD</userinput></screen>
96 </warning>
97
98<screen><userinput remap="test">chown -Rv tester .
99su tester -c "make -k check"</userinput></screen>
100
101 <para>Install the package:</para>
102
103<screen><userinput remap="install">make install</userinput></screen>
104
105 </sect2>
106
107 <sect2 id="contents-utillinux" role="content">
108 <title>Contents of Util-linux</title>
109
110 <segmentedlist>
111 <segtitle>Installed programs</segtitle>
112 <segtitle>Installed libraries</segtitle>
113 <segtitle>Installed directories</segtitle>
114
115 <seglistitem>
116 <seg>addpart, agetty, blkdiscard, blkid, blkzone, blockdev, cal, cfdisk, chcpu,
117 chmem, choom, chrt, col, colcrt, colrm, column, ctrlaltdel, delpart, dmesg,
118 eject, fallocate, fdformat, fdisk, fincore, findfs, findmnt, flock, fsck,
119 fsck.cramfs, fsck.minix, fsfreeze, fstrim, getopt, hexdump, hwclock,
120 i386, ionice, ipcmk, ipcrm, ipcs, isosize, kill, last, lastb (link to
121 last), ldattach, linux32, linux64, logger, look, losetup, lsblk, lscpu,
122 lsipc, lslocks, lslogins, lsmem, lsns, mcookie, mesg, mkfs, mkfs.bfs, mkfs.cramfs, mkfs.minix, mkswap,
123 more, mount, mountpoint, namei, nsenter, partx, pivot_root, prlimit, raw,
124 readprofile, rename, renice, resizepart, rev, rfkill, rtcwake, script,
125 scriptreplay, setarch, setsid, setterm, sfdisk, sulogin, swaplabel,
126 swapoff (link to swapon), swapon, switch_root, taskset, ul,
127 umount, uname26, unshare, utmpdump, uuidd, uuidgen, uuidparse, wall, wdctl, whereis,
128 wipefs, x86_64, and zramctl</seg>
129 <seg>libblkid.so, libfdisk.so, libmount.so,
130 libsmartcols.so, and libuuid.so</seg>
131 <seg>/usr/include/blkid,
132 /usr/include/libfdisk,
133 /usr/include/libmount,
134 /usr/include/libsmartcols,
135 /usr/include/uuid,
136 /usr/share/doc/util-linux-&util-linux-version;,
137 and /var/lib/hwclock</seg>
138 </seglistitem>
139 </segmentedlist>
140
141 <variablelist>
142 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
143 <?dbfo list-presentation="list"?>
144 <?dbhtml list-presentation="table"?>
145
146 <varlistentry id="addpart">
147 <term><command>addpart</command></term>
148 <listitem>
149 <para>Informs the Linux kernel of new partitions</para>
150 <indexterm zone="ch-system-util-linux addpart">
151 <primary sortas="b-addpart">addpart</primary>
152 </indexterm>
153 </listitem>
154 </varlistentry>
155
156 <varlistentry id="agetty">
157 <term><command>agetty</command></term>
158 <listitem>
159 <para>Opens a tty port, prompts for a login name,
160 and then invokes the <command>login</command> program</para>
161 <indexterm zone="ch-system-util-linux agetty">
162 <primary sortas="b-agetty">agetty</primary>
163 </indexterm>
164 </listitem>
165 </varlistentry>
166
167 <varlistentry id="blkdiscard">
168 <term><command>blkdiscard</command></term>
169 <listitem>
170 <para>Discards sectors on a device</para>
171 <indexterm zone="ch-system-util-linux blkdiscard">
172 <primary sortas="b-blkdiscard">blkdiscard</primary>
173 </indexterm>
174 </listitem>
175 </varlistentry>
176
177 <varlistentry id="blkid">
178 <term><command>blkid</command></term>
179 <listitem>
180 <para>A command line utility to locate and print block device
181 attributes</para>
182 <indexterm zone="ch-system-util-linux blkid">
183 <primary sortas="b-blkid">blkid</primary>
184 </indexterm>
185 </listitem>
186 </varlistentry>
187
188 <varlistentry id="blkzone">
189 <term><command>blkzone</command></term>
190 <listitem>
191 <para>Runs zone command on the given block device</para>
192 <indexterm zone="ch-system-util-linux blkzone">
193 <primary sortas="b-blkzone">blkzone</primary>
194 </indexterm>
195 </listitem>
196 </varlistentry>
197
198 <varlistentry id="blockdev">
199 <term><command>blockdev</command></term>
200 <listitem>
201 <para>Allows users to call block device ioctls from the command
202 line</para>
203 <indexterm zone="ch-system-util-linux blockdev">
204 <primary sortas="b-blockdev">blockdev</primary>
205 </indexterm>
206 </listitem>
207 </varlistentry>
208
209 <varlistentry id="cal">
210 <term><command>cal</command></term>
211 <listitem>
212 <para>Displays a simple calendar</para>
213 <indexterm zone="ch-system-util-linux cal">
214 <primary sortas="b-cal">cal</primary>
215 </indexterm>
216 </listitem>
217 </varlistentry>
218
219 <varlistentry id="cfdisk">
220 <term><command>cfdisk</command></term>
221 <listitem>
222 <para>Manipulates the partition table of the given device</para>
223 <indexterm zone="ch-system-util-linux cfdisk">
224 <primary sortas="b-cfdisk">cfdisk</primary>
225 </indexterm>
226 </listitem>
227 </varlistentry>
228
229 <varlistentry id="chcpu">
230 <term><command>chcpu</command></term>
231 <listitem>
232 <para>Modifies the state of CPUs</para>
233 <indexterm zone="ch-system-util-linux chcpu">
234 <primary sortas="b-chcpu">chcpu</primary>
235 </indexterm>
236 </listitem>
237 </varlistentry>
238
239 <varlistentry id="chmem">
240 <term><command>chmem</command></term>
241 <listitem>
242 <para>Configures memory</para>
243 <indexterm zone="ch-system-util-linux chmem">
244 <primary sortas="b-chmem">chmem</primary>
245 </indexterm>
246 </listitem>
247 </varlistentry>
248
249 <varlistentry id="choom">
250 <term><command>choom</command></term>
251 <listitem>
252 <para>Displays and adjusts OOM-killer score</para>
253 <indexterm zone="ch-system-util-linux choom">
254 <primary sortas="b-choom">choom</primary>
255 </indexterm>
256 </listitem>
257 </varlistentry>
258
259 <varlistentry id="chrt">
260 <term><command>chrt</command></term>
261 <listitem>
262 <para>Manipulates real-time attributes of a process</para>
263 <indexterm zone="ch-system-util-linux chrt">
264 <primary sortas="b-chrt">chrt</primary>
265 </indexterm>
266 </listitem>
267 </varlistentry>
268
269 <varlistentry id="col">
270 <term><command>col</command></term>
271 <listitem>
272 <para>Filters out reverse line feeds</para>
273 <indexterm zone="ch-system-util-linux col">
274 <primary sortas="b-col">col</primary>
275 </indexterm>
276 </listitem>
277 </varlistentry>
278
279 <varlistentry id="colcrt">
280 <term><command>colcrt</command></term>
281 <listitem>
282 <para>Filters <command>nroff</command> output for terminals
283 that lack some capabilities, such as overstriking and half-lines</para>
284 <indexterm zone="ch-system-util-linux colcrt">
285 <primary sortas="b-colcrt">colcrt</primary>
286 </indexterm>
287 </listitem>
288 </varlistentry>
289
290 <varlistentry id="colrm">
291 <term><command>colrm</command></term>
292 <listitem>
293 <para>Filters out the given columns</para>
294 <indexterm zone="ch-system-util-linux colrm">
295 <primary sortas="b-colrm">colrm</primary>
296 </indexterm>
297 </listitem>
298 </varlistentry>
299
300 <varlistentry id="column">
301 <term><command>column</command></term>
302 <listitem>
303 <para>Formats a given file into multiple columns</para>
304 <indexterm zone="ch-system-util-linux column">
305 <primary sortas="b-column">column</primary>
306 </indexterm>
307 </listitem>
308 </varlistentry>
309
310 <varlistentry id="ctrlaltdel">
311 <term><command>ctrlaltdel</command></term>
312 <listitem>
313 <para>Sets the function of the Ctrl+Alt+Del key combination to a
314 hard or a soft reset</para>
315 <indexterm zone="ch-system-util-linux ctrlaltdel">
316 <primary sortas="b-ctrlaltdel">ctrlaltdel</primary>
317 </indexterm>
318 </listitem>
319 </varlistentry>
320
321 <varlistentry id="delpart">
322 <term><command>delpart</command></term>
323 <listitem>
324 <para>Asks the Linux kernel to remove a partition</para>
325 <indexterm zone="ch-system-util-linux delpart">
326 <primary sortas="b-delpart">delpart</primary>
327 </indexterm>
328 </listitem>
329 </varlistentry>
330
331 <varlistentry id="dmesg">
332 <term><command>dmesg</command></term>
333 <listitem>
334 <para>Dumps the kernel boot messages</para>
335 <indexterm zone="ch-system-util-linux dmesg">
336 <primary sortas="b-dmesg">dmesg</primary>
337 </indexterm>
338 </listitem>
339 </varlistentry>
340
341 <varlistentry id="eject">
342 <term><command>eject</command></term>
343 <listitem>
344 <para>Ejects removable media</para>
345 <indexterm zone="ch-system-util-linux eject">
346 <primary sortas="b-eject">eject</primary>
347 </indexterm>
348 </listitem>
349 </varlistentry>
350
351 <varlistentry id="fallocate">
352 <term><command>fallocate</command></term>
353 <listitem>
354 <para>Preallocates space to a file</para>
355 <indexterm zone="ch-system-util-linux fallocate">
356 <primary sortas="b-fallocate">fallocate</primary>
357 </indexterm>
358 </listitem>
359 </varlistentry>
360
361 <varlistentry id="fdformat">
362 <term><command>fdformat</command></term>
363 <listitem>
364 <para>Low-level formats a floppy disk</para>
365 <indexterm zone="ch-system-util-linux fdformat">
366 <primary sortas="b-fdformat">fdformat</primary>
367 </indexterm>
368 </listitem>
369 </varlistentry>
370
371 <varlistentry id="fdisk">
372 <term><command>fdisk</command></term>
373 <listitem>
374 <para>Manipulates the partition table of the given device</para>
375 <indexterm zone="ch-system-util-linux fdisk">
376 <primary sortas="b-fdisk">fdisk</primary>
377 </indexterm>
378 </listitem>
379 </varlistentry>
380
381 <varlistentry id="fincore">
382 <term><command>fincore</command></term>
383 <listitem>
384 <para>Counts pages of file contents in core</para>
385 <indexterm zone="ch-system-util-linux fincore">
386 <primary sortas="b-fincore">fincore</primary>
387 </indexterm>
388 </listitem>
389 </varlistentry>
390
391 <varlistentry id="findfs">
392 <term><command>findfs</command></term>
393 <listitem>
394 <para>Finds a file system by label or Universally Unique Identifier
395 (UUID)</para>
396 <indexterm zone="ch-system-util-linux findfs">
397 <primary sortas="b-findfs">findfs</primary>
398 </indexterm>
399 </listitem>
400 </varlistentry>
401
402 <varlistentry id="findmnt">
403 <term><command>findmnt</command></term>
404 <listitem>
405 <para>Is a command line interface to the libmount library
406 for work with mountinfo, fstab and mtab files</para>
407 <indexterm zone="ch-system-util-linux findmnt">
408 <primary sortas="b-findmnt">findmnt</primary>
409 </indexterm>
410 </listitem>
411 </varlistentry>
412
413 <varlistentry id="flock">
414 <term><command>flock</command></term>
415 <listitem>
416 <para>Acquires a file lock and then executes a command with the lock
417 held</para>
418 <indexterm zone="ch-system-util-linux flock">
419 <primary sortas="b-flock">flock</primary>
420 </indexterm>
421 </listitem>
422 </varlistentry>
423
424 <varlistentry id="fsck">
425 <term><command>fsck</command></term>
426 <listitem>
427 <para>Is used to check, and optionally repair, file systems</para>
428 <indexterm zone="ch-system-util-linux fsck">
429 <primary sortas="b-fsck">fsck</primary>
430 </indexterm>
431 </listitem>
432 </varlistentry>
433
434 <varlistentry id="fsck.cramfs">
435 <term><command>fsck.cramfs</command></term>
436 <listitem>
437 <para>Performs a consistency check on the Cramfs file system on the
438 given device</para>
439 <indexterm zone="ch-system-util-linux fsck.cramfs">
440 <primary sortas="b-fsck.cramfs">fsck.cramfs</primary>
441 </indexterm>
442 </listitem>
443 </varlistentry>
444
445 <varlistentry id="fsck.minix">
446 <term><command>fsck.minix</command></term>
447 <listitem>
448 <para>Performs a consistency check on the Minix file system on the
449 given device</para>
450 <indexterm zone="ch-system-util-linux fsck.minix">
451 <primary sortas="b-fsck.minix">fsck.minix</primary>
452 </indexterm>
453 </listitem>
454 </varlistentry>
455
456 <varlistentry id="fsfreeze">
457 <term><command>fsfreeze</command></term>
458 <listitem>
459 <para>Is a very simple wrapper around FIFREEZE/FITHAW ioctl
460 kernel driver operations</para>
461 <indexterm zone="ch-system-util-linux fsfreeze">
462 <primary sortas="b-fsfreeze">fsfreeze</primary>
463 </indexterm>
464 </listitem>
465 </varlistentry>
466
467 <varlistentry id="fstrim">
468 <term><command>fstrim</command></term>
469 <listitem>
470 <para>Discards unused blocks on a mounted filesystem</para>
471 <indexterm zone="ch-system-util-linux fstrim">
472 <primary sortas="b-fstrim">fstrim</primary>
473 </indexterm>
474 </listitem>
475 </varlistentry>
476
477 <varlistentry id="getopt">
478 <term><command>getopt</command></term>
479 <listitem>
480 <para>Parses options in the given command line</para>
481 <indexterm zone="ch-system-util-linux getopt">
482 <primary sortas="b-getopt">getopt</primary>
483 </indexterm>
484 </listitem>
485 </varlistentry>
486
487 <varlistentry id="hexdump">
488 <term><command>hexdump</command></term>
489 <listitem>
490 <para>Dumps the given file in hexadecimal or in another given
491 format</para>
492 <indexterm zone="ch-system-util-linux hexdump">
493 <primary sortas="b-hexdump">hexdump</primary>
494 </indexterm>
495 </listitem>
496 </varlistentry>
497
498 <varlistentry id="hwclock">
499 <term><command>hwclock</command></term>
500 <listitem>
501 <para>Reads or sets the system's hardware clock, also called
502 the Real-Time Clock (RTC) or Basic Input-Output System (BIOS)
503 clock</para>
504 <indexterm zone="ch-system-util-linux hwclock">
505 <primary sortas="b-hwclock">hwclock</primary>
506 </indexterm>
507 </listitem>
508 </varlistentry>
509
510 <varlistentry id="i386">
511 <term><command>i386</command></term>
512 <listitem>
513 <para>A symbolic link to setarch</para>
514 <indexterm zone="ch-system-util-linux i386">
515 <primary sortas="b-i386">i386</primary>
516 </indexterm>
517 </listitem>
518 </varlistentry>
519
520 <varlistentry id="ionice">
521 <term><command>ionice</command></term>
522 <listitem>
523 <para>Gets or sets the io scheduling class and priority for a program</para>
524 <indexterm zone="ch-system-util-linux ionice">
525 <primary sortas="b-ionice">ionice</primary>
526 </indexterm>
527 </listitem>
528 </varlistentry>
529
530 <varlistentry id="ipcmk">
531 <term><command>ipcmk</command></term>
532 <listitem>
533 <para>Creates various IPC resources</para>
534 <indexterm zone="ch-system-util-linux ipcmk">
535 <primary sortas="b-ipcmk">ipcmk</primary>
536 </indexterm>
537 </listitem>
538 </varlistentry>
539
540 <varlistentry id="ipcrm">
541 <term><command>ipcrm</command></term>
542 <listitem>
543 <para>Removes the given Inter-Process Communication (IPC) resource</para>
544 <indexterm zone="ch-system-util-linux ipcrm">
545 <primary sortas="b-ipcrm">ipcrm</primary>
546 </indexterm>
547 </listitem>
548 </varlistentry>
549
550 <varlistentry id="ipcs">
551 <term><command>ipcs</command></term>
552 <listitem>
553 <para>Provides IPC status information</para>
554 <indexterm zone="ch-system-util-linux ipcs">
555 <primary sortas="b-ipcs">ipcs</primary>
556 </indexterm>
557 </listitem>
558 </varlistentry>
559
560 <varlistentry id="isosize">
561 <term><command>isosize</command></term>
562 <listitem>
563 <para>Reports the size of an iso9660 file system</para>
564 <indexterm zone="ch-system-util-linux isosize">
565 <primary sortas="b-isosize">isosize</primary>
566 </indexterm>
567 </listitem>
568 </varlistentry>
569
570 <varlistentry id="kill">
571 <term><command>kill</command></term>
572 <listitem>
573 <para>Sends signals to processes</para>
574 <indexterm zone="ch-system-util-linux kill">
575 <primary sortas="b-kill">kill</primary>
576 </indexterm>
577 </listitem>
578 </varlistentry>
579
580 <varlistentry id="last">
581 <term><command>last</command></term>
582 <listitem>
583 <para>Shows which users last logged in (and out), searching back
584 through the <filename>/var/log/wtmp</filename> file; it also shows
585 system boots, shutdowns, and run-level changes</para>
586 <indexterm zone="ch-system-util-linux last">
587 <primary sortas="b-last">last</primary>
588 </indexterm>
589 </listitem>
590 </varlistentry>
591
592 <varlistentry id="lastb">
593 <term><command>lastb</command></term>
594 <listitem>
595 <para>Shows the failed login attempts, as logged in
596 <filename>/var/log/btmp</filename></para>
597 <indexterm zone="ch-system-util-linux lastb">
598 <primary sortas="b-lastb">lastb</primary>
599 </indexterm>
600 </listitem>
601 </varlistentry>
602
603 <varlistentry id="ldattach">
604 <term><command>ldattach</command></term>
605 <listitem>
606 <para>Attaches a line discipline to a serial line</para>
607 <indexterm zone="ch-system-util-linux ldattach">
608 <primary sortas="b-ldattach">ldattach</primary>
609 </indexterm>
610 </listitem>
611 </varlistentry>
612
613 <varlistentry id="linux32">
614 <term><command>linux32</command></term>
615 <listitem>
616 <para>A symbolic link to setarch</para>
617 <indexterm zone="ch-system-util-linux linux32">
618 <primary sortas="b-linux32">linux32</primary>
619 </indexterm>
620 </listitem>
621 </varlistentry>
622
623 <varlistentry id="linux64">
624 <term><command>linux64</command></term>
625 <listitem>
626 <para>A symbolic link to setarch</para>
627 <indexterm zone="ch-system-util-linux linux64">
628 <primary sortas="b-linux64">linux64</primary>
629 </indexterm>
630 </listitem>
631 </varlistentry>
632
633 <varlistentry id="logger">
634 <term><command>logger</command></term>
635 <listitem>
636 <para>Enters the given message into the system log</para>
637 <indexterm zone="ch-system-util-linux logger">
638 <primary sortas="b-logger">logger</primary>
639 </indexterm>
640 </listitem>
641 </varlistentry>
642
643 <varlistentry id="look">
644 <term><command>look</command></term>
645 <listitem>
646 <para>Displays lines that begin with the given string</para>
647 <indexterm zone="ch-system-util-linux look">
648 <primary sortas="b-look">look</primary>
649 </indexterm>
650 </listitem>
651 </varlistentry>
652
653 <varlistentry id="losetup">
654 <term><command>losetup</command></term>
655 <listitem>
656 <para>Sets up and controls loop devices</para>
657 <indexterm zone="ch-system-util-linux losetup">
658 <primary sortas="b-losetup">losetup</primary>
659 </indexterm>
660 </listitem>
661 </varlistentry>
662
663 <varlistentry id="lsblk">
664 <term><command>lsblk</command></term>
665 <listitem>
666 <para>Lists information about all or selected block devices in
667 a tree-like format</para>
668 <indexterm zone="ch-system-util-linux lsblk">
669 <primary sortas="b-lsblk">lsblk</primary>
670 </indexterm>
671 </listitem>
672 </varlistentry>
673
674 <varlistentry id="lscpu">
675 <term><command>lscpu</command></term>
676 <listitem>
677 <para>Prints CPU architecture information</para>
678 <indexterm zone="ch-system-util-linux lscpu">
679 <primary sortas="b-lscpu">lscpu</primary>
680 </indexterm>
681 </listitem>
682 </varlistentry>
683
684 <varlistentry id="lsipc">
685 <term><command>lsipc</command></term>
686 <listitem>
687 <para>Prints information on IPC facilities currently employed
688 in the system</para>
689 <indexterm zone="ch-system-util-linux lsipc">
690 <primary sortas="b-lsipc">lsipc</primary>
691 </indexterm>
692 </listitem>
693 </varlistentry>
694
695 <varlistentry id="lslocks">
696 <term><command>lslocks</command></term>
697 <listitem>
698 <para>Lists local system locks</para>
699 <indexterm zone="ch-system-util-linux lslocks">
700 <primary sortas="b-lslocks">lslocks</primary>
701 </indexterm>
702 </listitem>
703 </varlistentry>
704
705 <varlistentry id="lslogins">
706 <term><command>lslogins</command></term>
707 <listitem>
708 <para>Lists information about users, groups and system accounts</para>
709 <indexterm zone="ch-system-util-linux lslogins">
710 <primary sortas="b-lslogins">lslogins</primary>
711 </indexterm>
712 </listitem>
713 </varlistentry>
714
715 <varlistentry id="lsmem">
716 <term><command>lsmem</command></term>
717 <listitem>
718 <para>Lists the ranges of available memory with their online
719 status</para>
720 <indexterm zone="ch-system-util-linux lsmem">
721 <primary sortas="b-lsmem">lsmem</primary>
722 </indexterm>
723 </listitem>
724 </varlistentry>
725
726 <varlistentry id="lsns">
727 <term><command>lsns</command></term>
728 <listitem>
729 <para>Lists namespaces</para>
730 <indexterm zone="ch-system-util-linux lsns">
731 <primary sortas="b-lsns">lsns</primary>
732 </indexterm>
733 </listitem>
734 </varlistentry>
735
736 <varlistentry id="mcookie">
737 <term><command>mcookie</command></term>
738 <listitem>
739 <para>Generates magic cookies (128-bit random hexadecimal numbers) for
740 <command>xauth</command></para>
741 <indexterm zone="ch-system-util-linux mcookie">
742 <primary sortas="b-mcookie">mcookie</primary>
743 </indexterm>
744 </listitem>
745 </varlistentry>
746
747 <varlistentry id="mesg">
748 <term><command>mesg</command></term>
749 <listitem>
750 <para>Controls whether other users can send messages to the current
751 user's terminal</para>
752 <indexterm zone="ch-system-util-linux mesg">
753 <primary sortas="b-mesg">mesg</primary>
754 </indexterm>
755 </listitem>
756 </varlistentry>
757
758 <varlistentry id="mkfs">
759 <term><command>mkfs</command></term>
760 <listitem>
761 <para>Builds a file system on a device (usually a hard disk
762 partition)</para>
763 <indexterm zone="ch-system-util-linux mkfs">
764 <primary sortas="b-mkfs">mkfs</primary>
765 </indexterm>
766 </listitem>
767 </varlistentry>
768
769 <varlistentry id="mkfs.bfs">
770 <term><command>mkfs.bfs</command></term>
771 <listitem>
772 <para>Creates a Santa Cruz Operations (SCO) bfs file system</para>
773 <indexterm zone="ch-system-util-linux mkfs.bfs">
774 <primary sortas="b-mkfs.bfs">mkfs.bfs</primary>
775 </indexterm>
776 </listitem>
777 </varlistentry>
778
779 <varlistentry id="mkfs.cramfs">
780 <term><command>mkfs.cramfs</command></term>
781 <listitem>
782 <para>Creates a cramfs file system</para>
783 <indexterm zone="ch-system-util-linux mkfs.cramfs">
784 <primary sortas="b-mkfs.cramfs">mkfs.cramfs</primary>
785 </indexterm>
786 </listitem>
787 </varlistentry>
788
789 <varlistentry id="mkfs.minix">
790 <term><command>mkfs.minix</command></term>
791 <listitem>
792 <para>Creates a Minix file system</para>
793 <indexterm zone="ch-system-util-linux mkfs.minix">
794 <primary sortas="b-mkfs.minix">mkfs.minix</primary>
795 </indexterm>
796 </listitem>
797 </varlistentry>
798
799 <varlistentry id="mkswap">
800 <term><command>mkswap</command></term>
801 <listitem>
802 <para>Initializes the given device or file to be used as a swap
803 area</para>
804 <indexterm zone="ch-system-util-linux mkswap">
805 <primary sortas="b-mkswap">mkswap</primary>
806 </indexterm>
807 </listitem>
808 </varlistentry>
809
810 <varlistentry id="more">
811 <term><command>more</command></term>
812 <listitem>
813 <para>A filter for paging through text one screen at a time</para>
814 <indexterm zone="ch-system-util-linux more">
815 <primary sortas="b-more">more</primary>
816 </indexterm>
817 </listitem>
818 </varlistentry>
819
820 <varlistentry id="mount">
821 <term><command>mount</command></term>
822 <listitem>
823 <para>Attaches the file system on the given device to a specified
824 directory in the file-system tree</para>
825 <indexterm zone="ch-system-util-linux mount">
826 <primary sortas="b-mount">mount</primary>
827 </indexterm>
828 </listitem>
829 </varlistentry>
830
831 <varlistentry id="mountpoint">
832 <term><command>mountpoint</command></term>
833 <listitem>
834 <para>Checks if the directory is a mountpoint</para>
835 <indexterm zone="ch-system-util-linux mountpoint">
836 <primary sortas="b-mountpoint">mountpoint</primary>
837 </indexterm>
838 </listitem>
839 </varlistentry>
840
841 <varlistentry id="namei">
842 <term><command>namei</command></term>
843 <listitem>
844 <para>Shows the symbolic links in the given pathnames</para>
845 <indexterm zone="ch-system-util-linux namei">
846 <primary sortas="b-namei">namei</primary>
847 </indexterm>
848 </listitem>
849 </varlistentry>
850
851 <varlistentry id="nsenter">
852 <term><command>nsenter</command></term>
853 <listitem>
854 <para>Runs a program with namespaces of other processes</para>
855 <indexterm zone="ch-system-util-linux nsenter">
856 <primary sortas="b-nsenter">nsenter</primary>
857 </indexterm>
858 </listitem>
859 </varlistentry>
860
861 <varlistentry id="partx">
862 <term><command>partx</command></term>
863 <listitem>
864 <para>Tells the kernel about the presence and numbering of on-disk
865 partitions</para>
866 <indexterm zone="ch-system-util-linux partx">
867 <primary sortas="b-partx">partx</primary>
868 </indexterm>
869 </listitem>
870 </varlistentry>
871
872 <varlistentry id="pivot_root">
873 <term><command>pivot_root</command></term>
874 <listitem>
875 <para>Makes the given file system the new root file system of the
876 current process</para>
877 <indexterm zone="ch-system-util-linux pivot_root">
878 <primary sortas="b-pivot_root">pivot_root</primary>
879 </indexterm>
880 </listitem>
881 </varlistentry>
882
883 <varlistentry id="prlimit">
884 <term><command>prlimit</command></term>
885 <listitem>
886 <para>Get and set a process' resource limits</para>
887 <indexterm zone="ch-system-util-linux prlimit">
888 <primary sortas="b-prlimit">prlimit</primary>
889 </indexterm>
890 </listitem>
891 </varlistentry>
892
893 <varlistentry id="raw">
894 <term><command>raw</command></term>
895 <listitem>
896 <para>Bind a Linux raw character device to a block device</para>
897 <indexterm zone="ch-system-util-linux raw">
898 <primary sortas="b-raw">raw</primary>
899 </indexterm>
900 </listitem>
901 </varlistentry>
902
903 <varlistentry id="readprofile">
904 <term><command>readprofile</command></term>
905 <listitem>
906 <para>Reads kernel profiling information</para>
907 <indexterm zone="ch-system-util-linux readprofile">
908 <primary sortas="b-readprofile">readprofile</primary>
909 </indexterm>
910 </listitem>
911 </varlistentry>
912
913 <varlistentry id="rename">
914 <term><command>rename</command></term>
915 <listitem>
916 <para>Renames the given files, replacing a given string with
917 another</para>
918 <indexterm zone="ch-system-util-linux rename">
919 <primary sortas="b-rename">rename</primary>
920 </indexterm>
921 </listitem>
922 </varlistentry>
923
924 <varlistentry id="renice">
925 <term><command>renice</command></term>
926 <listitem>
927 <para>Alters the priority of running processes</para>
928 <indexterm zone="ch-system-util-linux renice">
929 <primary sortas="b-renice">renice</primary>
930 </indexterm>
931 </listitem>
932 </varlistentry>
933
934 <varlistentry id="resizepart">
935 <term><command>resizepart</command></term>
936 <listitem>
937 <para>Asks the Linux kernel to resize a partition</para>
938 <indexterm zone="ch-system-util-linux resizepart">
939 <primary sortas="b-resizepart">resizepart</primary>
940 </indexterm>
941 </listitem>
942 </varlistentry>
943
944 <varlistentry id="rev">
945 <term><command>rev</command></term>
946 <listitem>
947 <para>Reverses the lines of a given file</para>
948 <indexterm zone="ch-system-util-linux rev">
949 <primary sortas="b-rev">rev</primary>
950 </indexterm>
951 </listitem>
952 </varlistentry>
953
954 <varlistentry id="rkfill">
955 <term><command>rkfill</command></term>
956 <listitem>
957 <para>Tool for enabling and disabling wireless devices</para>
958 <indexterm zone="ch-system-util-linux rkfill">
959 <primary sortas="b-rkfill">rkfill</primary>
960 </indexterm>
961 </listitem>
962 </varlistentry>
963
964 <varlistentry id="rtcwake">
965 <term><command>rtcwake</command></term>
966 <listitem>
967 <para>Used to enter a system sleep state until specified wakeup
968 time</para>
969 <indexterm zone="ch-system-util-linux rtcwake">
970 <primary sortas="b-rtcwake">rtcwake</primary>
971 </indexterm>
972 </listitem>
973 </varlistentry>
974
975 <varlistentry id="script">
976 <term><command>script</command></term>
977 <listitem>
978 <para>Makes a typescript of a terminal session</para>
979 <indexterm zone="ch-system-util-linux script">
980 <primary sortas="b-script">script</primary>
981 </indexterm>
982 </listitem>
983 </varlistentry>
984
985 <varlistentry id="scriptreplay">
986 <term><command>scriptreplay</command></term>
987 <listitem>
988 <para>Plays back typescripts using timing information</para>
989 <indexterm zone="ch-system-util-linux scriptreplay">
990 <primary sortas="b-scriptreplay">scriptreplay</primary>
991 </indexterm>
992 </listitem>
993 </varlistentry>
994
995 <varlistentry id="setarch">
996 <term><command>setarch</command></term>
997 <listitem>
998 <para>Changes reported architecture in a new program environment and
999 sets personality flags</para>
1000 <indexterm zone="ch-system-util-linux setarch">
1001 <primary sortas="b-setarch">setarch</primary>
1002 </indexterm>
1003 </listitem>
1004 </varlistentry>
1005
1006 <varlistentry id="setsid">
1007 <term><command>setsid</command></term>
1008 <listitem>
1009 <para>Runs the given program in a new session</para>
1010 <indexterm zone="ch-system-util-linux setsid">
1011 <primary sortas="b-setsid">setsid</primary>
1012 </indexterm>
1013 </listitem>
1014 </varlistentry>
1015
1016 <varlistentry id="setterm">
1017 <term><command>setterm</command></term>
1018 <listitem>
1019 <para>Sets terminal attributes</para>
1020 <indexterm zone="ch-system-util-linux setterm">
1021 <primary sortas="b-setterm">setterm</primary>
1022 </indexterm>
1023 </listitem>
1024 </varlistentry>
1025
1026 <varlistentry id="sfdisk">
1027 <term><command>sfdisk</command></term>
1028 <listitem>
1029 <para>A disk partition table manipulator</para>
1030 <indexterm zone="ch-system-util-linux sfdisk">
1031 <primary sortas="b-sfdisk">sfdisk</primary>
1032 </indexterm>
1033 </listitem>
1034 </varlistentry>
1035
1036 <varlistentry id="sulogin">
1037 <term><command>sulogin</command></term>
1038 <listitem>
1039 <para>Allows <systemitem class="username">root</systemitem> to log in;
1040 it is normally invoked by <command>init</command> when the system goes
1041 into single user mode</para>
1042 <indexterm zone="ch-system-util-linux sulogin">
1043 <primary sortas="b-sulogin">sulogin</primary>
1044 </indexterm>
1045 </listitem>
1046 </varlistentry>
1047
1048 <varlistentry id="swaplabel">
1049 <term><command>swaplabel</command></term>
1050 <listitem>
1051 <para>Allows to change swaparea UUID and label</para>
1052 <indexterm zone="ch-system-util-linux swaplabel">
1053 <primary sortas="b-swaplabel">swaplabel</primary>
1054 </indexterm>
1055 </listitem>
1056 </varlistentry>
1057
1058 <varlistentry id="swapoff">
1059 <term><command>swapoff</command></term>
1060 <listitem>
1061 <para>Disables devices and files for paging and swapping</para>
1062 <indexterm zone="ch-system-util-linux swapoff">
1063 <primary sortas="b-swapoff">swapoff</primary>
1064 </indexterm>
1065 </listitem>
1066 </varlistentry>
1067
1068 <varlistentry id="swapon">
1069 <term><command>swapon</command></term>
1070 <listitem>
1071 <para>Enables devices and files for paging and swapping and
1072 lists the devices and files currently in use</para>
1073 <indexterm zone="ch-system-util-linux swapon">
1074 <primary sortas="b-swapon">swapon</primary>
1075 </indexterm>
1076 </listitem>
1077 </varlistentry>
1078
1079 <varlistentry id="switch_root">
1080 <term><command>switch_root</command></term>
1081 <listitem>
1082 <para>Switches to another filesystem as the root of the mount tree</para>
1083 <indexterm zone="ch-system-util-linux switch_root">
1084 <primary sortas="b-switch_root">switch_root</primary>
1085 </indexterm>
1086 </listitem>
1087 </varlistentry>
1088
1089 <varlistentry id="tailf">
1090 <term><command>tailf</command></term>
1091 <listitem>
1092 <para>Tracks the growth of a log file; displays the last 10 lines
1093 of a log file, then continues displaying any new entries in the
1094 log file as they are created</para>
1095 <indexterm zone="ch-system-util-linux tailf">
1096 <primary sortas="b-tailf">tailf</primary>
1097 </indexterm>
1098 </listitem>
1099 </varlistentry>
1100
1101 <varlistentry id="taskset">
1102 <term><command>taskset</command></term>
1103 <listitem>
1104 <para>Retrieves or sets a process' CPU affinity</para>
1105 <indexterm zone="ch-system-util-linux taskset">
1106 <primary sortas="b-taskset">taskset</primary>
1107 </indexterm>
1108 </listitem>
1109 </varlistentry>
1110
1111 <varlistentry id="ul">
1112 <term><command>ul</command></term>
1113 <listitem>
1114 <para>A filter for translating underscores into escape sequences
1115 indicating underlining for the terminal in use</para>
1116 <indexterm zone="ch-system-util-linux ul">
1117 <primary sortas="b-ul">ul</primary>
1118 </indexterm>
1119 </listitem>
1120 </varlistentry>
1121
1122 <varlistentry id="umount">
1123 <term><command>umount</command></term>
1124 <listitem>
1125 <para>Disconnects a file system from the system's file tree</para>
1126 <indexterm zone="ch-system-util-linux umount">
1127 <primary sortas="b-umount">umount</primary>
1128 </indexterm>
1129 </listitem>
1130 </varlistentry>
1131
1132 <varlistentry id="uname26">
1133 <term><command>uname26</command></term>
1134 <listitem>
1135 <para>A symbolic link to setarch</para>
1136 <indexterm zone="ch-system-util-linux uname26">
1137 <primary sortas="b-uname26">uname26</primary>
1138 </indexterm>
1139 </listitem>
1140 </varlistentry>
1141
1142 <varlistentry id="unshare">
1143 <term><command>unshare</command></term>
1144 <listitem>
1145 <para>Runs a program with some namespaces unshared from parent</para>
1146 <indexterm zone="ch-system-util-linux unshare">
1147 <primary sortas="b-unshare">unshare</primary>
1148 </indexterm>
1149 </listitem>
1150 </varlistentry>
1151
1152 <varlistentry id="utmpdump">
1153 <term><command>utmpdump</command></term>
1154 <listitem>
1155 <para>Displays the content of the given login file in a more
1156 user-friendly format</para>
1157 <indexterm zone="ch-system-util-linux utmpdump">
1158 <primary sortas="b-utmpdump">utmpdump</primary>
1159 </indexterm>
1160 </listitem>
1161 </varlistentry>
1162
1163 <varlistentry id="uuidd">
1164 <term><command>uuidd</command></term>
1165 <listitem>
1166 <para>A daemon used by the UUID library to generate time-based
1167 UUIDs in a secure and guaranteed-unique fashion</para>
1168 <indexterm zone="ch-system-util-linux uuidd">
1169 <primary sortas="b-uuidd">uuidd</primary>
1170 </indexterm>
1171 </listitem>
1172 </varlistentry>
1173
1174 <varlistentry id="uuidgen">
1175 <term><command>uuidgen</command></term>
1176 <listitem>
1177 <para>Creates new UUIDs. Each new UUID can reasonably be considered
1178 unique among all UUIDs created, on the local system and on other
1179 systems, in the past and in the future</para>
1180 <indexterm zone="ch-system-util-linux uuidgen">
1181 <primary sortas="b-uuidgen">uuidgen</primary>
1182 </indexterm>
1183 </listitem>
1184 </varlistentry>
1185
1186 <varlistentry id="uuidparse">
1187 <term><command>uuidparse</command></term>
1188 <listitem>
1189 <para>An utility to parse unique identifiers</para>
1190 <indexterm zone="ch-system-util-linux uuidparse">
1191 <primary sortas="b-uuidparse">uuidparse</primary>
1192 </indexterm>
1193 </listitem>
1194 </varlistentry>
1195
1196 <varlistentry id="wall">
1197 <term><command>wall</command></term>
1198 <listitem>
1199 <para>Displays the contents of a file or, by default, its standard
1200 input, on the terminals of all currently logged in users</para>
1201 <indexterm zone="ch-system-util-linux wall">
1202 <primary sortas="b-wall">wall</primary>
1203 </indexterm>
1204 </listitem>
1205 </varlistentry>
1206
1207 <varlistentry id="wdctl">
1208 <term><command>wdctl</command></term>
1209 <listitem>
1210 <para>Shows hardware watchdog status</para>
1211 <indexterm zone="ch-system-util-linux wdctl">
1212 <primary sortas="b-wdctl">wdctl</primary>
1213 </indexterm>
1214 </listitem>
1215 </varlistentry>
1216
1217 <varlistentry id="whereis">
1218 <term><command>whereis</command></term>
1219 <listitem>
1220 <para>Reports the location of the binary, source, and man page
1221 for the given command</para>
1222 <indexterm zone="ch-system-util-linux whereis">
1223 <primary sortas="b-whereis">whereis</primary>
1224 </indexterm>
1225 </listitem>
1226 </varlistentry>
1227
1228 <varlistentry id="wipefs">
1229 <term><command>wipefs</command></term>
1230 <listitem>
1231 <para>Wipes a filesystem signature from a device</para>
1232 <indexterm zone="ch-system-util-linux wipefs">
1233 <primary sortas="b-wipefs">wipefs</primary>
1234 </indexterm>
1235 </listitem>
1236 </varlistentry>
1237
1238 <varlistentry id="x86_64">
1239 <term><command>x86_64</command></term>
1240 <listitem>
1241 <para>A symbolic link to setarch</para>
1242 <indexterm zone="ch-system-util-linux x86_64">
1243 <primary sortas="b-x86_64">x86_64</primary>
1244 </indexterm>
1245 </listitem>
1246 </varlistentry>
1247
1248 <varlistentry id="zramctl">
1249 <term><command>zramctl</command></term>
1250 <listitem>
1251 <para>A program to set up and control zram (compressed ram disk)
1252 devices</para>
1253 <indexterm zone="ch-system-util-linux zramctl">
1254 <primary sortas="b-zramctl">zramctl</primary>
1255 </indexterm>
1256 </listitem>
1257 </varlistentry>
1258
1259 <varlistentry id="libblkid">
1260 <term><filename class="libraryfile">libblkid</filename></term>
1261 <listitem>
1262 <para>Contains routines for device identification and token
1263 extraction</para>
1264 <indexterm zone="ch-system-util-linux libblkid">
1265 <primary sortas="c-libblkid">libblkid</primary>
1266 </indexterm>
1267 </listitem>
1268 </varlistentry>
1269
1270 <varlistentry id="libfdisk">
1271 <term><filename class="libraryfile">libfdisk</filename></term>
1272 <listitem>
1273 <para>Contains routines for manipulating partition tables</para>
1274 <indexterm zone="ch-system-util-linux libfdisk">
1275 <primary sortas="c-libfdisk">libfdisk</primary>
1276 </indexterm>
1277 </listitem>
1278 </varlistentry>
1279
1280 <varlistentry id="libmount">
1281 <term><filename class="libraryfile">libmount</filename></term>
1282 <listitem>
1283 <para>Contains routines for block device mounting and
1284 unmounting</para>
1285 <indexterm zone="ch-system-util-linux libmount">
1286 <primary sortas="c-libmount">libmount</primary>
1287 </indexterm>
1288 </listitem>
1289 </varlistentry>
1290
1291 <varlistentry id="libsmartcols">
1292 <term><filename class="libraryfile">libsmartcols</filename></term>
1293 <listitem>
1294 <para>Contains routines for aiding screen output in tabular form</para>
1295 <indexterm zone="ch-system-util-linux libsmartcols">
1296 <primary sortas="c-libsmartcols">libsmartcols</primary>
1297 </indexterm>
1298 </listitem>
1299 </varlistentry>
1300
1301 <varlistentry id="libuuid">
1302 <term><filename class="libraryfile">libuuid</filename></term>
1303 <listitem>
1304 <para>Contains routines for generating unique identifiers for objects
1305 that may be accessible beyond the local system</para>
1306 <indexterm zone="ch-system-util-linux libuuid">
1307 <primary sortas="c-libuuid">libuuid</primary>
1308 </indexterm>
1309 </listitem>
1310 </varlistentry>
1311
1312 </variablelist>
1313
1314 </sect2>
1315
1316</sect1>
Note: See TracBrowser for help on using the repository browser.