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