1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 | ]>
|
---|
7 |
|
---|
8 | <sect1 id="ch-system-util-linux-ng" role="wrap">
|
---|
9 | <?dbhtml filename="util-linux-ng.html"?>
|
---|
10 |
|
---|
11 | <title>Util-linux-ng-&util-linux-ng-version;</title>
|
---|
12 |
|
---|
13 | <indexterm zone="ch-system-util-linux-ng">
|
---|
14 | <primary sortas="a-Util-linux-ng">Util-linux-ng</primary>
|
---|
15 | </indexterm>
|
---|
16 |
|
---|
17 | <sect2 role="package">
|
---|
18 | <title/>
|
---|
19 |
|
---|
20 | <para>The Util-linux-ng package contains miscellaneous utility programs.
|
---|
21 | Among them are utilities for handling file systems, consoles, partitions,
|
---|
22 | and messages.</para>
|
---|
23 |
|
---|
24 | </sect2>
|
---|
25 |
|
---|
26 | <sect2 id="fhs-util-linux-ng" role="installation">
|
---|
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 |
|
---|
35 | <screen><userinput>sed -i 's@etc/adjtime@var/lib/hwclock/adjtime@g' \
|
---|
36 | hwclock/hwclock.c
|
---|
37 | mkdir -pv /var/lib/hwclock</userinput></screen>
|
---|
38 |
|
---|
39 | </sect2>
|
---|
40 |
|
---|
41 | <sect2 role="installation">
|
---|
42 | <title>Installation of Util-linux-ng</title>
|
---|
43 |
|
---|
44 | <para os="a">Prepare Util-linux-ng for compilation:</para>
|
---|
45 |
|
---|
46 | <screen os="b"><userinput>./configure --enable-arch \
|
---|
47 | --enable-partx --enable-write --disable-wall</userinput></screen>
|
---|
48 |
|
---|
49 | <variablelist os="c">
|
---|
50 | <title>The meaning of the configure options:</title>
|
---|
51 |
|
---|
52 | <varlistentry>
|
---|
53 | <term><parameter>--enable-arch</parameter></term>
|
---|
54 | <listitem>
|
---|
55 | <para>This option allows the <command>arch</command> program to be
|
---|
56 | installed.</para>
|
---|
57 | </listitem>
|
---|
58 | </varlistentry>
|
---|
59 |
|
---|
60 | <varlistentry>
|
---|
61 | <term><parameter>--enable-partx</parameter></term>
|
---|
62 | <listitem>
|
---|
63 | <para>Enables building the <command>addpart</command>, <command>delpart</command>,
|
---|
64 | <command>partx</command> programs.</para>
|
---|
65 | </listitem>
|
---|
66 | </varlistentry>
|
---|
67 |
|
---|
68 | <varlistentry>
|
---|
69 | <term><parameter>--enable-write</parameter></term>
|
---|
70 | <listitem>
|
---|
71 | <para>This option allows the <command>write</command> program to be
|
---|
72 | installed.</para>
|
---|
73 | </listitem>
|
---|
74 | </varlistentry>
|
---|
75 |
|
---|
76 | <varlistentry>
|
---|
77 | <term><parameter>--disable-wall</parameter></term>
|
---|
78 | <listitem>
|
---|
79 | <para>Disables building the <command>wall</command> program,
|
---|
80 | as the Sysvinit package installs its own version.</para>
|
---|
81 | </listitem>
|
---|
82 | </varlistentry>
|
---|
83 |
|
---|
84 | </variablelist>
|
---|
85 |
|
---|
86 | <para os="d">Compile the package:</para>
|
---|
87 |
|
---|
88 | <screen os="e"><userinput>make</userinput></screen>
|
---|
89 |
|
---|
90 | <para os="f">This package does not come with a test suite.</para>
|
---|
91 |
|
---|
92 | <para os="g">Install the package:</para>
|
---|
93 |
|
---|
94 | <screen os="h"><userinput>make install</userinput></screen>
|
---|
95 |
|
---|
96 | <para os="i">Move the <command>logger</command> binary to
|
---|
97 | <filename class="directory">/bin</filename> as it is needed by the
|
---|
98 | CLFS-Bootscripts package:</para>
|
---|
99 |
|
---|
100 | <screen os="j"><userinput>mv -v /usr/bin/logger /bin</userinput></screen>
|
---|
101 |
|
---|
102 | </sect2>
|
---|
103 |
|
---|
104 | <sect2 id="contents-util-linux-ng" role="content">
|
---|
105 | <title>Contents of Util-linux-ng</title>
|
---|
106 |
|
---|
107 | <segmentedlist>
|
---|
108 | <segtitle>Installed programs</segtitle>
|
---|
109 | <segtitle>Installed libraries</segtitle>
|
---|
110 |
|
---|
111 | <seglistitem>
|
---|
112 | <seg>addpart, agetty, arch, blkid, blockdev, cal, cfdisk, chkdupexe,
|
---|
113 | chrt, col, colcrt, colrm, column, ctrlaltdel, cytune, ddate, delpart,
|
---|
114 | dmesg, fdformat, fdisk, findfs, flock, fsck, fsck.cramfs, fsck.minix,
|
---|
115 | getopt, hexdump, hwclock, ionice, ipcmk, ipcrm, ipcs, isosize,
|
---|
116 | ldattach, line, logger, look, losetup, lscpu, mcookie, mkfs, mkfs.bfs,
|
---|
117 | mkfs.cramfs, mkfs.minix, mkswap, more, mount, namei, partx, pg,
|
---|
118 | pivot_root, readprofile, rename, renice, rev, rtcwake, script,
|
---|
119 | scriptreplay, setarch, setsid, setterm, sfdisk, swapoff (link to
|
---|
120 | swapon), swapon, switch_root, tailf, taskset, tunelp, ul, umount,
|
---|
121 | uuidd, uuidgen, whereis, and write</seg>
|
---|
122 | <seg>libblkid.[a,so] and libuuid.[a,so]</seg>
|
---|
123 | </seglistitem>
|
---|
124 | </segmentedlist>
|
---|
125 |
|
---|
126 | <variablelist>
|
---|
127 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
128 | <?dbfo list-presentation="list"?>
|
---|
129 | <?dbhtml list-presentation="table"?>
|
---|
130 |
|
---|
131 | <varlistentry id="addpart">
|
---|
132 | <term><command>addpart</command></term>
|
---|
133 | <listitem>
|
---|
134 | <para>Informs the kernel of a new partition</para>
|
---|
135 | <indexterm zone="ch-system-util-linux-ng addpart">
|
---|
136 | <primary sortas="b-addpart">addpart</primary>
|
---|
137 | </indexterm>
|
---|
138 | </listitem>
|
---|
139 | </varlistentry>
|
---|
140 |
|
---|
141 | <varlistentry id="agetty">
|
---|
142 | <term><command>agetty</command></term>
|
---|
143 | <listitem>
|
---|
144 | <para>Opens a tty port, prompts for a login name,
|
---|
145 | and then invokes the <command>login</command> program</para>
|
---|
146 | <indexterm zone="ch-system-util-linux-ng agetty">
|
---|
147 | <primary sortas="b-agetty">agetty</primary>
|
---|
148 | </indexterm>
|
---|
149 | </listitem>
|
---|
150 | </varlistentry>
|
---|
151 |
|
---|
152 | <varlistentry id="arch">
|
---|
153 | <term><command>arch</command></term>
|
---|
154 | <listitem>
|
---|
155 | <para>Reports the machine's architecture</para>
|
---|
156 | <indexterm zone="ch-system-util-linux-ng arch">
|
---|
157 | <primary sortas="b-arch">arch</primary>
|
---|
158 | </indexterm>
|
---|
159 | </listitem>
|
---|
160 | </varlistentry>
|
---|
161 |
|
---|
162 | <varlistentry id="blkid">
|
---|
163 | <term><command>blkid</command></term>
|
---|
164 | <listitem>
|
---|
165 | <para>A command line utility to locate and print block device
|
---|
166 | attributes</para>
|
---|
167 | <indexterm zone="ch-system-util-linux-ng blkid">
|
---|
168 | <primary sortas="b-blkid">blkid</primary>
|
---|
169 | </indexterm>
|
---|
170 | </listitem>
|
---|
171 | </varlistentry>
|
---|
172 |
|
---|
173 | <varlistentry id="blockdev">
|
---|
174 | <term><command>blockdev</command></term>
|
---|
175 | <listitem>
|
---|
176 | <para>Allows users to call block device ioctls from the command
|
---|
177 | line</para>
|
---|
178 | <indexterm zone="ch-system-util-linux-ng blockdev">
|
---|
179 | <primary sortas="b-blockdev">blockdev</primary>
|
---|
180 | </indexterm>
|
---|
181 | </listitem>
|
---|
182 | </varlistentry>
|
---|
183 |
|
---|
184 | <varlistentry id="cal">
|
---|
185 | <term><command>cal</command></term>
|
---|
186 | <listitem>
|
---|
187 | <para>Displays a simple calendar</para>
|
---|
188 | <indexterm zone="ch-system-util-linux-ng cal">
|
---|
189 | <primary sortas="b-cal">cal</primary>
|
---|
190 | </indexterm>
|
---|
191 | </listitem>
|
---|
192 | </varlistentry>
|
---|
193 |
|
---|
194 | <varlistentry id="cfdisk">
|
---|
195 | <term><command>cfdisk</command></term>
|
---|
196 | <listitem>
|
---|
197 | <para>Manipulates the partition table of the given device</para>
|
---|
198 | <indexterm zone="ch-system-util-linux-ng cfdisk">
|
---|
199 | <primary sortas="b-cfdisk">cfdisk</primary>
|
---|
200 | </indexterm>
|
---|
201 | </listitem>
|
---|
202 | </varlistentry>
|
---|
203 |
|
---|
204 | <varlistentry id="chkdupexe">
|
---|
205 | <term><command>chkdupexe</command></term>
|
---|
206 | <listitem>
|
---|
207 | <para>Finds duplicate executables</para>
|
---|
208 | <indexterm zone="ch-system-util-linux-ng chkdupexe">
|
---|
209 | <primary sortas="b-chkdupexe">chkdupexe</primary>
|
---|
210 | </indexterm>
|
---|
211 | </listitem>
|
---|
212 | </varlistentry>
|
---|
213 |
|
---|
214 | <varlistentry id="chrt">
|
---|
215 | <term><command>chrt</command></term>
|
---|
216 | <listitem>
|
---|
217 | <para>Manipulates real-time attributes of a process</para>
|
---|
218 | <indexterm zone="ch-system-util-linux-ng chrt">
|
---|
219 | <primary sortas="b-chrt">chrt</primary>
|
---|
220 | </indexterm>
|
---|
221 | </listitem>
|
---|
222 | </varlistentry>
|
---|
223 |
|
---|
224 | <varlistentry id="col">
|
---|
225 | <term><command>col</command></term>
|
---|
226 | <listitem>
|
---|
227 | <para>Filters out reverse line feeds</para>
|
---|
228 | <indexterm zone="ch-system-util-linux-ng col">
|
---|
229 | <primary sortas="b-col">col</primary>
|
---|
230 | </indexterm>
|
---|
231 | </listitem>
|
---|
232 | </varlistentry>
|
---|
233 |
|
---|
234 | <varlistentry id="colcrt">
|
---|
235 | <term><command>colcrt</command></term>
|
---|
236 | <listitem>
|
---|
237 | <para>Filters <command>nroff</command> output for terminals
|
---|
238 | that lack some capabilities, such as overstriking and half-lines</para>
|
---|
239 | <indexterm zone="ch-system-util-linux-ng colcrt">
|
---|
240 | <primary sortas="b-colcrt">colcrt</primary>
|
---|
241 | </indexterm>
|
---|
242 | </listitem>
|
---|
243 | </varlistentry>
|
---|
244 |
|
---|
245 | <varlistentry id="colrm">
|
---|
246 | <term><command>colrm</command></term>
|
---|
247 | <listitem>
|
---|
248 | <para>Filters out the given columns</para>
|
---|
249 | <indexterm zone="ch-system-util-linux-ng colrm">
|
---|
250 | <primary sortas="b-colrm">colrm</primary>
|
---|
251 | </indexterm>
|
---|
252 | </listitem>
|
---|
253 | </varlistentry>
|
---|
254 |
|
---|
255 | <varlistentry id="column">
|
---|
256 | <term><command>column</command></term>
|
---|
257 | <listitem>
|
---|
258 | <para>Formats a given file into multiple columns</para>
|
---|
259 | <indexterm zone="ch-system-util-linux-ng column">
|
---|
260 | <primary sortas="b-column">column</primary>
|
---|
261 | </indexterm>
|
---|
262 | </listitem>
|
---|
263 | </varlistentry>
|
---|
264 |
|
---|
265 | <varlistentry id="ctrlaltdel">
|
---|
266 | <term><command>ctrlaltdel</command></term>
|
---|
267 | <listitem>
|
---|
268 | <para>Sets the function of the Ctrl+Alt+Del key combination to a
|
---|
269 | hard or a soft reset</para>
|
---|
270 | <indexterm zone="ch-system-util-linux-ng ctrlaltdel">
|
---|
271 | <primary sortas="b-ctrlaltdel">ctrlaltdel</primary>
|
---|
272 | </indexterm>
|
---|
273 | </listitem>
|
---|
274 | </varlistentry>
|
---|
275 |
|
---|
276 | <varlistentry id="cytune">
|
---|
277 | <term><command>cytune</command></term>
|
---|
278 | <listitem>
|
---|
279 | <para>Tunes the parameters of the serial line drivers for
|
---|
280 | Cyclades cards</para>
|
---|
281 | <indexterm zone="ch-system-util-linux-ng cytune">
|
---|
282 | <primary sortas="b-cytune">cytune</primary>
|
---|
283 | </indexterm>
|
---|
284 | </listitem>
|
---|
285 | </varlistentry>
|
---|
286 |
|
---|
287 | <varlistentry id="ddate">
|
---|
288 | <term><command>ddate</command></term>
|
---|
289 | <listitem>
|
---|
290 | <para>Gives the Discordian date or converts the given Gregorian date
|
---|
291 | to a Discordian one</para>
|
---|
292 | <indexterm zone="ch-system-util-linux-ng ddate">
|
---|
293 | <primary sortas="b-ddate">ddate</primary>
|
---|
294 | </indexterm>
|
---|
295 | </listitem>
|
---|
296 | </varlistentry>
|
---|
297 |
|
---|
298 | <varlistentry id="delpart">
|
---|
299 | <term><command>delpart</command></term>
|
---|
300 | <listitem>
|
---|
301 | <para>Asks the kernel to remove a partition</para>
|
---|
302 | <indexterm zone="ch-system-util-linux-ng delpart">
|
---|
303 | <primary sortas="b-delpart">delpart</primary>
|
---|
304 | </indexterm>
|
---|
305 | </listitem>
|
---|
306 | </varlistentry>
|
---|
307 |
|
---|
308 | <varlistentry id="dmesg">
|
---|
309 | <term><command>dmesg</command></term>
|
---|
310 | <listitem>
|
---|
311 | <para>Dumps the kernel boot messages</para>
|
---|
312 | <indexterm zone="ch-system-util-linux-ng dmesg">
|
---|
313 | <primary sortas="b-dmesg">dmesg</primary>
|
---|
314 | </indexterm>
|
---|
315 | </listitem>
|
---|
316 | </varlistentry>
|
---|
317 |
|
---|
318 | <varlistentry id="fdformat">
|
---|
319 | <term><command>fdformat</command></term>
|
---|
320 | <listitem>
|
---|
321 | <para>Low-level formats a floppy disk</para>
|
---|
322 | <indexterm zone="ch-system-util-linux-ng fdformat">
|
---|
323 | <primary sortas="b-fdformat">fdformat</primary>
|
---|
324 | </indexterm>
|
---|
325 | </listitem>
|
---|
326 | </varlistentry>
|
---|
327 |
|
---|
328 | <varlistentry id="fdisk">
|
---|
329 | <term><command>fdisk</command></term>
|
---|
330 | <listitem>
|
---|
331 | <para>Manipulates the partition table of the given device</para>
|
---|
332 | <indexterm zone="ch-system-util-linux-ng fdisk">
|
---|
333 | <primary sortas="b-fdisk">fdisk</primary>
|
---|
334 | </indexterm>
|
---|
335 | </listitem>
|
---|
336 | </varlistentry>
|
---|
337 |
|
---|
338 | <varlistentry id="findfs">
|
---|
339 | <term><command>findfs</command></term>
|
---|
340 | <listitem>
|
---|
341 | <para>Finds a file system by label or Universally Unique Identifier
|
---|
342 | (UUID)</para>
|
---|
343 | <indexterm zone="ch-system-util-linux-ng findfs">
|
---|
344 | <primary sortas="b-findfs">findfs</primary>
|
---|
345 | </indexterm>
|
---|
346 | </listitem>
|
---|
347 | </varlistentry>
|
---|
348 |
|
---|
349 | <varlistentry id="flock">
|
---|
350 | <term><command>flock</command></term>
|
---|
351 | <listitem>
|
---|
352 | <para>Acquires a file lock and then executes a command with the lock
|
---|
353 | held</para>
|
---|
354 | <indexterm zone="ch-system-util-linux-ng flock">
|
---|
355 | <primary sortas="b-flock">flock</primary>
|
---|
356 | </indexterm>
|
---|
357 | </listitem>
|
---|
358 | </varlistentry>
|
---|
359 |
|
---|
360 | <varlistentry id="fsck">
|
---|
361 | <term><command>fsck</command></term>
|
---|
362 | <listitem>
|
---|
363 | <para>Is used to check, and optionally repair, file systems</para>
|
---|
364 | <indexterm zone="ch-system-util-linux-ng fsck">
|
---|
365 | <primary sortas="b-fsck">fsck</primary>
|
---|
366 | </indexterm>
|
---|
367 | </listitem>
|
---|
368 | </varlistentry>
|
---|
369 |
|
---|
370 | <varlistentry id="fsck.cramfs">
|
---|
371 | <term><command>fsck.cramfs</command></term>
|
---|
372 | <listitem>
|
---|
373 | <para>Performs a consistency check on the Cramfs file system on the
|
---|
374 | given device</para>
|
---|
375 | <indexterm zone="ch-system-util-linux-ng fsck.cramfs">
|
---|
376 | <primary sortas="b-fsck.cramfs">fsck.cramfs</primary>
|
---|
377 | </indexterm>
|
---|
378 | </listitem>
|
---|
379 | </varlistentry>
|
---|
380 |
|
---|
381 | <varlistentry id="fsck.minix">
|
---|
382 | <term><command>fsck.minix</command></term>
|
---|
383 | <listitem>
|
---|
384 | <para>Performs a consistency check on the Minix file system on the
|
---|
385 | given device</para>
|
---|
386 | <indexterm zone="ch-system-util-linux-ng fsck.minix">
|
---|
387 | <primary sortas="b-fsck.minix">fsck.minix</primary>
|
---|
388 | </indexterm>
|
---|
389 | </listitem>
|
---|
390 | </varlistentry>
|
---|
391 |
|
---|
392 | <varlistentry id="getopt">
|
---|
393 | <term><command>getopt</command></term>
|
---|
394 | <listitem>
|
---|
395 | <para>Parses options in the given command line</para>
|
---|
396 | <indexterm zone="ch-system-util-linux-ng getopt">
|
---|
397 | <primary sortas="b-getopt">getopt</primary>
|
---|
398 | </indexterm>
|
---|
399 | </listitem>
|
---|
400 | </varlistentry>
|
---|
401 |
|
---|
402 | <varlistentry id="hexdump">
|
---|
403 | <term><command>hexdump</command></term>
|
---|
404 | <listitem>
|
---|
405 | <para>Dumps the given file in hexadecimal or in another given
|
---|
406 | format</para>
|
---|
407 | <indexterm zone="ch-system-util-linux-ng hexdump">
|
---|
408 | <primary sortas="b-hexdump">hexdump</primary>
|
---|
409 | </indexterm>
|
---|
410 | </listitem>
|
---|
411 | </varlistentry>
|
---|
412 |
|
---|
413 | <varlistentry id="hwclock">
|
---|
414 | <term><command>hwclock</command></term>
|
---|
415 | <listitem>
|
---|
416 | <para>Reads or sets the system's hardware clock, also called
|
---|
417 | the Real-Time Clock (RTC) or Basic Input-Output System (BIOS)
|
---|
418 | clock</para>
|
---|
419 | <indexterm zone="ch-system-util-linux-ng hwclock">
|
---|
420 | <primary sortas="b-hwclock">hwclock</primary>
|
---|
421 | </indexterm>
|
---|
422 | </listitem>
|
---|
423 | </varlistentry>
|
---|
424 |
|
---|
425 | <varlistentry id="ionice">
|
---|
426 | <term><command>ionice</command></term>
|
---|
427 | <listitem>
|
---|
428 | <para>Gives and sets program I/O scheduling class and priority</para>
|
---|
429 | <indexterm zone="ch-system-util-linux-ng ionice">
|
---|
430 | <primary sortas="b-ionice">ionice</primary>
|
---|
431 | </indexterm>
|
---|
432 | </listitem>
|
---|
433 | </varlistentry>
|
---|
434 |
|
---|
435 | <varlistentry id="ipcmk">
|
---|
436 | <term><command>ipcmk</command></term>
|
---|
437 | <listitem>
|
---|
438 | <para>Creates various IPC resources</para>
|
---|
439 | <indexterm zone="ch-system-util-linux-ng ipcmk">
|
---|
440 | <primary sortas="b-ipcmk">ipcmk</primary>
|
---|
441 | </indexterm>
|
---|
442 | </listitem>
|
---|
443 | </varlistentry>
|
---|
444 |
|
---|
445 | <varlistentry id="ipcrm">
|
---|
446 | <term><command>ipcrm</command></term>
|
---|
447 | <listitem>
|
---|
448 | <para>Removes the given Inter-Process Communication (IPC) resource</para>
|
---|
449 | <indexterm zone="ch-system-util-linux-ng ipcrm">
|
---|
450 | <primary sortas="b-ipcrm">ipcrm</primary>
|
---|
451 | </indexterm>
|
---|
452 | </listitem>
|
---|
453 | </varlistentry>
|
---|
454 |
|
---|
455 | <varlistentry id="ipcs">
|
---|
456 | <term><command>ipcs</command></term>
|
---|
457 | <listitem>
|
---|
458 | <para>Provides IPC status information</para>
|
---|
459 | <indexterm zone="ch-system-util-linux-ng ipcs">
|
---|
460 | <primary sortas="b-ipcs">ipcs</primary>
|
---|
461 | </indexterm>
|
---|
462 | </listitem>
|
---|
463 | </varlistentry>
|
---|
464 |
|
---|
465 | <varlistentry id="isosize">
|
---|
466 | <term><command>isosize</command></term>
|
---|
467 | <listitem>
|
---|
468 | <para>Reports the size of an iso9660 file system</para>
|
---|
469 | <indexterm zone="ch-system-util-linux-ng isosize">
|
---|
470 | <primary sortas="b-isosize">isosize</primary>
|
---|
471 | </indexterm>
|
---|
472 | </listitem>
|
---|
473 | </varlistentry>
|
---|
474 |
|
---|
475 | <varlistentry id="ldattach">
|
---|
476 | <term><command>ldattach</command></term>
|
---|
477 | <listitem>
|
---|
478 | <para>Attaches a line discipline to a serial line</para>
|
---|
479 | <indexterm zone="ch-system-util-linux-ng ldattach">
|
---|
480 | <primary sortas="b-ldattach">ldattach</primary>
|
---|
481 | </indexterm>
|
---|
482 | </listitem>
|
---|
483 | </varlistentry>
|
---|
484 |
|
---|
485 | <varlistentry id="line">
|
---|
486 | <term><command>line</command></term>
|
---|
487 | <listitem>
|
---|
488 | <para>Copies a single line</para>
|
---|
489 | <indexterm zone="ch-system-util-linux-ng line">
|
---|
490 | <primary sortas="b-line">line</primary>
|
---|
491 | </indexterm>
|
---|
492 | </listitem>
|
---|
493 | </varlistentry>
|
---|
494 |
|
---|
495 | <varlistentry id="logger">
|
---|
496 | <term><command>logger</command></term>
|
---|
497 | <listitem>
|
---|
498 | <para>Enters the given message into the system log</para>
|
---|
499 | <indexterm zone="ch-system-util-linux-ng logger">
|
---|
500 | <primary sortas="b-logger">logger</primary>
|
---|
501 | </indexterm>
|
---|
502 | </listitem>
|
---|
503 | </varlistentry>
|
---|
504 |
|
---|
505 | <varlistentry id="look">
|
---|
506 | <term><command>look</command></term>
|
---|
507 | <listitem>
|
---|
508 | <para>Displays lines that begin with the given string</para>
|
---|
509 | <indexterm zone="ch-system-util-linux-ng look">
|
---|
510 | <primary sortas="b-look">look</primary>
|
---|
511 | </indexterm>
|
---|
512 | </listitem>
|
---|
513 | </varlistentry>
|
---|
514 |
|
---|
515 | <varlistentry id="losetup">
|
---|
516 | <term><command>losetup</command></term>
|
---|
517 | <listitem>
|
---|
518 | <para>Sets up and controls loop devices</para>
|
---|
519 | <indexterm zone="ch-system-util-linux-ng losetup">
|
---|
520 | <primary sortas="b-losetup">losetup</primary>
|
---|
521 | </indexterm>
|
---|
522 | </listitem>
|
---|
523 | </varlistentry>
|
---|
524 |
|
---|
525 | <varlistentry id="lscpu">
|
---|
526 | <term><command>lscpu</command></term>
|
---|
527 | <listitem>
|
---|
528 | <para>Prints CPU architechture information</para>
|
---|
529 | <indexterm zone="ch-system-util-linux-ng lscpu">
|
---|
530 | <primary sortas="b-lscpu">lscpu</primary>
|
---|
531 | </indexterm>
|
---|
532 | </listitem>
|
---|
533 | </varlistentry>
|
---|
534 |
|
---|
535 | <varlistentry id="mcookie">
|
---|
536 | <term><command>mcookie</command></term>
|
---|
537 | <listitem>
|
---|
538 | <para>Generates magic cookies (128-bit random hexadecimal numbers) for
|
---|
539 | <command>xauth</command></para>
|
---|
540 | <indexterm zone="ch-system-util-linux-ng mcookie">
|
---|
541 | <primary sortas="b-mcookie">mcookie</primary>
|
---|
542 | </indexterm>
|
---|
543 | </listitem>
|
---|
544 | </varlistentry>
|
---|
545 |
|
---|
546 | <varlistentry id="mkfs">
|
---|
547 | <term><command>mkfs</command></term>
|
---|
548 | <listitem>
|
---|
549 | <para>Builds a file system on a device (usually a hard disk
|
---|
550 | partition)</para>
|
---|
551 | <indexterm zone="ch-system-util-linux-ng mkfs">
|
---|
552 | <primary sortas="b-mkfs">mkfs</primary>
|
---|
553 | </indexterm>
|
---|
554 | </listitem>
|
---|
555 | </varlistentry>
|
---|
556 |
|
---|
557 | <varlistentry id="mkfs.bfs">
|
---|
558 | <term><command>mkfs.bfs</command></term>
|
---|
559 | <listitem>
|
---|
560 | <para>Creates a Santa Cruz Operations (SCO) bfs file system</para>
|
---|
561 | <indexterm zone="ch-system-util-linux-ng mkfs.bfs">
|
---|
562 | <primary sortas="b-mkfs.bfs">mkfs.bfs</primary>
|
---|
563 | </indexterm>
|
---|
564 | </listitem>
|
---|
565 | </varlistentry>
|
---|
566 |
|
---|
567 | <varlistentry id="mkfs.cramfs">
|
---|
568 | <term><command>mkfs.cramfs</command></term>
|
---|
569 | <listitem>
|
---|
570 | <para>Creates a cramfs file system</para>
|
---|
571 | <indexterm zone="ch-system-util-linux-ng mkfs.cramfs">
|
---|
572 | <primary sortas="b-mkfs.cramfs">mkfs.cramfs</primary>
|
---|
573 | </indexterm>
|
---|
574 | </listitem>
|
---|
575 | </varlistentry>
|
---|
576 |
|
---|
577 | <varlistentry id="mkfs.minix">
|
---|
578 | <term><command>mkfs.minix</command></term>
|
---|
579 | <listitem>
|
---|
580 | <para>Creates a Minix file system</para>
|
---|
581 | <indexterm zone="ch-system-util-linux-ng mkfs.minix">
|
---|
582 | <primary sortas="b-mkfs.minix">mkfs.minix</primary>
|
---|
583 | </indexterm>
|
---|
584 | </listitem>
|
---|
585 | </varlistentry>
|
---|
586 |
|
---|
587 | <varlistentry id="mkswap">
|
---|
588 | <term><command>mkswap</command></term>
|
---|
589 | <listitem>
|
---|
590 | <para>Initializes the given device or file to be used as a swap
|
---|
591 | area</para>
|
---|
592 | <indexterm zone="ch-system-util-linux-ng mkswap">
|
---|
593 | <primary sortas="b-mkswap">mkswap</primary>
|
---|
594 | </indexterm>
|
---|
595 | </listitem>
|
---|
596 | </varlistentry>
|
---|
597 |
|
---|
598 | <varlistentry id="more">
|
---|
599 | <term><command>more</command></term>
|
---|
600 | <listitem>
|
---|
601 | <para>A filter for paging through text one screen at a time</para>
|
---|
602 | <indexterm zone="ch-system-util-linux-ng more">
|
---|
603 | <primary sortas="b-more">more</primary>
|
---|
604 | </indexterm>
|
---|
605 | </listitem>
|
---|
606 | </varlistentry>
|
---|
607 |
|
---|
608 | <varlistentry id="mount">
|
---|
609 | <term><command>mount</command></term>
|
---|
610 | <listitem>
|
---|
611 | <para>Attaches the file system on the given device to a specified
|
---|
612 | directory in the file-system tree</para>
|
---|
613 | <indexterm zone="ch-system-util-linux-ng mount">
|
---|
614 | <primary sortas="b-mount">mount</primary>
|
---|
615 | </indexterm>
|
---|
616 | </listitem>
|
---|
617 | </varlistentry>
|
---|
618 |
|
---|
619 | <varlistentry id="namei">
|
---|
620 | <term><command>namei</command></term>
|
---|
621 | <listitem>
|
---|
622 | <para>Shows the symbolic links in the given pathnames</para>
|
---|
623 | <indexterm zone="ch-system-util-linux-ng namei">
|
---|
624 | <primary sortas="b-namei">namei</primary>
|
---|
625 | </indexterm>
|
---|
626 | </listitem>
|
---|
627 | </varlistentry>
|
---|
628 |
|
---|
629 | <varlistentry id="partx">
|
---|
630 | <term><command>partx</command></term>
|
---|
631 | <listitem>
|
---|
632 | <para>Tells the kernel about the presence and numbering of on-disk
|
---|
633 | partitions</para>
|
---|
634 | <indexterm zone="ch-system-util-linux-ng partx">
|
---|
635 | <primary sortas="b-partx">partx</primary>
|
---|
636 | </indexterm>
|
---|
637 | </listitem>
|
---|
638 | </varlistentry>
|
---|
639 |
|
---|
640 | <varlistentry id="pg">
|
---|
641 | <term><command>pg</command></term>
|
---|
642 | <listitem>
|
---|
643 | <para>Displays a text file one screen full at a time</para>
|
---|
644 | <indexterm zone="ch-system-util-linux-ng pg">
|
---|
645 | <primary sortas="b-pg">pg</primary>
|
---|
646 | </indexterm>
|
---|
647 | </listitem>
|
---|
648 | </varlistentry>
|
---|
649 |
|
---|
650 | <varlistentry id="pivot_root">
|
---|
651 | <term><command>pivot_root</command></term>
|
---|
652 | <listitem>
|
---|
653 | <para>Makes the given file system the new root file system of the
|
---|
654 | current process</para>
|
---|
655 | <indexterm zone="ch-system-util-linux-ng pivot_root">
|
---|
656 | <primary sortas="b-pivot_root">pivot_root</primary>
|
---|
657 | </indexterm>
|
---|
658 | </listitem>
|
---|
659 | </varlistentry>
|
---|
660 |
|
---|
661 | <varlistentry id="readprofile">
|
---|
662 | <term><command>readprofile</command></term>
|
---|
663 | <listitem>
|
---|
664 | <para>Reads kernel profiling information</para>
|
---|
665 | <indexterm zone="ch-system-util-linux-ng readprofile">
|
---|
666 | <primary sortas="b-readprofile">readprofile</primary>
|
---|
667 | </indexterm>
|
---|
668 | </listitem>
|
---|
669 | </varlistentry>
|
---|
670 |
|
---|
671 | <varlistentry id="rename">
|
---|
672 | <term><command>rename</command></term>
|
---|
673 | <listitem>
|
---|
674 | <para>Renames the given files, replacing a given string with
|
---|
675 | another</para>
|
---|
676 | <indexterm zone="ch-system-util-linux-ng rename">
|
---|
677 | <primary sortas="b-rename">rename</primary>
|
---|
678 | </indexterm>
|
---|
679 | </listitem>
|
---|
680 | </varlistentry>
|
---|
681 |
|
---|
682 | <varlistentry id="renice">
|
---|
683 | <term><command>renice</command></term>
|
---|
684 | <listitem>
|
---|
685 | <para>Alters the priority of running processes</para>
|
---|
686 | <indexterm zone="ch-system-util-linux-ng renice">
|
---|
687 | <primary sortas="b-renice">renice</primary>
|
---|
688 | </indexterm>
|
---|
689 | </listitem>
|
---|
690 | </varlistentry>
|
---|
691 |
|
---|
692 | <varlistentry id="rev">
|
---|
693 | <term><command>rev</command></term>
|
---|
694 | <listitem>
|
---|
695 | <para>Reverses the lines of a given file</para>
|
---|
696 | <indexterm zone="ch-system-util-linux-ng rev">
|
---|
697 | <primary sortas="b-rev">rev</primary>
|
---|
698 | </indexterm>
|
---|
699 | </listitem>
|
---|
700 | </varlistentry>
|
---|
701 |
|
---|
702 | <varlistentry id="rtcwake">
|
---|
703 | <term><command>rtcwake</command></term>
|
---|
704 | <listitem>
|
---|
705 | <para>Enters a system sleep state until a specified wakeup time</para>
|
---|
706 | <indexterm zone="ch-system-util-linux-ng rtcwake">
|
---|
707 | <primary sortas="b-rtcwake">rtcwake</primary>
|
---|
708 | </indexterm>
|
---|
709 | </listitem>
|
---|
710 | </varlistentry>
|
---|
711 |
|
---|
712 | <varlistentry id="script">
|
---|
713 | <term><command>script</command></term>
|
---|
714 | <listitem>
|
---|
715 | <para>Makes a typescript of a terminal session</para>
|
---|
716 | <indexterm zone="ch-system-util-linux-ng script">
|
---|
717 | <primary sortas="b-script">script</primary>
|
---|
718 | </indexterm>
|
---|
719 | </listitem>
|
---|
720 | </varlistentry>
|
---|
721 |
|
---|
722 | <varlistentry id="scriptreplay">
|
---|
723 | <term><command>scriptreplay</command></term>
|
---|
724 | <listitem>
|
---|
725 | <para>Plays back typescripts created by <command>script</command></para>
|
---|
726 | <indexterm zone="ch-system-util-linux-ng scriptreplay">
|
---|
727 | <primary sortas="b-scriptreplay">scriptreplay</primary>
|
---|
728 | </indexterm>
|
---|
729 | </listitem>
|
---|
730 | </varlistentry>
|
---|
731 |
|
---|
732 | <varlistentry id="setarch">
|
---|
733 | <term><command>setarch</command></term>
|
---|
734 | <listitem>
|
---|
735 | <para>Changes reported architecture in new program environment and
|
---|
736 | sets personality flags</para>
|
---|
737 | <indexterm zone="ch-system-util-linux-ng setarch">
|
---|
738 | <primary sortas="b-setarch">setarch</primary>
|
---|
739 | </indexterm>
|
---|
740 | </listitem>
|
---|
741 | </varlistentry>
|
---|
742 |
|
---|
743 | <varlistentry id="setsid">
|
---|
744 | <term><command>setsid</command></term>
|
---|
745 | <listitem>
|
---|
746 | <para>Runs the given program in a new session</para>
|
---|
747 | <indexterm zone="ch-system-util-linux-ng setsid">
|
---|
748 | <primary sortas="b-setsid">setsid</primary>
|
---|
749 | </indexterm>
|
---|
750 | </listitem>
|
---|
751 | </varlistentry>
|
---|
752 |
|
---|
753 | <varlistentry id="setterm">
|
---|
754 | <term><command>setterm</command></term>
|
---|
755 | <listitem>
|
---|
756 | <para>Sets terminal attributes</para>
|
---|
757 | <indexterm zone="ch-system-util-linux-ng setterm">
|
---|
758 | <primary sortas="b-setterm">setterm</primary>
|
---|
759 | </indexterm>
|
---|
760 | </listitem>
|
---|
761 | </varlistentry>
|
---|
762 |
|
---|
763 | <varlistentry id="sfdisk">
|
---|
764 | <term><command>sfdisk</command></term>
|
---|
765 | <listitem>
|
---|
766 | <para>A disk partition table manipulator</para>
|
---|
767 | <indexterm zone="ch-system-util-linux-ng sfdisk">
|
---|
768 | <primary sortas="b-sfdisk">sfdisk</primary>
|
---|
769 | </indexterm>
|
---|
770 | </listitem>
|
---|
771 | </varlistentry>
|
---|
772 |
|
---|
773 | <varlistentry id="swapoff">
|
---|
774 | <term><command>swapoff</command></term>
|
---|
775 | <listitem>
|
---|
776 | <para>Disables devices and files for paging and swapping</para>
|
---|
777 | <indexterm zone="ch-system-util-linux-ng swapoff">
|
---|
778 | <primary sortas="b-swapoff">swapoff</primary>
|
---|
779 | </indexterm>
|
---|
780 | </listitem>
|
---|
781 | </varlistentry>
|
---|
782 |
|
---|
783 | <varlistentry id="swapon">
|
---|
784 | <term><command>swapon</command></term>
|
---|
785 | <listitem>
|
---|
786 | <para>Enables devices and files for paging and swapping and
|
---|
787 | lists the devices and files currently in use</para>
|
---|
788 | <indexterm zone="ch-system-util-linux-ng swapon">
|
---|
789 | <primary sortas="b-swapon">swapon</primary>
|
---|
790 | </indexterm>
|
---|
791 | </listitem>
|
---|
792 | </varlistentry>
|
---|
793 |
|
---|
794 | <varlistentry id="switch_root">
|
---|
795 | <term><command>switch_root</command></term>
|
---|
796 | <listitem>
|
---|
797 | <para>Switches to another filesystem as the root of the mount tree</para>
|
---|
798 | <indexterm zone="ch-system-util-linux-ng switch_root">
|
---|
799 | <primary sortas="b-switch_root">switch_root</primary>
|
---|
800 | </indexterm>
|
---|
801 | </listitem>
|
---|
802 | </varlistentry>
|
---|
803 |
|
---|
804 | <varlistentry id="tailf">
|
---|
805 | <term><command>tailf</command></term>
|
---|
806 | <listitem>
|
---|
807 | <para>Tracks the growth of a log file. Displays the last 10 lines
|
---|
808 | of a log file, then continues displaying any new entries in the
|
---|
809 | log file as they are created</para>
|
---|
810 | <indexterm zone="ch-system-util-linux-ng tailf">
|
---|
811 | <primary sortas="b-tailf">tailf</primary>
|
---|
812 | </indexterm>
|
---|
813 | </listitem>
|
---|
814 | </varlistentry>
|
---|
815 |
|
---|
816 | <varlistentry id="taskset">
|
---|
817 | <term><command>taskset</command></term>
|
---|
818 | <listitem>
|
---|
819 | <para>Retrieves or sets a process's CPU affinity</para>
|
---|
820 | <indexterm zone="ch-system-util-linux-ng taskset">
|
---|
821 | <primary sortas="b-taskset">taskset</primary>
|
---|
822 | </indexterm>
|
---|
823 | </listitem>
|
---|
824 | </varlistentry>
|
---|
825 |
|
---|
826 | <varlistentry id="tunelp">
|
---|
827 | <term><command>tunelp</command></term>
|
---|
828 | <listitem>
|
---|
829 | <para>Tunes the parameters of the line printer</para>
|
---|
830 | <indexterm zone="ch-system-util-linux-ng tunelp">
|
---|
831 | <primary sortas="b-tunelp">tunelp</primary>
|
---|
832 | </indexterm>
|
---|
833 | </listitem>
|
---|
834 | </varlistentry>
|
---|
835 |
|
---|
836 | <varlistentry id="ul">
|
---|
837 | <term><command>ul</command></term>
|
---|
838 | <listitem>
|
---|
839 | <para>A filter for translating underscores into escape sequences
|
---|
840 | indicating underlining for the terminal in use</para>
|
---|
841 | <indexterm zone="ch-system-util-linux-ng ul">
|
---|
842 | <primary sortas="b-ul">ul</primary>
|
---|
843 | </indexterm>
|
---|
844 | </listitem>
|
---|
845 | </varlistentry>
|
---|
846 |
|
---|
847 | <varlistentry id="umount">
|
---|
848 | <term><command>umount</command></term>
|
---|
849 | <listitem>
|
---|
850 | <para>Disconnects a file system from the system's file tree</para>
|
---|
851 | <indexterm zone="ch-system-util-linux-ng umount">
|
---|
852 | <primary sortas="b-umount">umount</primary>
|
---|
853 | </indexterm>
|
---|
854 | </listitem>
|
---|
855 | </varlistentry>
|
---|
856 |
|
---|
857 | <varlistentry id="uuidd">
|
---|
858 | <term><command>uuidd</command></term>
|
---|
859 | <listitem>
|
---|
860 | <para>A daemon used by the UUID library to generate time-based
|
---|
861 | UUIDs in a secure and guranteed-unique fashion.</para>
|
---|
862 | <indexterm zone="ch-system-util-linux-ng uuidd">
|
---|
863 | <primary sortas="b-uuidd">uuidd</primary>
|
---|
864 | </indexterm>
|
---|
865 | </listitem>
|
---|
866 | </varlistentry>
|
---|
867 |
|
---|
868 | <varlistentry id="uuidgen">
|
---|
869 | <term><command>uuidgen</command></term>
|
---|
870 | <listitem>
|
---|
871 | <para>Creates new UUIDs. Each new UUID can reasonably be considered
|
---|
872 | unique among all UUIDs created, on the local system and on other
|
---|
873 | systems, in the past and in the future</para>
|
---|
874 | <indexterm zone="ch-system-util-linux-ng uuidgen">
|
---|
875 | <primary sortas="b-uuidgen">uuidgen</primary>
|
---|
876 | </indexterm>
|
---|
877 | </listitem>
|
---|
878 | </varlistentry>
|
---|
879 |
|
---|
880 | <varlistentry id="whereis">
|
---|
881 | <term><command>whereis</command></term>
|
---|
882 | <listitem>
|
---|
883 | <para>Reports the location of the binary, source, and man page
|
---|
884 | for the given command</para>
|
---|
885 | <indexterm zone="ch-system-util-linux-ng whereis">
|
---|
886 | <primary sortas="b-whereis">whereis</primary>
|
---|
887 | </indexterm>
|
---|
888 | </listitem>
|
---|
889 | </varlistentry>
|
---|
890 |
|
---|
891 | <varlistentry id="write">
|
---|
892 | <term><command>write</command></term>
|
---|
893 | <listitem>
|
---|
894 | <para>Sends a message to the given user <emphasis>if</emphasis> that
|
---|
895 | user has not disabled receipt of such messages</para>
|
---|
896 | <indexterm zone="ch-system-util-linux-ng write">
|
---|
897 | <primary sortas="b-write">write</primary>
|
---|
898 | </indexterm>
|
---|
899 | </listitem>
|
---|
900 | </varlistentry>
|
---|
901 |
|
---|
902 | <varlistentry id="libblkid">
|
---|
903 | <term><filename class="libraryfile">libblkid</filename></term>
|
---|
904 | <listitem>
|
---|
905 | <para>Contains routines for device identification and token
|
---|
906 | extraction</para>
|
---|
907 | <indexterm zone="ch-system-util-linux-ng libblkid">
|
---|
908 | <primary sortas="c-libblkid">libblkid</primary>
|
---|
909 | </indexterm>
|
---|
910 | </listitem>
|
---|
911 | </varlistentry>
|
---|
912 |
|
---|
913 | <varlistentry id="libuuid">
|
---|
914 | <term><filename class="libraryfile">libuuid</filename></term>
|
---|
915 | <listitem>
|
---|
916 | <para>Contains routines for generating unique identifiers for objects
|
---|
917 | that may be accessible beyond the local system</para>
|
---|
918 | <indexterm zone="ch-system-util-linux-ng libuuid">
|
---|
919 | <primary sortas="c-libuuid">libuuid</primary>
|
---|
920 | </indexterm>
|
---|
921 | </listitem>
|
---|
922 | </varlistentry>
|
---|
923 |
|
---|
924 | </variablelist>
|
---|
925 |
|
---|
926 | </sect2>
|
---|
927 |
|
---|
928 | </sect1>
|
---|