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