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