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, blockdev, cal, cfdisk, chkdupexe, chrt,
|
---|
113 | col, colcrt, colrm, column, ctrlaltdel, cytune, ddate, delpart, dmesg,
|
---|
114 | fdformat, fdisk, flock, fsck.cramfs, fsck.minix, getopt, hexdump,
|
---|
115 | hwclock, ionice, ipcmk, ipcrm, ipcs, isosize, ldattach, line, logger,
|
---|
116 | look, losetup, lscpu, mcookie, mkfs, mkfs.bfs, mkfs.cramfs, mkfs.minix,
|
---|
117 | mkswap, more, mount, namei, partx, pg, pivot_root, readprofile, rename,
|
---|
118 | renice, rev, rtcwake, script, scriptreplay, setarch, setsid, setterm,
|
---|
119 | sfdisk, swapoff (link to swapon), swapon, tailf, taskset, tunelp, ul,
|
---|
120 | umount, whereis, and write</seg>
|
---|
121 | <seg>libblkid.[a,so] and libuuid.[a,so]</seg>
|
---|
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 |
|
---|
130 | <varlistentry id="addpart">
|
---|
131 | <term><command>addpart</command></term>
|
---|
132 | <listitem>
|
---|
133 | <para>Informs the kernel of a new partition</para>
|
---|
134 | <indexterm zone="ch-system-util-linux-ng addpart">
|
---|
135 | <primary sortas="b-addpart">addpart</primary>
|
---|
136 | </indexterm>
|
---|
137 | </listitem>
|
---|
138 | </varlistentry>
|
---|
139 |
|
---|
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>
|
---|
145 | <indexterm zone="ch-system-util-linux-ng agetty">
|
---|
146 | <primary sortas="b-agetty">agetty</primary>
|
---|
147 | </indexterm>
|
---|
148 | </listitem>
|
---|
149 | </varlistentry>
|
---|
150 |
|
---|
151 | <varlistentry id="arch">
|
---|
152 | <term><command>arch</command></term>
|
---|
153 | <listitem>
|
---|
154 | <para>Reports the machine's architecture</para>
|
---|
155 | <indexterm zone="ch-system-util-linux-ng arch">
|
---|
156 | <primary sortas="b-arch">arch</primary>
|
---|
157 | </indexterm>
|
---|
158 | </listitem>
|
---|
159 | </varlistentry>
|
---|
160 |
|
---|
161 | <varlistentry id="blockdev">
|
---|
162 | <term><command>blockdev</command></term>
|
---|
163 | <listitem>
|
---|
164 | <para>Allows users to call block device ioctls from the command
|
---|
165 | line</para>
|
---|
166 | <indexterm zone="ch-system-util-linux-ng blockdev">
|
---|
167 | <primary sortas="b-blockdev">blockdev</primary>
|
---|
168 | </indexterm>
|
---|
169 | </listitem>
|
---|
170 | </varlistentry>
|
---|
171 |
|
---|
172 | <varlistentry id="cal">
|
---|
173 | <term><command>cal</command></term>
|
---|
174 | <listitem>
|
---|
175 | <para>Displays a simple calendar</para>
|
---|
176 | <indexterm zone="ch-system-util-linux-ng cal">
|
---|
177 | <primary sortas="b-cal">cal</primary>
|
---|
178 | </indexterm>
|
---|
179 | </listitem>
|
---|
180 | </varlistentry>
|
---|
181 |
|
---|
182 | <varlistentry id="cfdisk">
|
---|
183 | <term><command>cfdisk</command></term>
|
---|
184 | <listitem>
|
---|
185 | <para>Manipulates the partition table of the given device</para>
|
---|
186 | <indexterm zone="ch-system-util-linux-ng cfdisk">
|
---|
187 | <primary sortas="b-cfdisk">cfdisk</primary>
|
---|
188 | </indexterm>
|
---|
189 | </listitem>
|
---|
190 | </varlistentry>
|
---|
191 |
|
---|
192 | <varlistentry id="chkdupexe">
|
---|
193 | <term><command>chkdupexe</command></term>
|
---|
194 | <listitem>
|
---|
195 | <para>Finds duplicate executables</para>
|
---|
196 | <indexterm zone="ch-system-util-linux-ng chkdupexe">
|
---|
197 | <primary sortas="b-chkdupexe">chkdupexe</primary>
|
---|
198 | </indexterm>
|
---|
199 | </listitem>
|
---|
200 | </varlistentry>
|
---|
201 |
|
---|
202 | <varlistentry id="chrt">
|
---|
203 | <term><command>chrt</command></term>
|
---|
204 | <listitem>
|
---|
205 | <para>Manipulates real-time attributes of a process</para>
|
---|
206 | <indexterm zone="ch-system-util-linux-ng chrt">
|
---|
207 | <primary sortas="b-chrt">chrt</primary>
|
---|
208 | </indexterm>
|
---|
209 | </listitem>
|
---|
210 | </varlistentry>
|
---|
211 |
|
---|
212 | <varlistentry id="col">
|
---|
213 | <term><command>col</command></term>
|
---|
214 | <listitem>
|
---|
215 | <para>Filters out reverse line feeds</para>
|
---|
216 | <indexterm zone="ch-system-util-linux-ng col">
|
---|
217 | <primary sortas="b-col">col</primary>
|
---|
218 | </indexterm>
|
---|
219 | </listitem>
|
---|
220 | </varlistentry>
|
---|
221 |
|
---|
222 | <varlistentry id="colcrt">
|
---|
223 | <term><command>colcrt</command></term>
|
---|
224 | <listitem>
|
---|
225 | <para>Filters <command>nroff</command> output for terminals
|
---|
226 | that lack some capabilities, such as overstriking and half-lines</para>
|
---|
227 | <indexterm zone="ch-system-util-linux-ng colcrt">
|
---|
228 | <primary sortas="b-colcrt">colcrt</primary>
|
---|
229 | </indexterm>
|
---|
230 | </listitem>
|
---|
231 | </varlistentry>
|
---|
232 |
|
---|
233 | <varlistentry id="colrm">
|
---|
234 | <term><command>colrm</command></term>
|
---|
235 | <listitem>
|
---|
236 | <para>Filters out the given columns</para>
|
---|
237 | <indexterm zone="ch-system-util-linux-ng colrm">
|
---|
238 | <primary sortas="b-colrm">colrm</primary>
|
---|
239 | </indexterm>
|
---|
240 | </listitem>
|
---|
241 | </varlistentry>
|
---|
242 |
|
---|
243 | <varlistentry id="column">
|
---|
244 | <term><command>column</command></term>
|
---|
245 | <listitem>
|
---|
246 | <para>Formats a given file into multiple columns</para>
|
---|
247 | <indexterm zone="ch-system-util-linux-ng column">
|
---|
248 | <primary sortas="b-column">column</primary>
|
---|
249 | </indexterm>
|
---|
250 | </listitem>
|
---|
251 | </varlistentry>
|
---|
252 |
|
---|
253 | <varlistentry id="ctrlaltdel">
|
---|
254 | <term><command>ctrlaltdel</command></term>
|
---|
255 | <listitem>
|
---|
256 | <para>Sets the function of the Ctrl+Alt+Del key combination to a
|
---|
257 | hard or a soft reset</para>
|
---|
258 | <indexterm zone="ch-system-util-linux-ng ctrlaltdel">
|
---|
259 | <primary sortas="b-ctrlaltdel">ctrlaltdel</primary>
|
---|
260 | </indexterm>
|
---|
261 | </listitem>
|
---|
262 | </varlistentry>
|
---|
263 |
|
---|
264 | <varlistentry id="cytune">
|
---|
265 | <term><command>cytune</command></term>
|
---|
266 | <listitem>
|
---|
267 | <para>Tunes the parameters of the serial line drivers for
|
---|
268 | Cyclades cards</para>
|
---|
269 | <indexterm zone="ch-system-util-linux-ng cytune">
|
---|
270 | <primary sortas="b-cytune">cytune</primary>
|
---|
271 | </indexterm>
|
---|
272 | </listitem>
|
---|
273 | </varlistentry>
|
---|
274 |
|
---|
275 | <varlistentry id="ddate">
|
---|
276 | <term><command>ddate</command></term>
|
---|
277 | <listitem>
|
---|
278 | <para>Gives the Discordian date or converts the given Gregorian date
|
---|
279 | to a Discordian one</para>
|
---|
280 | <indexterm zone="ch-system-util-linux-ng ddate">
|
---|
281 | <primary sortas="b-ddate">ddate</primary>
|
---|
282 | </indexterm>
|
---|
283 | </listitem>
|
---|
284 | </varlistentry>
|
---|
285 |
|
---|
286 | <varlistentry id="delpart">
|
---|
287 | <term><command>delpart</command></term>
|
---|
288 | <listitem>
|
---|
289 | <para>Asks the kernel to remove a partition</para>
|
---|
290 | <indexterm zone="ch-system-util-linux-ng delpart">
|
---|
291 | <primary sortas="b-delpart">delpart</primary>
|
---|
292 | </indexterm>
|
---|
293 | </listitem>
|
---|
294 | </varlistentry>
|
---|
295 |
|
---|
296 | <varlistentry id="dmesg">
|
---|
297 | <term><command>dmesg</command></term>
|
---|
298 | <listitem>
|
---|
299 | <para>Dumps the kernel boot messages</para>
|
---|
300 | <indexterm zone="ch-system-util-linux-ng dmesg">
|
---|
301 | <primary sortas="b-dmesg">dmesg</primary>
|
---|
302 | </indexterm>
|
---|
303 | </listitem>
|
---|
304 | </varlistentry>
|
---|
305 |
|
---|
306 | <varlistentry id="fdformat">
|
---|
307 | <term><command>fdformat</command></term>
|
---|
308 | <listitem>
|
---|
309 | <para>Low-level formats a floppy disk</para>
|
---|
310 | <indexterm zone="ch-system-util-linux-ng fdformat">
|
---|
311 | <primary sortas="b-fdformat">fdformat</primary>
|
---|
312 | </indexterm>
|
---|
313 | </listitem>
|
---|
314 | </varlistentry>
|
---|
315 |
|
---|
316 | <varlistentry id="fdisk">
|
---|
317 | <term><command>fdisk</command></term>
|
---|
318 | <listitem>
|
---|
319 | <para>Manipulates the partition table of the given device</para>
|
---|
320 | <indexterm zone="ch-system-util-linux-ng fdisk">
|
---|
321 | <primary sortas="b-fdisk">fdisk</primary>
|
---|
322 | </indexterm>
|
---|
323 | </listitem>
|
---|
324 | </varlistentry>
|
---|
325 |
|
---|
326 | <varlistentry id="flock">
|
---|
327 | <term><command>flock</command></term>
|
---|
328 | <listitem>
|
---|
329 | <para>Acquires a file lock and then executes a command with the lock
|
---|
330 | held</para>
|
---|
331 | <indexterm zone="ch-system-util-linux-ng flock">
|
---|
332 | <primary sortas="b-flock">flock</primary>
|
---|
333 | </indexterm>
|
---|
334 | </listitem>
|
---|
335 | </varlistentry>
|
---|
336 |
|
---|
337 | <varlistentry id="fsck.cramfs">
|
---|
338 | <term><command>fsck.cramfs</command></term>
|
---|
339 | <listitem>
|
---|
340 | <para>Performs a consistency check on the Cramfs file system on the
|
---|
341 | given device</para>
|
---|
342 | <indexterm zone="ch-system-util-linux-ng fsck.cramfs">
|
---|
343 | <primary sortas="b-fsck.cramfs">fsck.cramfs</primary>
|
---|
344 | </indexterm>
|
---|
345 | </listitem>
|
---|
346 | </varlistentry>
|
---|
347 |
|
---|
348 | <varlistentry id="fsck.minix">
|
---|
349 | <term><command>fsck.minix</command></term>
|
---|
350 | <listitem>
|
---|
351 | <para>Performs a consistency check on the Minix file system on the
|
---|
352 | given device</para>
|
---|
353 | <indexterm zone="ch-system-util-linux-ng fsck.minix">
|
---|
354 | <primary sortas="b-fsck.minix">fsck.minix</primary>
|
---|
355 | </indexterm>
|
---|
356 | </listitem>
|
---|
357 | </varlistentry>
|
---|
358 |
|
---|
359 | <varlistentry id="getopt">
|
---|
360 | <term><command>getopt</command></term>
|
---|
361 | <listitem>
|
---|
362 | <para>Parses options in the given command line</para>
|
---|
363 | <indexterm zone="ch-system-util-linux-ng getopt">
|
---|
364 | <primary sortas="b-getopt">getopt</primary>
|
---|
365 | </indexterm>
|
---|
366 | </listitem>
|
---|
367 | </varlistentry>
|
---|
368 |
|
---|
369 | <varlistentry id="hexdump">
|
---|
370 | <term><command>hexdump</command></term>
|
---|
371 | <listitem>
|
---|
372 | <para>Dumps the given file in hexadecimal or in another given
|
---|
373 | format</para>
|
---|
374 | <indexterm zone="ch-system-util-linux-ng hexdump">
|
---|
375 | <primary sortas="b-hexdump">hexdump</primary>
|
---|
376 | </indexterm>
|
---|
377 | </listitem>
|
---|
378 | </varlistentry>
|
---|
379 |
|
---|
380 | <varlistentry id="hwclock">
|
---|
381 | <term><command>hwclock</command></term>
|
---|
382 | <listitem>
|
---|
383 | <para>Reads or sets the system's hardware clock, also called
|
---|
384 | the Real-Time Clock (RTC) or Basic Input-Output System (BIOS)
|
---|
385 | clock</para>
|
---|
386 | <indexterm zone="ch-system-util-linux-ng hwclock">
|
---|
387 | <primary sortas="b-hwclock">hwclock</primary>
|
---|
388 | </indexterm>
|
---|
389 | </listitem>
|
---|
390 | </varlistentry>
|
---|
391 |
|
---|
392 | <varlistentry id="ionice">
|
---|
393 | <term><command>ionice</command></term>
|
---|
394 | <listitem>
|
---|
395 | <para>Gives and sets program I/O scheduling class and priority</para>
|
---|
396 | <indexterm zone="ch-system-util-linux-ng ionice">
|
---|
397 | <primary sortas="b-ionice">ionice</primary>
|
---|
398 | </indexterm>
|
---|
399 | </listitem>
|
---|
400 | </varlistentry>
|
---|
401 |
|
---|
402 | <varlistentry id="ipcrm">
|
---|
403 | <term><command>ipcrm</command></term>
|
---|
404 | <listitem>
|
---|
405 | <para>Removes the given Inter-Process Communication (IPC) resource</para>
|
---|
406 | <indexterm zone="ch-system-util-linux-ng ipcrm">
|
---|
407 | <primary sortas="b-ipcrm">ipcrm</primary>
|
---|
408 | </indexterm>
|
---|
409 | </listitem>
|
---|
410 | </varlistentry>
|
---|
411 |
|
---|
412 | <varlistentry id="ipcmk">
|
---|
413 | <term><command>ipcmk</command></term>
|
---|
414 | <listitem>
|
---|
415 | <para>Creates various IPC resources</para>
|
---|
416 | <indexterm zone="ch-system-util-linux-ng ipcmk">
|
---|
417 | <primary sortas="b-ipcmk">ipcmk</primary>
|
---|
418 | </indexterm>
|
---|
419 | </listitem>
|
---|
420 | </varlistentry>
|
---|
421 |
|
---|
422 | <varlistentry id="ipcs">
|
---|
423 | <term><command>ipcs</command></term>
|
---|
424 | <listitem>
|
---|
425 | <para>Provides IPC status information</para>
|
---|
426 | <indexterm zone="ch-system-util-linux-ng ipcs">
|
---|
427 | <primary sortas="b-ipcs">ipcs</primary>
|
---|
428 | </indexterm>
|
---|
429 | </listitem>
|
---|
430 | </varlistentry>
|
---|
431 |
|
---|
432 | <varlistentry id="isosize">
|
---|
433 | <term><command>isosize</command></term>
|
---|
434 | <listitem>
|
---|
435 | <para>Reports the size of an iso9660 file system</para>
|
---|
436 | <indexterm zone="ch-system-util-linux-ng isosize">
|
---|
437 | <primary sortas="b-isosize">isosize</primary>
|
---|
438 | </indexterm>
|
---|
439 | </listitem>
|
---|
440 | </varlistentry>
|
---|
441 |
|
---|
442 | <varlistentry id="ldattach">
|
---|
443 | <term><command>ldattach</command></term>
|
---|
444 | <listitem>
|
---|
445 | <para>Attaches a line discipline to a serial line</para>
|
---|
446 | <indexterm zone="ch-system-util-linux-ng ldattach">
|
---|
447 | <primary sortas="b-ldattach">ldattach</primary>
|
---|
448 | </indexterm>
|
---|
449 | </listitem>
|
---|
450 | </varlistentry>
|
---|
451 |
|
---|
452 | <varlistentry id="line">
|
---|
453 | <term><command>line</command></term>
|
---|
454 | <listitem>
|
---|
455 | <para>Copies a single line</para>
|
---|
456 | <indexterm zone="ch-system-util-linux-ng line">
|
---|
457 | <primary sortas="b-line">line</primary>
|
---|
458 | </indexterm>
|
---|
459 | </listitem>
|
---|
460 | </varlistentry>
|
---|
461 |
|
---|
462 | <varlistentry id="logger">
|
---|
463 | <term><command>logger</command></term>
|
---|
464 | <listitem>
|
---|
465 | <para>Enters the given message into the system log</para>
|
---|
466 | <indexterm zone="ch-system-util-linux-ng logger">
|
---|
467 | <primary sortas="b-logger">logger</primary>
|
---|
468 | </indexterm>
|
---|
469 | </listitem>
|
---|
470 | </varlistentry>
|
---|
471 |
|
---|
472 | <varlistentry id="look">
|
---|
473 | <term><command>look</command></term>
|
---|
474 | <listitem>
|
---|
475 | <para>Displays lines that begin with the given string</para>
|
---|
476 | <indexterm zone="ch-system-util-linux-ng look">
|
---|
477 | <primary sortas="b-look">look</primary>
|
---|
478 | </indexterm>
|
---|
479 | </listitem>
|
---|
480 | </varlistentry>
|
---|
481 |
|
---|
482 | <varlistentry id="losetup">
|
---|
483 | <term><command>losetup</command></term>
|
---|
484 | <listitem>
|
---|
485 | <para>Sets up and controls loop devices</para>
|
---|
486 | <indexterm zone="ch-system-util-linux-ng losetup">
|
---|
487 | <primary sortas="b-losetup">losetup</primary>
|
---|
488 | </indexterm>
|
---|
489 | </listitem>
|
---|
490 | </varlistentry>
|
---|
491 |
|
---|
492 | <varlistentry id="lscpu">
|
---|
493 | <term><command>lscpu</command></term>
|
---|
494 | <listitem>
|
---|
495 | <para>Prints CPU architechture information</para>
|
---|
496 | <indexterm zone="ch-system-util-linux-ng lscpu">
|
---|
497 | <primary sortas="b-lscpu">lscpu</primary>
|
---|
498 | </indexterm>
|
---|
499 | </listitem>
|
---|
500 | </varlistentry>
|
---|
501 |
|
---|
502 | <varlistentry id="mcookie">
|
---|
503 | <term><command>mcookie</command></term>
|
---|
504 | <listitem>
|
---|
505 | <para>Generates magic cookies (128-bit random hexadecimal numbers) for
|
---|
506 | <command>xauth</command></para>
|
---|
507 | <indexterm zone="ch-system-util-linux-ng mcookie">
|
---|
508 | <primary sortas="b-mcookie">mcookie</primary>
|
---|
509 | </indexterm>
|
---|
510 | </listitem>
|
---|
511 | </varlistentry>
|
---|
512 |
|
---|
513 | <varlistentry id="mkfs">
|
---|
514 | <term><command>mkfs</command></term>
|
---|
515 | <listitem>
|
---|
516 | <para>Builds a file system on a device (usually a hard disk
|
---|
517 | partition)</para>
|
---|
518 | <indexterm zone="ch-system-util-linux-ng mkfs">
|
---|
519 | <primary sortas="b-mkfs">mkfs</primary>
|
---|
520 | </indexterm>
|
---|
521 | </listitem>
|
---|
522 | </varlistentry>
|
---|
523 |
|
---|
524 | <varlistentry id="mkfs.bfs">
|
---|
525 | <term><command>mkfs.bfs</command></term>
|
---|
526 | <listitem>
|
---|
527 | <para>Creates a Santa Cruz Operations (SCO) bfs file system</para>
|
---|
528 | <indexterm zone="ch-system-util-linux-ng mkfs.bfs">
|
---|
529 | <primary sortas="b-mkfs.bfs">mkfs.bfs</primary>
|
---|
530 | </indexterm>
|
---|
531 | </listitem>
|
---|
532 | </varlistentry>
|
---|
533 |
|
---|
534 | <varlistentry id="mkfs.cramfs">
|
---|
535 | <term><command>mkfs.cramfs</command></term>
|
---|
536 | <listitem>
|
---|
537 | <para>Creates a cramfs file system</para>
|
---|
538 | <indexterm zone="ch-system-util-linux-ng mkfs.cramfs">
|
---|
539 | <primary sortas="b-mkfs.cramfs">mkfs.cramfs</primary>
|
---|
540 | </indexterm>
|
---|
541 | </listitem>
|
---|
542 | </varlistentry>
|
---|
543 |
|
---|
544 | <varlistentry id="mkfs.minix">
|
---|
545 | <term><command>mkfs.minix</command></term>
|
---|
546 | <listitem>
|
---|
547 | <para>Creates a Minix file system</para>
|
---|
548 | <indexterm zone="ch-system-util-linux-ng mkfs.minix">
|
---|
549 | <primary sortas="b-mkfs.minix">mkfs.minix</primary>
|
---|
550 | </indexterm>
|
---|
551 | </listitem>
|
---|
552 | </varlistentry>
|
---|
553 |
|
---|
554 | <varlistentry id="mkswap">
|
---|
555 | <term><command>mkswap</command></term>
|
---|
556 | <listitem>
|
---|
557 | <para>Initializes the given device or file to be used as a swap
|
---|
558 | area</para>
|
---|
559 | <indexterm zone="ch-system-util-linux-ng mkswap">
|
---|
560 | <primary sortas="b-mkswap">mkswap</primary>
|
---|
561 | </indexterm>
|
---|
562 | </listitem>
|
---|
563 | </varlistentry>
|
---|
564 |
|
---|
565 | <varlistentry id="more">
|
---|
566 | <term><command>more</command></term>
|
---|
567 | <listitem>
|
---|
568 | <para>A filter for paging through text one screen at a time</para>
|
---|
569 | <indexterm zone="ch-system-util-linux-ng more">
|
---|
570 | <primary sortas="b-more">more</primary>
|
---|
571 | </indexterm>
|
---|
572 | </listitem>
|
---|
573 | </varlistentry>
|
---|
574 |
|
---|
575 | <varlistentry id="mount">
|
---|
576 | <term><command>mount</command></term>
|
---|
577 | <listitem>
|
---|
578 | <para>Attaches the file system on the given device to a specified
|
---|
579 | directory in the file-system tree</para>
|
---|
580 | <indexterm zone="ch-system-util-linux-ng mount">
|
---|
581 | <primary sortas="b-mount">mount</primary>
|
---|
582 | </indexterm>
|
---|
583 | </listitem>
|
---|
584 | </varlistentry>
|
---|
585 |
|
---|
586 | <varlistentry id="namei">
|
---|
587 | <term><command>namei</command></term>
|
---|
588 | <listitem>
|
---|
589 | <para>Shows the symbolic links in the given pathnames</para>
|
---|
590 | <indexterm zone="ch-system-util-linux-ng namei">
|
---|
591 | <primary sortas="b-namei">namei</primary>
|
---|
592 | </indexterm>
|
---|
593 | </listitem>
|
---|
594 | </varlistentry>
|
---|
595 |
|
---|
596 | <varlistentry id="partx">
|
---|
597 | <term><command>partx</command></term>
|
---|
598 | <listitem>
|
---|
599 | <para>Tells the kernel about the presence and numbering of on-disk
|
---|
600 | partitions</para>
|
---|
601 | <indexterm zone="ch-system-util-linux-ng partx">
|
---|
602 | <primary sortas="b-partx">partx</primary>
|
---|
603 | </indexterm>
|
---|
604 | </listitem>
|
---|
605 | </varlistentry>
|
---|
606 |
|
---|
607 | <varlistentry id="pg">
|
---|
608 | <term><command>pg</command></term>
|
---|
609 | <listitem>
|
---|
610 | <para>Displays a text file one screen full at a time</para>
|
---|
611 | <indexterm zone="ch-system-util-linux-ng pg">
|
---|
612 | <primary sortas="b-pg">pg</primary>
|
---|
613 | </indexterm>
|
---|
614 | </listitem>
|
---|
615 | </varlistentry>
|
---|
616 |
|
---|
617 | <varlistentry id="pivot_root">
|
---|
618 | <term><command>pivot_root</command></term>
|
---|
619 | <listitem>
|
---|
620 | <para>Makes the given file system the new root file system of the
|
---|
621 | current process</para>
|
---|
622 | <indexterm zone="ch-system-util-linux-ng pivot_root">
|
---|
623 | <primary sortas="b-pivot_root">pivot_root</primary>
|
---|
624 | </indexterm>
|
---|
625 | </listitem>
|
---|
626 | </varlistentry>
|
---|
627 |
|
---|
628 | <varlistentry id="readprofile">
|
---|
629 | <term><command>readprofile</command></term>
|
---|
630 | <listitem>
|
---|
631 | <para>Reads kernel profiling information</para>
|
---|
632 | <indexterm zone="ch-system-util-linux-ng readprofile">
|
---|
633 | <primary sortas="b-readprofile">readprofile</primary>
|
---|
634 | </indexterm>
|
---|
635 | </listitem>
|
---|
636 | </varlistentry>
|
---|
637 |
|
---|
638 | <varlistentry id="rename">
|
---|
639 | <term><command>rename</command></term>
|
---|
640 | <listitem>
|
---|
641 | <para>Renames the given files, replacing a given string with
|
---|
642 | another</para>
|
---|
643 | <indexterm zone="ch-system-util-linux-ng rename">
|
---|
644 | <primary sortas="b-rename">rename</primary>
|
---|
645 | </indexterm>
|
---|
646 | </listitem>
|
---|
647 | </varlistentry>
|
---|
648 |
|
---|
649 | <varlistentry id="renice">
|
---|
650 | <term><command>renice</command></term>
|
---|
651 | <listitem>
|
---|
652 | <para>Alters the priority of running processes</para>
|
---|
653 | <indexterm zone="ch-system-util-linux-ng renice">
|
---|
654 | <primary sortas="b-renice">renice</primary>
|
---|
655 | </indexterm>
|
---|
656 | </listitem>
|
---|
657 | </varlistentry>
|
---|
658 |
|
---|
659 | <varlistentry id="rev">
|
---|
660 | <term><command>rev</command></term>
|
---|
661 | <listitem>
|
---|
662 | <para>Reverses the lines of a given file</para>
|
---|
663 | <indexterm zone="ch-system-util-linux-ng rev">
|
---|
664 | <primary sortas="b-rev">rev</primary>
|
---|
665 | </indexterm>
|
---|
666 | </listitem>
|
---|
667 | </varlistentry>
|
---|
668 |
|
---|
669 | <varlistentry id="rtcwake">
|
---|
670 | <term><command>rtcwake</command></term>
|
---|
671 | <listitem>
|
---|
672 | <para>Enters a system sleep state until a specified wakeup time</para>
|
---|
673 | <indexterm zone="ch-system-util-linux-ng rtcwake">
|
---|
674 | <primary sortas="b-rtcwake">rtcwake</primary>
|
---|
675 | </indexterm>
|
---|
676 | </listitem>
|
---|
677 | </varlistentry>
|
---|
678 |
|
---|
679 | <varlistentry id="script">
|
---|
680 | <term><command>script</command></term>
|
---|
681 | <listitem>
|
---|
682 | <para>Makes a typescript of a terminal session</para>
|
---|
683 | <indexterm zone="ch-system-util-linux-ng script">
|
---|
684 | <primary sortas="b-script">script</primary>
|
---|
685 | </indexterm>
|
---|
686 | </listitem>
|
---|
687 | </varlistentry>
|
---|
688 |
|
---|
689 | <varlistentry id="scriptreplay">
|
---|
690 | <term><command>scriptreplay</command></term>
|
---|
691 | <listitem>
|
---|
692 | <para>Plays back typescripts created by <command>script</command></para>
|
---|
693 | <indexterm zone="ch-system-util-linux-ng scriptreplay">
|
---|
694 | <primary sortas="b-scriptreplay">scriptreplay</primary>
|
---|
695 | </indexterm>
|
---|
696 | </listitem>
|
---|
697 | </varlistentry>
|
---|
698 |
|
---|
699 | <varlistentry id="setarch">
|
---|
700 | <term><command>setarch</command></term>
|
---|
701 | <listitem>
|
---|
702 | <para>Changes reported architecture in new program environment and
|
---|
703 | sets personality flags</para>
|
---|
704 | <indexterm zone="ch-system-util-linux-ng setarch">
|
---|
705 | <primary sortas="b-setarch">setarch</primary>
|
---|
706 | </indexterm>
|
---|
707 | </listitem>
|
---|
708 | </varlistentry>
|
---|
709 |
|
---|
710 | <varlistentry id="setsid">
|
---|
711 | <term><command>setsid</command></term>
|
---|
712 | <listitem>
|
---|
713 | <para>Runs the given program in a new session</para>
|
---|
714 | <indexterm zone="ch-system-util-linux-ng setsid">
|
---|
715 | <primary sortas="b-setsid">setsid</primary>
|
---|
716 | </indexterm>
|
---|
717 | </listitem>
|
---|
718 | </varlistentry>
|
---|
719 |
|
---|
720 | <varlistentry id="setterm">
|
---|
721 | <term><command>setterm</command></term>
|
---|
722 | <listitem>
|
---|
723 | <para>Sets terminal attributes</para>
|
---|
724 | <indexterm zone="ch-system-util-linux-ng setterm">
|
---|
725 | <primary sortas="b-setterm">setterm</primary>
|
---|
726 | </indexterm>
|
---|
727 | </listitem>
|
---|
728 | </varlistentry>
|
---|
729 |
|
---|
730 | <varlistentry id="sfdisk">
|
---|
731 | <term><command>sfdisk</command></term>
|
---|
732 | <listitem>
|
---|
733 | <para>A disk partition table manipulator</para>
|
---|
734 | <indexterm zone="ch-system-util-linux-ng sfdisk">
|
---|
735 | <primary sortas="b-sfdisk">sfdisk</primary>
|
---|
736 | </indexterm>
|
---|
737 | </listitem>
|
---|
738 | </varlistentry>
|
---|
739 |
|
---|
740 | <varlistentry id="swapoff">
|
---|
741 | <term><command>swapoff</command></term>
|
---|
742 | <listitem>
|
---|
743 | <para>Disables devices and files for paging and swapping</para>
|
---|
744 | <indexterm zone="ch-system-util-linux-ng swapoff">
|
---|
745 | <primary sortas="b-swapoff">swapoff</primary>
|
---|
746 | </indexterm>
|
---|
747 | </listitem>
|
---|
748 | </varlistentry>
|
---|
749 |
|
---|
750 | <varlistentry id="swapon">
|
---|
751 | <term><command>swapon</command></term>
|
---|
752 | <listitem>
|
---|
753 | <para>Enables devices and files for paging and swapping and
|
---|
754 | lists the devices and files currently in use</para>
|
---|
755 | <indexterm zone="ch-system-util-linux-ng swapon">
|
---|
756 | <primary sortas="b-swapon">swapon</primary>
|
---|
757 | </indexterm>
|
---|
758 | </listitem>
|
---|
759 | </varlistentry>
|
---|
760 |
|
---|
761 | <varlistentry id="tailf">
|
---|
762 | <term><command>tailf</command></term>
|
---|
763 | <listitem>
|
---|
764 | <para>Tracks the growth of a log file. Displays the last 10 lines
|
---|
765 | of a log file, then continues displaying any new entries in the
|
---|
766 | log file as they are created</para>
|
---|
767 | <indexterm zone="ch-system-util-linux-ng tailf">
|
---|
768 | <primary sortas="b-tailf">tailf</primary>
|
---|
769 | </indexterm>
|
---|
770 | </listitem>
|
---|
771 | </varlistentry>
|
---|
772 |
|
---|
773 | <varlistentry id="taskset">
|
---|
774 | <term><command>taskset</command></term>
|
---|
775 | <listitem>
|
---|
776 | <para>Retrieves or sets a process's CPU affinity</para>
|
---|
777 | <indexterm zone="ch-system-util-linux-ng taskset">
|
---|
778 | <primary sortas="b-taskset">taskset</primary>
|
---|
779 | </indexterm>
|
---|
780 | </listitem>
|
---|
781 | </varlistentry>
|
---|
782 |
|
---|
783 | <varlistentry id="tunelp">
|
---|
784 | <term><command>tunelp</command></term>
|
---|
785 | <listitem>
|
---|
786 | <para>Tunes the parameters of the line printer</para>
|
---|
787 | <indexterm zone="ch-system-util-linux-ng tunelp">
|
---|
788 | <primary sortas="b-tunelp">tunelp</primary>
|
---|
789 | </indexterm>
|
---|
790 | </listitem>
|
---|
791 | </varlistentry>
|
---|
792 |
|
---|
793 | <varlistentry id="ul">
|
---|
794 | <term><command>ul</command></term>
|
---|
795 | <listitem>
|
---|
796 | <para>A filter for translating underscores into escape sequences
|
---|
797 | indicating underlining for the terminal in use</para>
|
---|
798 | <indexterm zone="ch-system-util-linux-ng ul">
|
---|
799 | <primary sortas="b-ul">ul</primary>
|
---|
800 | </indexterm>
|
---|
801 | </listitem>
|
---|
802 | </varlistentry>
|
---|
803 |
|
---|
804 | <varlistentry id="umount">
|
---|
805 | <term><command>umount</command></term>
|
---|
806 | <listitem>
|
---|
807 | <para>Disconnects a file system from the system's file tree</para>
|
---|
808 | <indexterm zone="ch-system-util-linux-ng umount">
|
---|
809 | <primary sortas="b-umount">umount</primary>
|
---|
810 | </indexterm>
|
---|
811 | </listitem>
|
---|
812 | </varlistentry>
|
---|
813 |
|
---|
814 | <varlistentry id="whereis">
|
---|
815 | <term><command>whereis</command></term>
|
---|
816 | <listitem>
|
---|
817 | <para>Reports the location of the binary, source, and man page
|
---|
818 | for the given command</para>
|
---|
819 | <indexterm zone="ch-system-util-linux-ng whereis">
|
---|
820 | <primary sortas="b-whereis">whereis</primary>
|
---|
821 | </indexterm>
|
---|
822 | </listitem>
|
---|
823 | </varlistentry>
|
---|
824 |
|
---|
825 | <varlistentry id="write">
|
---|
826 | <term><command>write</command></term>
|
---|
827 | <listitem>
|
---|
828 | <para>Sends a message to the given user <emphasis>if</emphasis> that
|
---|
829 | user has not disabled receipt of such messages</para>
|
---|
830 | <indexterm zone="ch-system-util-linux-ng write">
|
---|
831 | <primary sortas="b-write">write</primary>
|
---|
832 | </indexterm>
|
---|
833 | </listitem>
|
---|
834 | </varlistentry>
|
---|
835 |
|
---|
836 | <varlistentry id="libblkid">
|
---|
837 | <term><filename class="libraryfile">libblkid</filename></term>
|
---|
838 | <listitem>
|
---|
839 | <para>Contains routines for device identification and token
|
---|
840 | extraction</para>
|
---|
841 | <indexterm zone="ch-system-util-linux-ng libblkid">
|
---|
842 | <primary sortas="c-libblkid">libblkid</primary>
|
---|
843 | </indexterm>
|
---|
844 | </listitem>
|
---|
845 | </varlistentry>
|
---|
846 |
|
---|
847 | <varlistentry id="libuuid">
|
---|
848 | <term><filename class="libraryfile">libuuid</filename></term>
|
---|
849 | <listitem>
|
---|
850 | <para>Contains routines for generating unique identifiers for objects
|
---|
851 | that may be accessible beyond the local system</para>
|
---|
852 | <indexterm zone="ch-system-util-linux-ng libuuid">
|
---|
853 | <primary sortas="c-libuuid">libuuid</primary>
|
---|
854 | </indexterm>
|
---|
855 | </listitem>
|
---|
856 | </varlistentry>
|
---|
857 |
|
---|
858 | </variablelist>
|
---|
859 |
|
---|
860 | </sect2>
|
---|
861 |
|
---|
862 | </sect1>
|
---|