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