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