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

systemd
Last change on this file since eb0b573 was 7cd7f99, checked in by Chris Staub <chris@…>, 9 years ago

Put one configure option per line

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