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