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