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, 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">
|
---|
338 | <term><command>fsck</command></term>
|
---|
339 | <listitem>
|
---|
340 | <para>Is used to check, and optionally repair, file systems</para>
|
---|
341 | <indexterm zone="ch-system-util-linux-ng fsck">
|
---|
342 | <primary sortas="b-fsck">fsck</primary>
|
---|
343 | </indexterm>
|
---|
344 | </listitem>
|
---|
345 | </varlistentry>
|
---|
346 |
|
---|
347 | <varlistentry id="fsck.cramfs">
|
---|
348 | <term><command>fsck.cramfs</command></term>
|
---|
349 | <listitem>
|
---|
350 | <para>Performs a consistency check on the Cramfs file system on the
|
---|
351 | given device</para>
|
---|
352 | <indexterm zone="ch-system-util-linux-ng fsck.cramfs">
|
---|
353 | <primary sortas="b-fsck.cramfs">fsck.cramfs</primary>
|
---|
354 | </indexterm>
|
---|
355 | </listitem>
|
---|
356 | </varlistentry>
|
---|
357 |
|
---|
358 | <varlistentry id="fsck.minix">
|
---|
359 | <term><command>fsck.minix</command></term>
|
---|
360 | <listitem>
|
---|
361 | <para>Performs a consistency check on the Minix file system on the
|
---|
362 | given device</para>
|
---|
363 | <indexterm zone="ch-system-util-linux-ng fsck.minix">
|
---|
364 | <primary sortas="b-fsck.minix">fsck.minix</primary>
|
---|
365 | </indexterm>
|
---|
366 | </listitem>
|
---|
367 | </varlistentry>
|
---|
368 |
|
---|
369 | <varlistentry id="getopt">
|
---|
370 | <term><command>getopt</command></term>
|
---|
371 | <listitem>
|
---|
372 | <para>Parses options in the given command line</para>
|
---|
373 | <indexterm zone="ch-system-util-linux-ng getopt">
|
---|
374 | <primary sortas="b-getopt">getopt</primary>
|
---|
375 | </indexterm>
|
---|
376 | </listitem>
|
---|
377 | </varlistentry>
|
---|
378 |
|
---|
379 | <varlistentry id="hexdump">
|
---|
380 | <term><command>hexdump</command></term>
|
---|
381 | <listitem>
|
---|
382 | <para>Dumps the given file in hexadecimal or in another given
|
---|
383 | format</para>
|
---|
384 | <indexterm zone="ch-system-util-linux-ng hexdump">
|
---|
385 | <primary sortas="b-hexdump">hexdump</primary>
|
---|
386 | </indexterm>
|
---|
387 | </listitem>
|
---|
388 | </varlistentry>
|
---|
389 |
|
---|
390 | <varlistentry id="hwclock">
|
---|
391 | <term><command>hwclock</command></term>
|
---|
392 | <listitem>
|
---|
393 | <para>Reads or sets the system's hardware clock, also called
|
---|
394 | the Real-Time Clock (RTC) or Basic Input-Output System (BIOS)
|
---|
395 | clock</para>
|
---|
396 | <indexterm zone="ch-system-util-linux-ng hwclock">
|
---|
397 | <primary sortas="b-hwclock">hwclock</primary>
|
---|
398 | </indexterm>
|
---|
399 | </listitem>
|
---|
400 | </varlistentry>
|
---|
401 |
|
---|
402 | <varlistentry id="ionice">
|
---|
403 | <term><command>ionice</command></term>
|
---|
404 | <listitem>
|
---|
405 | <para>Gives and sets program I/O scheduling class and priority</para>
|
---|
406 | <indexterm zone="ch-system-util-linux-ng ionice">
|
---|
407 | <primary sortas="b-ionice">ionice</primary>
|
---|
408 | </indexterm>
|
---|
409 | </listitem>
|
---|
410 | </varlistentry>
|
---|
411 |
|
---|
412 | <varlistentry id="ipcrm">
|
---|
413 | <term><command>ipcrm</command></term>
|
---|
414 | <listitem>
|
---|
415 | <para>Removes the given Inter-Process Communication (IPC) resource</para>
|
---|
416 | <indexterm zone="ch-system-util-linux-ng ipcrm">
|
---|
417 | <primary sortas="b-ipcrm">ipcrm</primary>
|
---|
418 | </indexterm>
|
---|
419 | </listitem>
|
---|
420 | </varlistentry>
|
---|
421 |
|
---|
422 | <varlistentry id="ipcmk">
|
---|
423 | <term><command>ipcmk</command></term>
|
---|
424 | <listitem>
|
---|
425 | <para>Creates various IPC resources</para>
|
---|
426 | <indexterm zone="ch-system-util-linux-ng ipcmk">
|
---|
427 | <primary sortas="b-ipcmk">ipcmk</primary>
|
---|
428 | </indexterm>
|
---|
429 | </listitem>
|
---|
430 | </varlistentry>
|
---|
431 |
|
---|
432 | <varlistentry id="ipcs">
|
---|
433 | <term><command>ipcs</command></term>
|
---|
434 | <listitem>
|
---|
435 | <para>Provides IPC status information</para>
|
---|
436 | <indexterm zone="ch-system-util-linux-ng ipcs">
|
---|
437 | <primary sortas="b-ipcs">ipcs</primary>
|
---|
438 | </indexterm>
|
---|
439 | </listitem>
|
---|
440 | </varlistentry>
|
---|
441 |
|
---|
442 | <varlistentry id="isosize">
|
---|
443 | <term><command>isosize</command></term>
|
---|
444 | <listitem>
|
---|
445 | <para>Reports the size of an iso9660 file system</para>
|
---|
446 | <indexterm zone="ch-system-util-linux-ng isosize">
|
---|
447 | <primary sortas="b-isosize">isosize</primary>
|
---|
448 | </indexterm>
|
---|
449 | </listitem>
|
---|
450 | </varlistentry>
|
---|
451 |
|
---|
452 | <varlistentry id="ldattach">
|
---|
453 | <term><command>ldattach</command></term>
|
---|
454 | <listitem>
|
---|
455 | <para>Attaches a line discipline to a serial line</para>
|
---|
456 | <indexterm zone="ch-system-util-linux-ng ldattach">
|
---|
457 | <primary sortas="b-ldattach">ldattach</primary>
|
---|
458 | </indexterm>
|
---|
459 | </listitem>
|
---|
460 | </varlistentry>
|
---|
461 |
|
---|
462 | <varlistentry id="line">
|
---|
463 | <term><command>line</command></term>
|
---|
464 | <listitem>
|
---|
465 | <para>Copies a single line</para>
|
---|
466 | <indexterm zone="ch-system-util-linux-ng line">
|
---|
467 | <primary sortas="b-line">line</primary>
|
---|
468 | </indexterm>
|
---|
469 | </listitem>
|
---|
470 | </varlistentry>
|
---|
471 |
|
---|
472 | <varlistentry id="logger">
|
---|
473 | <term><command>logger</command></term>
|
---|
474 | <listitem>
|
---|
475 | <para>Enters the given message into the system log</para>
|
---|
476 | <indexterm zone="ch-system-util-linux-ng logger">
|
---|
477 | <primary sortas="b-logger">logger</primary>
|
---|
478 | </indexterm>
|
---|
479 | </listitem>
|
---|
480 | </varlistentry>
|
---|
481 |
|
---|
482 | <varlistentry id="look">
|
---|
483 | <term><command>look</command></term>
|
---|
484 | <listitem>
|
---|
485 | <para>Displays lines that begin with the given string</para>
|
---|
486 | <indexterm zone="ch-system-util-linux-ng look">
|
---|
487 | <primary sortas="b-look">look</primary>
|
---|
488 | </indexterm>
|
---|
489 | </listitem>
|
---|
490 | </varlistentry>
|
---|
491 |
|
---|
492 | <varlistentry id="losetup">
|
---|
493 | <term><command>losetup</command></term>
|
---|
494 | <listitem>
|
---|
495 | <para>Sets up and controls loop devices</para>
|
---|
496 | <indexterm zone="ch-system-util-linux-ng losetup">
|
---|
497 | <primary sortas="b-losetup">losetup</primary>
|
---|
498 | </indexterm>
|
---|
499 | </listitem>
|
---|
500 | </varlistentry>
|
---|
501 |
|
---|
502 | <varlistentry id="lscpu">
|
---|
503 | <term><command>lscpu</command></term>
|
---|
504 | <listitem>
|
---|
505 | <para>Prints CPU architechture information</para>
|
---|
506 | <indexterm zone="ch-system-util-linux-ng lscpu">
|
---|
507 | <primary sortas="b-lscpu">lscpu</primary>
|
---|
508 | </indexterm>
|
---|
509 | </listitem>
|
---|
510 | </varlistentry>
|
---|
511 |
|
---|
512 | <varlistentry id="mcookie">
|
---|
513 | <term><command>mcookie</command></term>
|
---|
514 | <listitem>
|
---|
515 | <para>Generates magic cookies (128-bit random hexadecimal numbers) for
|
---|
516 | <command>xauth</command></para>
|
---|
517 | <indexterm zone="ch-system-util-linux-ng mcookie">
|
---|
518 | <primary sortas="b-mcookie">mcookie</primary>
|
---|
519 | </indexterm>
|
---|
520 | </listitem>
|
---|
521 | </varlistentry>
|
---|
522 |
|
---|
523 | <varlistentry id="mkfs">
|
---|
524 | <term><command>mkfs</command></term>
|
---|
525 | <listitem>
|
---|
526 | <para>Builds a file system on a device (usually a hard disk
|
---|
527 | partition)</para>
|
---|
528 | <indexterm zone="ch-system-util-linux-ng mkfs">
|
---|
529 | <primary sortas="b-mkfs">mkfs</primary>
|
---|
530 | </indexterm>
|
---|
531 | </listitem>
|
---|
532 | </varlistentry>
|
---|
533 |
|
---|
534 | <varlistentry id="mkfs.bfs">
|
---|
535 | <term><command>mkfs.bfs</command></term>
|
---|
536 | <listitem>
|
---|
537 | <para>Creates a Santa Cruz Operations (SCO) bfs file system</para>
|
---|
538 | <indexterm zone="ch-system-util-linux-ng mkfs.bfs">
|
---|
539 | <primary sortas="b-mkfs.bfs">mkfs.bfs</primary>
|
---|
540 | </indexterm>
|
---|
541 | </listitem>
|
---|
542 | </varlistentry>
|
---|
543 |
|
---|
544 | <varlistentry id="mkfs.cramfs">
|
---|
545 | <term><command>mkfs.cramfs</command></term>
|
---|
546 | <listitem>
|
---|
547 | <para>Creates a cramfs file system</para>
|
---|
548 | <indexterm zone="ch-system-util-linux-ng mkfs.cramfs">
|
---|
549 | <primary sortas="b-mkfs.cramfs">mkfs.cramfs</primary>
|
---|
550 | </indexterm>
|
---|
551 | </listitem>
|
---|
552 | </varlistentry>
|
---|
553 |
|
---|
554 | <varlistentry id="mkfs.minix">
|
---|
555 | <term><command>mkfs.minix</command></term>
|
---|
556 | <listitem>
|
---|
557 | <para>Creates a Minix file system</para>
|
---|
558 | <indexterm zone="ch-system-util-linux-ng mkfs.minix">
|
---|
559 | <primary sortas="b-mkfs.minix">mkfs.minix</primary>
|
---|
560 | </indexterm>
|
---|
561 | </listitem>
|
---|
562 | </varlistentry>
|
---|
563 |
|
---|
564 | <varlistentry id="mkswap">
|
---|
565 | <term><command>mkswap</command></term>
|
---|
566 | <listitem>
|
---|
567 | <para>Initializes the given device or file to be used as a swap
|
---|
568 | area</para>
|
---|
569 | <indexterm zone="ch-system-util-linux-ng mkswap">
|
---|
570 | <primary sortas="b-mkswap">mkswap</primary>
|
---|
571 | </indexterm>
|
---|
572 | </listitem>
|
---|
573 | </varlistentry>
|
---|
574 |
|
---|
575 | <varlistentry id="more">
|
---|
576 | <term><command>more</command></term>
|
---|
577 | <listitem>
|
---|
578 | <para>A filter for paging through text one screen at a time</para>
|
---|
579 | <indexterm zone="ch-system-util-linux-ng more">
|
---|
580 | <primary sortas="b-more">more</primary>
|
---|
581 | </indexterm>
|
---|
582 | </listitem>
|
---|
583 | </varlistentry>
|
---|
584 |
|
---|
585 | <varlistentry id="mount">
|
---|
586 | <term><command>mount</command></term>
|
---|
587 | <listitem>
|
---|
588 | <para>Attaches the file system on the given device to a specified
|
---|
589 | directory in the file-system tree</para>
|
---|
590 | <indexterm zone="ch-system-util-linux-ng mount">
|
---|
591 | <primary sortas="b-mount">mount</primary>
|
---|
592 | </indexterm>
|
---|
593 | </listitem>
|
---|
594 | </varlistentry>
|
---|
595 |
|
---|
596 | <varlistentry id="namei">
|
---|
597 | <term><command>namei</command></term>
|
---|
598 | <listitem>
|
---|
599 | <para>Shows the symbolic links in the given pathnames</para>
|
---|
600 | <indexterm zone="ch-system-util-linux-ng namei">
|
---|
601 | <primary sortas="b-namei">namei</primary>
|
---|
602 | </indexterm>
|
---|
603 | </listitem>
|
---|
604 | </varlistentry>
|
---|
605 |
|
---|
606 | <varlistentry id="partx">
|
---|
607 | <term><command>partx</command></term>
|
---|
608 | <listitem>
|
---|
609 | <para>Tells the kernel about the presence and numbering of on-disk
|
---|
610 | partitions</para>
|
---|
611 | <indexterm zone="ch-system-util-linux-ng partx">
|
---|
612 | <primary sortas="b-partx">partx</primary>
|
---|
613 | </indexterm>
|
---|
614 | </listitem>
|
---|
615 | </varlistentry>
|
---|
616 |
|
---|
617 | <varlistentry id="pg">
|
---|
618 | <term><command>pg</command></term>
|
---|
619 | <listitem>
|
---|
620 | <para>Displays a text file one screen full at a time</para>
|
---|
621 | <indexterm zone="ch-system-util-linux-ng pg">
|
---|
622 | <primary sortas="b-pg">pg</primary>
|
---|
623 | </indexterm>
|
---|
624 | </listitem>
|
---|
625 | </varlistentry>
|
---|
626 |
|
---|
627 | <varlistentry id="pivot_root">
|
---|
628 | <term><command>pivot_root</command></term>
|
---|
629 | <listitem>
|
---|
630 | <para>Makes the given file system the new root file system of the
|
---|
631 | current process</para>
|
---|
632 | <indexterm zone="ch-system-util-linux-ng pivot_root">
|
---|
633 | <primary sortas="b-pivot_root">pivot_root</primary>
|
---|
634 | </indexterm>
|
---|
635 | </listitem>
|
---|
636 | </varlistentry>
|
---|
637 |
|
---|
638 | <varlistentry id="readprofile">
|
---|
639 | <term><command>readprofile</command></term>
|
---|
640 | <listitem>
|
---|
641 | <para>Reads kernel profiling information</para>
|
---|
642 | <indexterm zone="ch-system-util-linux-ng readprofile">
|
---|
643 | <primary sortas="b-readprofile">readprofile</primary>
|
---|
644 | </indexterm>
|
---|
645 | </listitem>
|
---|
646 | </varlistentry>
|
---|
647 |
|
---|
648 | <varlistentry id="rename">
|
---|
649 | <term><command>rename</command></term>
|
---|
650 | <listitem>
|
---|
651 | <para>Renames the given files, replacing a given string with
|
---|
652 | another</para>
|
---|
653 | <indexterm zone="ch-system-util-linux-ng rename">
|
---|
654 | <primary sortas="b-rename">rename</primary>
|
---|
655 | </indexterm>
|
---|
656 | </listitem>
|
---|
657 | </varlistentry>
|
---|
658 |
|
---|
659 | <varlistentry id="renice">
|
---|
660 | <term><command>renice</command></term>
|
---|
661 | <listitem>
|
---|
662 | <para>Alters the priority of running processes</para>
|
---|
663 | <indexterm zone="ch-system-util-linux-ng renice">
|
---|
664 | <primary sortas="b-renice">renice</primary>
|
---|
665 | </indexterm>
|
---|
666 | </listitem>
|
---|
667 | </varlistentry>
|
---|
668 |
|
---|
669 | <varlistentry id="rev">
|
---|
670 | <term><command>rev</command></term>
|
---|
671 | <listitem>
|
---|
672 | <para>Reverses the lines of a given file</para>
|
---|
673 | <indexterm zone="ch-system-util-linux-ng rev">
|
---|
674 | <primary sortas="b-rev">rev</primary>
|
---|
675 | </indexterm>
|
---|
676 | </listitem>
|
---|
677 | </varlistentry>
|
---|
678 |
|
---|
679 | <varlistentry id="rtcwake">
|
---|
680 | <term><command>rtcwake</command></term>
|
---|
681 | <listitem>
|
---|
682 | <para>Enters a system sleep state until a specified wakeup time</para>
|
---|
683 | <indexterm zone="ch-system-util-linux-ng rtcwake">
|
---|
684 | <primary sortas="b-rtcwake">rtcwake</primary>
|
---|
685 | </indexterm>
|
---|
686 | </listitem>
|
---|
687 | </varlistentry>
|
---|
688 |
|
---|
689 | <varlistentry id="script">
|
---|
690 | <term><command>script</command></term>
|
---|
691 | <listitem>
|
---|
692 | <para>Makes a typescript of a terminal session</para>
|
---|
693 | <indexterm zone="ch-system-util-linux-ng script">
|
---|
694 | <primary sortas="b-script">script</primary>
|
---|
695 | </indexterm>
|
---|
696 | </listitem>
|
---|
697 | </varlistentry>
|
---|
698 |
|
---|
699 | <varlistentry id="scriptreplay">
|
---|
700 | <term><command>scriptreplay</command></term>
|
---|
701 | <listitem>
|
---|
702 | <para>Plays back typescripts created by <command>script</command></para>
|
---|
703 | <indexterm zone="ch-system-util-linux-ng scriptreplay">
|
---|
704 | <primary sortas="b-scriptreplay">scriptreplay</primary>
|
---|
705 | </indexterm>
|
---|
706 | </listitem>
|
---|
707 | </varlistentry>
|
---|
708 |
|
---|
709 | <varlistentry id="setarch">
|
---|
710 | <term><command>setarch</command></term>
|
---|
711 | <listitem>
|
---|
712 | <para>Changes reported architecture in new program environment and
|
---|
713 | sets personality flags</para>
|
---|
714 | <indexterm zone="ch-system-util-linux-ng setarch">
|
---|
715 | <primary sortas="b-setarch">setarch</primary>
|
---|
716 | </indexterm>
|
---|
717 | </listitem>
|
---|
718 | </varlistentry>
|
---|
719 |
|
---|
720 | <varlistentry id="setsid">
|
---|
721 | <term><command>setsid</command></term>
|
---|
722 | <listitem>
|
---|
723 | <para>Runs the given program in a new session</para>
|
---|
724 | <indexterm zone="ch-system-util-linux-ng setsid">
|
---|
725 | <primary sortas="b-setsid">setsid</primary>
|
---|
726 | </indexterm>
|
---|
727 | </listitem>
|
---|
728 | </varlistentry>
|
---|
729 |
|
---|
730 | <varlistentry id="setterm">
|
---|
731 | <term><command>setterm</command></term>
|
---|
732 | <listitem>
|
---|
733 | <para>Sets terminal attributes</para>
|
---|
734 | <indexterm zone="ch-system-util-linux-ng setterm">
|
---|
735 | <primary sortas="b-setterm">setterm</primary>
|
---|
736 | </indexterm>
|
---|
737 | </listitem>
|
---|
738 | </varlistentry>
|
---|
739 |
|
---|
740 | <varlistentry id="sfdisk">
|
---|
741 | <term><command>sfdisk</command></term>
|
---|
742 | <listitem>
|
---|
743 | <para>A disk partition table manipulator</para>
|
---|
744 | <indexterm zone="ch-system-util-linux-ng sfdisk">
|
---|
745 | <primary sortas="b-sfdisk">sfdisk</primary>
|
---|
746 | </indexterm>
|
---|
747 | </listitem>
|
---|
748 | </varlistentry>
|
---|
749 |
|
---|
750 | <varlistentry id="swapoff">
|
---|
751 | <term><command>swapoff</command></term>
|
---|
752 | <listitem>
|
---|
753 | <para>Disables devices and files for paging and swapping</para>
|
---|
754 | <indexterm zone="ch-system-util-linux-ng swapoff">
|
---|
755 | <primary sortas="b-swapoff">swapoff</primary>
|
---|
756 | </indexterm>
|
---|
757 | </listitem>
|
---|
758 | </varlistentry>
|
---|
759 |
|
---|
760 | <varlistentry id="swapon">
|
---|
761 | <term><command>swapon</command></term>
|
---|
762 | <listitem>
|
---|
763 | <para>Enables devices and files for paging and swapping and
|
---|
764 | lists the devices and files currently in use</para>
|
---|
765 | <indexterm zone="ch-system-util-linux-ng swapon">
|
---|
766 | <primary sortas="b-swapon">swapon</primary>
|
---|
767 | </indexterm>
|
---|
768 | </listitem>
|
---|
769 | </varlistentry>
|
---|
770 |
|
---|
771 | <varlistentry id="tailf">
|
---|
772 | <term><command>tailf</command></term>
|
---|
773 | <listitem>
|
---|
774 | <para>Tracks the growth of a log file. Displays the last 10 lines
|
---|
775 | of a log file, then continues displaying any new entries in the
|
---|
776 | log file as they are created</para>
|
---|
777 | <indexterm zone="ch-system-util-linux-ng tailf">
|
---|
778 | <primary sortas="b-tailf">tailf</primary>
|
---|
779 | </indexterm>
|
---|
780 | </listitem>
|
---|
781 | </varlistentry>
|
---|
782 |
|
---|
783 | <varlistentry id="taskset">
|
---|
784 | <term><command>taskset</command></term>
|
---|
785 | <listitem>
|
---|
786 | <para>Retrieves or sets a process's CPU affinity</para>
|
---|
787 | <indexterm zone="ch-system-util-linux-ng taskset">
|
---|
788 | <primary sortas="b-taskset">taskset</primary>
|
---|
789 | </indexterm>
|
---|
790 | </listitem>
|
---|
791 | </varlistentry>
|
---|
792 |
|
---|
793 | <varlistentry id="tunelp">
|
---|
794 | <term><command>tunelp</command></term>
|
---|
795 | <listitem>
|
---|
796 | <para>Tunes the parameters of the line printer</para>
|
---|
797 | <indexterm zone="ch-system-util-linux-ng tunelp">
|
---|
798 | <primary sortas="b-tunelp">tunelp</primary>
|
---|
799 | </indexterm>
|
---|
800 | </listitem>
|
---|
801 | </varlistentry>
|
---|
802 |
|
---|
803 | <varlistentry id="ul">
|
---|
804 | <term><command>ul</command></term>
|
---|
805 | <listitem>
|
---|
806 | <para>A filter for translating underscores into escape sequences
|
---|
807 | indicating underlining for the terminal in use</para>
|
---|
808 | <indexterm zone="ch-system-util-linux-ng ul">
|
---|
809 | <primary sortas="b-ul">ul</primary>
|
---|
810 | </indexterm>
|
---|
811 | </listitem>
|
---|
812 | </varlistentry>
|
---|
813 |
|
---|
814 | <varlistentry id="umount">
|
---|
815 | <term><command>umount</command></term>
|
---|
816 | <listitem>
|
---|
817 | <para>Disconnects a file system from the system's file tree</para>
|
---|
818 | <indexterm zone="ch-system-util-linux-ng umount">
|
---|
819 | <primary sortas="b-umount">umount</primary>
|
---|
820 | </indexterm>
|
---|
821 | </listitem>
|
---|
822 | </varlistentry>
|
---|
823 |
|
---|
824 | <varlistentry id="whereis">
|
---|
825 | <term><command>whereis</command></term>
|
---|
826 | <listitem>
|
---|
827 | <para>Reports the location of the binary, source, and man page
|
---|
828 | for the given command</para>
|
---|
829 | <indexterm zone="ch-system-util-linux-ng whereis">
|
---|
830 | <primary sortas="b-whereis">whereis</primary>
|
---|
831 | </indexterm>
|
---|
832 | </listitem>
|
---|
833 | </varlistentry>
|
---|
834 |
|
---|
835 | <varlistentry id="write">
|
---|
836 | <term><command>write</command></term>
|
---|
837 | <listitem>
|
---|
838 | <para>Sends a message to the given user <emphasis>if</emphasis> that
|
---|
839 | user has not disabled receipt of such messages</para>
|
---|
840 | <indexterm zone="ch-system-util-linux-ng write">
|
---|
841 | <primary sortas="b-write">write</primary>
|
---|
842 | </indexterm>
|
---|
843 | </listitem>
|
---|
844 | </varlistentry>
|
---|
845 |
|
---|
846 | <varlistentry id="libblkid">
|
---|
847 | <term><filename class="libraryfile">libblkid</filename></term>
|
---|
848 | <listitem>
|
---|
849 | <para>Contains routines for device identification and token
|
---|
850 | extraction</para>
|
---|
851 | <indexterm zone="ch-system-util-linux-ng libblkid">
|
---|
852 | <primary sortas="c-libblkid">libblkid</primary>
|
---|
853 | </indexterm>
|
---|
854 | </listitem>
|
---|
855 | </varlistentry>
|
---|
856 |
|
---|
857 | <varlistentry id="libuuid">
|
---|
858 | <term><filename class="libraryfile">libuuid</filename></term>
|
---|
859 | <listitem>
|
---|
860 | <para>Contains routines for generating unique identifiers for objects
|
---|
861 | that may be accessible beyond the local system</para>
|
---|
862 | <indexterm zone="ch-system-util-linux-ng libuuid">
|
---|
863 | <primary sortas="c-libuuid">libuuid</primary>
|
---|
864 | </indexterm>
|
---|
865 | </listitem>
|
---|
866 | </varlistentry>
|
---|
867 |
|
---|
868 | </variablelist>
|
---|
869 |
|
---|
870 | </sect2>
|
---|
871 |
|
---|
872 | </sect1>
|
---|