source: BOOK/final-system/common/util-linux.xml@ 594c531

sysvinit
Last change on this file since 594c531 was a72db74, checked in by William Harrington <kb0iic@…>, 8 years ago

Shadow nologin should be installed and any remnants of Util-linux nologin should be removed. It is done.

  • Property mode set to 100644
File size: 39.1 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
[59d58ea]720 <varlistentry id="nsenter">
721 <term><command>nsenter</command></term>
722 <listitem>
723 <para>Runs a program with namespaces of other processes</para>
724 <indexterm zone="ch-system-util-linux nsenter">
725 <primary sortas="b-nsenter">nsenter</primary>
726 </indexterm>
727 </listitem>
728 </varlistentry>
729
[9e8d8ae]730 <varlistentry id="partx">
731 <term><command>partx</command></term>
732 <listitem>
733 <para>Tells the kernel about the presence and numbering of on-disk
734 partitions</para>
[9fedd70f]735 <indexterm zone="ch-system-util-linux partx">
[9e8d8ae]736 <primary sortas="b-partx">partx</primary>
737 </indexterm>
738 </listitem>
739 </varlistentry>
740
[3f8be484]741 <varlistentry id="pg">
742 <term><command>pg</command></term>
743 <listitem>
744 <para>Displays a text file one screen full at a time</para>
[9fedd70f]745 <indexterm zone="ch-system-util-linux pg">
[3f8be484]746 <primary sortas="b-pg">pg</primary>
747 </indexterm>
748 </listitem>
749 </varlistentry>
750
751 <varlistentry id="pivot_root">
752 <term><command>pivot_root</command></term>
753 <listitem>
754 <para>Makes the given file system the new root file system of the
755 current process</para>
[9fedd70f]756 <indexterm zone="ch-system-util-linux pivot_root">
[3f8be484]757 <primary sortas="b-pivot_root">pivot_root</primary>
758 </indexterm>
759 </listitem>
760 </varlistentry>
761
[2b220db9]762 <varlistentry id="prlimit">
763 <term><command>prlimit</command></term>
764 <listitem>
765 <para>Gets and sets a process' resource limits</para>
766 <indexterm zone="ch-system-util-linux prlimit">
767 <primary sortas="b-prlimit">prlimit</primary>
768 </indexterm>
769 </listitem>
770 </varlistentry>
771
772 <varlistentry id="raw">
773 <term><command>raw</command></term>
774 <listitem>
775 <para>Binds a Linux raw character device to a block device</para>
776 <indexterm zone="ch-system-util-linux raw">
777 <primary sortas="b-raw">raw</primary>
778 </indexterm>
779 </listitem>
780 </varlistentry>
781
[3f8be484]782 <varlistentry id="readprofile">
783 <term><command>readprofile</command></term>
784 <listitem>
785 <para>Reads kernel profiling information</para>
[9fedd70f]786 <indexterm zone="ch-system-util-linux readprofile">
[3f8be484]787 <primary sortas="b-readprofile">readprofile</primary>
788 </indexterm>
789 </listitem>
790 </varlistentry>
791
792 <varlistentry id="rename">
793 <term><command>rename</command></term>
794 <listitem>
795 <para>Renames the given files, replacing a given string with
796 another</para>
[9fedd70f]797 <indexterm zone="ch-system-util-linux rename">
[3f8be484]798 <primary sortas="b-rename">rename</primary>
799 </indexterm>
800 </listitem>
801 </varlistentry>
802
803 <varlistentry id="renice">
804 <term><command>renice</command></term>
805 <listitem>
806 <para>Alters the priority of running processes</para>
[9fedd70f]807 <indexterm zone="ch-system-util-linux renice">
[3f8be484]808 <primary sortas="b-renice">renice</primary>
809 </indexterm>
810 </listitem>
811 </varlistentry>
812
[2b220db9]813 <varlistentry id="resizepart">
814 <term><command>resizepart</command></term>
815 <listitem>
816 <para>Asks the Linux kernel to resize a partition</para>
817 <indexterm zone="ch-system-util-linux resizepart">
818 <primary sortas="b-resizepart">resizepart</primary>
819 </indexterm>
820 </listitem>
821 </varlistentry>
822
[3f8be484]823 <varlistentry id="rev">
824 <term><command>rev</command></term>
825 <listitem>
826 <para>Reverses the lines of a given file</para>
[9fedd70f]827 <indexterm zone="ch-system-util-linux rev">
[3f8be484]828 <primary sortas="b-rev">rev</primary>
829 </indexterm>
830 </listitem>
831 </varlistentry>
832
[9e8d8ae]833 <varlistentry id="rtcwake">
834 <term><command>rtcwake</command></term>
835 <listitem>
836 <para>Enters a system sleep state until a specified wakeup time</para>
[9fedd70f]837 <indexterm zone="ch-system-util-linux rtcwake">
[9e8d8ae]838 <primary sortas="b-rtcwake">rtcwake</primary>
839 </indexterm>
840 </listitem>
841 </varlistentry>
842
[3f8be484]843 <varlistentry id="script">
844 <term><command>script</command></term>
845 <listitem>
846 <para>Makes a typescript of a terminal session</para>
[9fedd70f]847 <indexterm zone="ch-system-util-linux script">
[3f8be484]848 <primary sortas="b-script">script</primary>
849 </indexterm>
850 </listitem>
851 </varlistentry>
852
[9e8d8ae]853 <varlistentry id="scriptreplay">
854 <term><command>scriptreplay</command></term>
855 <listitem>
856 <para>Plays back typescripts created by <command>script</command></para>
[9fedd70f]857 <indexterm zone="ch-system-util-linux scriptreplay">
[9e8d8ae]858 <primary sortas="b-scriptreplay">scriptreplay</primary>
859 </indexterm>
860 </listitem>
861 </varlistentry>
862
863 <varlistentry id="setarch">
864 <term><command>setarch</command></term>
865 <listitem>
866 <para>Changes reported architecture in new program environment and
867 sets personality flags</para>
[9fedd70f]868 <indexterm zone="ch-system-util-linux setarch">
[9e8d8ae]869 <primary sortas="b-setarch">setarch</primary>
870 </indexterm>
871 </listitem>
872 </varlistentry>
873
[3f8be484]874 <varlistentry id="setsid">
875 <term><command>setsid</command></term>
876 <listitem>
877 <para>Runs the given program in a new session</para>
[9fedd70f]878 <indexterm zone="ch-system-util-linux setsid">
[3f8be484]879 <primary sortas="b-setsid">setsid</primary>
880 </indexterm>
881 </listitem>
882 </varlistentry>
883
884 <varlistentry id="setterm">
885 <term><command>setterm</command></term>
886 <listitem>
887 <para>Sets terminal attributes</para>
[9fedd70f]888 <indexterm zone="ch-system-util-linux setterm">
[3f8be484]889 <primary sortas="b-setterm">setterm</primary>
890 </indexterm>
891 </listitem>
892 </varlistentry>
893
894 <varlistentry id="sfdisk">
895 <term><command>sfdisk</command></term>
896 <listitem>
897 <para>A disk partition table manipulator</para>
[9fedd70f]898 <indexterm zone="ch-system-util-linux sfdisk">
[3f8be484]899 <primary sortas="b-sfdisk">sfdisk</primary>
900 </indexterm>
901 </listitem>
902 </varlistentry>
903
[996b49f5]904 <varlistentry id="sulogin">
905 <term><command>sulogin</command></term>
906 <listitem>
907 <para>Allows <emphasis>root</emphasis> to log in; it is normally
908 invoked by <command>init</command> when the system goes into single
909 user mode</para>
910 <indexterm zone="ch-system-util-linux sulogin">
911 <primary sortas="b-sulogin">sulogin</primary>
912 </indexterm>
913 </listitem>
914 </varlistentry>
915
[ba0660c]916 <varlistentry id="swaplabel">
917 <term><command>swaplabel</command></term>
918 <listitem>
919 <para>Prints or changes the label or UUID of a swap area</para>
920 <indexterm zone="ch-system-util-linux swaplabel">
921 <primary sortas="b-swaplabel">swaplabel</primary>
922 </indexterm>
923 </listitem>
924 </varlistentry>
925
[3f8be484]926 <varlistentry id="swapoff">
927 <term><command>swapoff</command></term>
928 <listitem>
929 <para>Disables devices and files for paging and swapping</para>
[9fedd70f]930 <indexterm zone="ch-system-util-linux swapoff">
[3f8be484]931 <primary sortas="b-swapoff">swapoff</primary>
932 </indexterm>
933 </listitem>
934 </varlistentry>
935
936 <varlistentry id="swapon">
937 <term><command>swapon</command></term>
938 <listitem>
939 <para>Enables devices and files for paging and swapping and
940 lists the devices and files currently in use</para>
[9fedd70f]941 <indexterm zone="ch-system-util-linux swapon">
[3f8be484]942 <primary sortas="b-swapon">swapon</primary>
943 </indexterm>
944 </listitem>
945 </varlistentry>
946
[188b6b2]947 <varlistentry id="switch_root">
948 <term><command>switch_root</command></term>
949 <listitem>
950 <para>Switches to another filesystem as the root of the mount tree</para>
[9fedd70f]951 <indexterm zone="ch-system-util-linux switch_root">
[188b6b2]952 <primary sortas="b-switch_root">switch_root</primary>
953 </indexterm>
954 </listitem>
955 </varlistentry>
956
[e29fb58]957 <varlistentry id="tailf">
958 <term><command>tailf</command></term>
959 <listitem>
960 <para>Tracks the growth of a log file. Displays the last 10 lines
961 of a log file, then continues displaying any new entries in the
962 log file as they are created</para>
[9fedd70f]963 <indexterm zone="ch-system-util-linux tailf">
[e29fb58]964 <primary sortas="b-tailf">tailf</primary>
965 </indexterm>
966 </listitem>
967 </varlistentry>
968
[9e8d8ae]969 <varlistentry id="taskset">
970 <term><command>taskset</command></term>
971 <listitem>
972 <para>Retrieves or sets a process's CPU affinity</para>
[9fedd70f]973 <indexterm zone="ch-system-util-linux taskset">
[9e8d8ae]974 <primary sortas="b-taskset">taskset</primary>
975 </indexterm>
976 </listitem>
977 </varlistentry>
978
[3f8be484]979 <varlistentry id="ul">
980 <term><command>ul</command></term>
981 <listitem>
982 <para>A filter for translating underscores into escape sequences
983 indicating underlining for the terminal in use</para>
[9fedd70f]984 <indexterm zone="ch-system-util-linux ul">
[3f8be484]985 <primary sortas="b-ul">ul</primary>
986 </indexterm>
987 </listitem>
988 </varlistentry>
989
990 <varlistentry id="umount">
991 <term><command>umount</command></term>
992 <listitem>
993 <para>Disconnects a file system from the system's file tree</para>
[9fedd70f]994 <indexterm zone="ch-system-util-linux umount">
[3f8be484]995 <primary sortas="b-umount">umount</primary>
996 </indexterm>
997 </listitem>
998 </varlistentry>
999
[ba0660c]1000 <varlistentry id="unshare">
1001 <term><command>unshare</command></term>
1002 <listitem>
1003 <para>Runs a program with some namespaces unshared from parent</para>
1004 <indexterm zone="ch-system-util-linux unshare">
1005 <primary sortas="b-unshare">unshare</primary>
1006 </indexterm>
1007 </listitem>
1008 </varlistentry>
1009
[2d594b1]1010 <varlistentry id="utmpdump">
1011 <term><command>utmpdump</command></term>
1012 <listitem>
1013 <para>Displays the content of the given login file in a more
1014 user-friendly format</para>
1015 <indexterm zone="ch-system-util-linux utmpdump">
1016 <primary sortas="b-utmpdump">utmpdump</primary>
1017 </indexterm>
1018 </listitem>
1019 </varlistentry>
1020
[188b6b2]1021 <varlistentry id="uuidd">
1022 <term><command>uuidd</command></term>
1023 <listitem>
1024 <para>A daemon used by the UUID library to generate time-based
1025 UUIDs in a secure and guranteed-unique fashion.</para>
[9fedd70f]1026 <indexterm zone="ch-system-util-linux uuidd">
[188b6b2]1027 <primary sortas="b-uuidd">uuidd</primary>
1028 </indexterm>
1029 </listitem>
1030 </varlistentry>
1031
1032 <varlistentry id="uuidgen">
1033 <term><command>uuidgen</command></term>
1034 <listitem>
1035 <para>Creates new UUIDs. Each new UUID can reasonably be considered
1036 unique among all UUIDs created, on the local system and on other
1037 systems, in the past and in the future</para>
[9fedd70f]1038 <indexterm zone="ch-system-util-linux uuidgen">
[188b6b2]1039 <primary sortas="b-uuidgen">uuidgen</primary>
1040 </indexterm>
1041 </listitem>
1042 </varlistentry>
1043
[5a6ba9e]1044 <varlistentry id="wall">
1045 <term><command>wall</command></term>
1046 <listitem>
1047 <para>Writes a message to all logged-in users</para>
1048 <indexterm zone="ch-system-util-linux wall">
1049 <primary sortas="b-wall">wall</primary>
1050 </indexterm>
1051 </listitem>
1052 </varlistentry>
1053
[a318e22]1054 <varlistentry id="wdctl">
1055 <term><command>wdctl</command></term>
1056 <listitem>
1057 <para>Show hardware watchdog status</para>
1058 <indexterm zone="ch-system-util-linux wdctl">
1059 <primary sortas="b-uuidgen">wdctl</primary>
1060 </indexterm>
1061 </listitem>
1062 </varlistentry>
1063
[3f8be484]1064 <varlistentry id="whereis">
1065 <term><command>whereis</command></term>
1066 <listitem>
1067 <para>Reports the location of the binary, source, and man page
1068 for the given command</para>
[9fedd70f]1069 <indexterm zone="ch-system-util-linux whereis">
[3f8be484]1070 <primary sortas="b-whereis">whereis</primary>
1071 </indexterm>
1072 </listitem>
1073 </varlistentry>
1074
[ba0660c]1075 <varlistentry id="wipefs">
1076 <term><command>wipefs</command></term>
1077 <listitem>
1078 <para>Wipes a filesystem signature from a device</para>
1079 <indexterm zone="ch-system-util-linux wipefs">
1080 <primary sortas="b-wipefs">wipefs</primary>
1081 </indexterm>
1082 </listitem>
1083 </varlistentry>
1084
[3f8be484]1085 <varlistentry id="write">
1086 <term><command>write</command></term>
1087 <listitem>
1088 <para>Sends a message to the given user <emphasis>if</emphasis> that
1089 user has not disabled receipt of such messages</para>
[9fedd70f]1090 <indexterm zone="ch-system-util-linux write">
[3f8be484]1091 <primary sortas="b-write">write</primary>
1092 </indexterm>
1093 </listitem>
1094 </varlistentry>
1095
[98c59fa]1096 <varlistentry id="libblkid">
1097 <term><filename class="libraryfile">libblkid</filename></term>
1098 <listitem>
1099 <para>Contains routines for device identification and token
1100 extraction</para>
[9fedd70f]1101 <indexterm zone="ch-system-util-linux libblkid">
[98c59fa]1102 <primary sortas="c-libblkid">libblkid</primary>
1103 </indexterm>
1104 </listitem>
1105 </varlistentry>
1106
[ba0660c]1107 <varlistentry id="libmount">
1108 <term><filename class="libraryfile">libmount</filename></term>
1109 <listitem>
1110 <para>Contains routines for parsing the
1111 <filename>/etc/fstab</filename>, <filename>/etc/mtab</filename>,
1112 and <filename>/proc/self/mountinfo</filename> files, managing
1113 <filename>/etc/mtab</filename>, and configuring various mount
1114 options</para>
1115 <indexterm zone="ch-system-util-linux libmount">
1116 <primary sortas="c-libmount">libmount</primary>
1117 </indexterm>
1118 </listitem>
1119 </varlistentry>
1120
[98c59fa]1121 <varlistentry id="libuuid">
1122 <term><filename class="libraryfile">libuuid</filename></term>
1123 <listitem>
1124 <para>Contains routines for generating unique identifiers for objects
1125 that may be accessible beyond the local system</para>
[9fedd70f]1126 <indexterm zone="ch-system-util-linux libuuid">
[98c59fa]1127 <primary sortas="c-libuuid">libuuid</primary>
1128 </indexterm>
1129 </listitem>
1130 </varlistentry>
1131
[3f8be484]1132 </variablelist>
1133
1134 </sect2>
1135
1136</sect1>
Note: See TracBrowser for help on using the repository browser.