source: BOOK/final-system/common/util-linux.xml@ 714950f

sysvinit
Last change on this file since 714950f was b055e9c, checked in by William Harrington <kb0iic@…>, 8 years ago

Remove '>' in configure command.

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