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