source: BOOK/final-system/common/util-linux.xml@ 862c47b

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 862c47b was 229ed25, checked in by Chris Staub <chris@…>, 11 years ago

Merge branch 'master' into systemd

Conflicts:

BOOK/appendices/dependencies/common.xml
BOOK/boot/common/devices.xml
BOOK/boot/common/pwdgroup.xml
BOOK/boot/ppc64-64/powerpc-utils.xml
BOOK/boot/ppc64/util-linux-32.xml
BOOK/bootscripts/common/bootscripts.xml
BOOK/final-system/alpha-chapter.xml
BOOK/final-system/common/coreutils.xml
BOOK/final-system/common/eudev.xml
BOOK/final-system/common/kbd.xml
BOOK/final-system/mips-chapter.xml
BOOK/final-system/mips64-64-chapter.xml
BOOK/final-system/mips64-chapter.xml
BOOK/final-system/multilib/udev-64bit.xml
BOOK/final-system/multilib/util-linux.xml
BOOK/final-system/ppc-chapter.xml
BOOK/final-system/ppc64-chapter.xml
BOOK/final-system/sparc-chapter.xml
BOOK/final-system/sparc64-64-chapter.xml
BOOK/final-system/sparc64-chapter.xml
BOOK/final-system/x86-chapter.xml
BOOK/final-system/x86_64-64-chapter.xml
BOOK/final-system/x86_64-chapter.xml
BOOK/introduction/common/changelog.xml
BOOK/materials/common/packages.xml
BOOK/packages.ent

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