source: BOOK/final-system/common/util-linux.xml@ 00529f2

sysvinit
Last change on this file since 00529f2 was 8886e357, checked in by Chris Staub <chris@…>, 9 years ago

Updated installed program lists

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