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