source: BOOK/final-system/common/util-linux.xml@ 147a241

clfs-3.0.0-sysvinit sysvinit
Last change on this file since 147a241 was c2102b28, checked in by Chris Staub <chris@…>, 10 years ago

Improve consistency in package installation lists, mainly removing 'and'

Conflicts:

BOOK/final-system/common/attr.xml

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