1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
3 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
4 | %general-entities;
|
---|
5 | ]>
|
---|
6 | <sect1 id="ch-system-util-linux" xreflabel="Util-linux" role="wrap">
|
---|
7 | <title>Util-linux-&util-linux-version;</title>
|
---|
8 | <?dbhtml filename="util-linux.html"?>
|
---|
9 |
|
---|
10 | <indexterm zone="ch-system-util-linux"><primary sortas="a-Util-linux">Util-linux</primary></indexterm>
|
---|
11 |
|
---|
12 | <sect2 role="package"><title/>
|
---|
13 | <para>The Util-linux package contains miscellaneous utility programs. Among
|
---|
14 | them are utilities for handling file systems, consoles, partitions, and
|
---|
15 | messages.</para>
|
---|
16 |
|
---|
17 | <segmentedlist>
|
---|
18 | <segtitle>&buildtime;</segtitle>
|
---|
19 | <segtitle>&diskspace;</segtitle>
|
---|
20 | <seglistitem><seg>0.2 SBU</seg><seg>16 MB</seg></seglistitem>
|
---|
21 | </segmentedlist>
|
---|
22 |
|
---|
23 | <segmentedlist>
|
---|
24 | <segtitle>Util-linux installation depends on</segtitle>
|
---|
25 | <seglistitem><seg>Bash, Binutils, Coreutils,
|
---|
26 | Diffutils, GCC, Gettext, Glibc, Grep, Make, Ncurses, Sed, and Zlib</seg></seglistitem>
|
---|
27 | </segmentedlist>
|
---|
28 | </sect2>
|
---|
29 |
|
---|
30 | <sect2 role="installation">
|
---|
31 | <title>FHS compliance notes</title>
|
---|
32 |
|
---|
33 | <para>The FHS recommends using the <filename
|
---|
34 | class="directory">/var/lib/hwclock</filename> directory instead of the
|
---|
35 | usual <filename class="directory">/etc</filename> directory as the
|
---|
36 | location for the <filename>adjtime</filename> file. To make the
|
---|
37 | <command>hwclock</command> program FHS-compliant, run the
|
---|
38 | following:</para>
|
---|
39 |
|
---|
40 | <screen><userinput>sed -i 's@etc/adjtime@var/lib/hwclock/adjtime@g' \
|
---|
41 | hwclock/hwclock.c
|
---|
42 | mkdir -p /var/lib/hwclock</userinput></screen>
|
---|
43 |
|
---|
44 | </sect2>
|
---|
45 |
|
---|
46 | <sect2 role="installation">
|
---|
47 | <title>Installation of Util-linux</title>
|
---|
48 |
|
---|
49 | <para>GCC-&gcc-version; miscompiles <command>sfdisk</command> if the
|
---|
50 | default optimisation level is used. The following command
|
---|
51 | corrects the problem:</para>
|
---|
52 |
|
---|
53 | <screen><userinput>sed -i -e 's%^include ../MCONFIG%&\n\nCFLAGS:=$(CFLAGS) -fno-unit-at-a-time%' fdisk/Makefile</userinput></screen>
|
---|
54 |
|
---|
55 | <para>Prepare Util-linux for compilation:</para>
|
---|
56 |
|
---|
57 | <screen><userinput>./configure</userinput></screen>
|
---|
58 |
|
---|
59 | <para>Compile the package:</para>
|
---|
60 |
|
---|
61 | <screen><userinput>make HAVE_KILL=yes HAVE_SLN=yes</userinput></screen>
|
---|
62 |
|
---|
63 | <para>The meaning of the make parameters:</para>
|
---|
64 |
|
---|
65 | <variablelist>
|
---|
66 | <varlistentry>
|
---|
67 | <term><parameter>HAVE_KILL=yes</parameter></term>
|
---|
68 | <listitem><para>This prevents the
|
---|
69 | <command>kill</command> program (already installed by Procps) from being
|
---|
70 | built and installed again.</para></listitem>
|
---|
71 | </varlistentry>
|
---|
72 |
|
---|
73 | <varlistentry>
|
---|
74 | <term><parameter>HAVE_SLN=yes</parameter></term>
|
---|
75 | <listitem><para>This prevents the <command>sln</command> program (a
|
---|
76 | statically linked version of <command>ln</command> already installed
|
---|
77 | by Glibc) from being built and installed again.</para></listitem>
|
---|
78 | </varlistentry>
|
---|
79 | </variablelist>
|
---|
80 |
|
---|
81 | <para>This package does not come with a test suite.</para>
|
---|
82 |
|
---|
83 | <para>Install the package:</para>
|
---|
84 |
|
---|
85 | <screen><userinput>make HAVE_KILL=yes HAVE_SLN=yes install</userinput></screen>
|
---|
86 |
|
---|
87 | </sect2>
|
---|
88 |
|
---|
89 | <sect2 id="contents-utillinux" role="content"><title>Contents of Util-linux</title>
|
---|
90 |
|
---|
91 | <segmentedlist>
|
---|
92 | <segtitle>Installed programs</segtitle>
|
---|
93 | <seglistitem><seg>agetty, arch, blockdev, cal, cfdisk, chkdupexe, col, colcrt,
|
---|
94 | colrm, column, ctrlaltdel, cytune, ddate, dmesg, elvtune, fdformat, fdisk,
|
---|
95 | fsck.cramfs, fsck.minix, getopt, hexdump, hwclock, ipcrm, ipcs, isosize, line,
|
---|
96 | logger, look, losetup, mcookie, mkfs, mkfs.bfs, mkfs.cramfs, mkfs.minix, mkswap,
|
---|
97 | more, mount, namei, pg, pivot_root, ramsize (link to rdev), raw, rdev, readprofile,
|
---|
98 | rename, renice, rev, rootflags (link to rdev), script, setfdprm, setsid, setterm,
|
---|
99 | sfdisk, swapdev, swapoff (link to swapon), swapon, tunelp, ul, umount, vidmode (link to rdev),
|
---|
100 | whereis, and write</seg></seglistitem>
|
---|
101 | </segmentedlist>
|
---|
102 |
|
---|
103 | <variablelist><bridgehead renderas="sect3">Short descriptions</bridgehead>
|
---|
104 | <?dbfo list-presentation="list"?>
|
---|
105 |
|
---|
106 | <varlistentry id="agetty">
|
---|
107 | <term><command>agetty</command></term>
|
---|
108 | <listitem>
|
---|
109 | <para>opens a tty port, prompts for a login name,
|
---|
110 | and then invokes the <command>login</command> program.</para>
|
---|
111 | <indexterm zone="ch-system-util-linux agetty"><primary sortas="b-agetty">agetty</primary></indexterm>
|
---|
112 | </listitem>
|
---|
113 | </varlistentry>
|
---|
114 |
|
---|
115 | <varlistentry id="arch">
|
---|
116 | <term><command>arch</command></term>
|
---|
117 | <listitem>
|
---|
118 | <para>reports the machine's architecture.</para>
|
---|
119 | <indexterm zone="ch-system-util-linux arch"><primary sortas="b-arch">arch</primary></indexterm>
|
---|
120 | </listitem>
|
---|
121 | </varlistentry>
|
---|
122 |
|
---|
123 | <varlistentry id="blockdev">
|
---|
124 | <term><command>blockdev</command></term>
|
---|
125 | <listitem>
|
---|
126 | <para>allows users to call block device ioctls from the command line.</para>
|
---|
127 | <indexterm zone="ch-system-util-linux blockdev"><primary sortas="b-blockdev">blockdev</primary></indexterm>
|
---|
128 | </listitem>
|
---|
129 | </varlistentry>
|
---|
130 |
|
---|
131 | <varlistentry id="cal">
|
---|
132 | <term><command>cal</command></term>
|
---|
133 | <listitem>
|
---|
134 | <para>displays a simple calendar.</para>
|
---|
135 | <indexterm zone="ch-system-util-linux cal"><primary sortas="b-cal">cal</primary></indexterm>
|
---|
136 | </listitem>
|
---|
137 | </varlistentry>
|
---|
138 |
|
---|
139 | <varlistentry id="cfdisk">
|
---|
140 | <term><command>cfdisk</command></term>
|
---|
141 | <listitem>
|
---|
142 | <para>manipulates the partition table of the given device.</para>
|
---|
143 | <indexterm zone="ch-system-util-linux cfdisk"><primary sortas="b-cfdisk">cfdisk</primary></indexterm>
|
---|
144 | </listitem>
|
---|
145 | </varlistentry>
|
---|
146 |
|
---|
147 | <varlistentry id="chkdupexe">
|
---|
148 | <term><command>chkdupexe</command></term>
|
---|
149 | <listitem>
|
---|
150 | <para>finds duplicate executables.</para>
|
---|
151 | <indexterm zone="ch-system-util-linux chkdupexe"><primary sortas="b-chkdupexe">chkdupexe</primary></indexterm>
|
---|
152 | </listitem>
|
---|
153 | </varlistentry>
|
---|
154 |
|
---|
155 | <varlistentry id="col">
|
---|
156 | <term><command>col</command></term>
|
---|
157 | <listitem>
|
---|
158 | <para>filters out reverse line feeds.</para>
|
---|
159 | <indexterm zone="ch-system-util-linux col"><primary sortas="b-col">col</primary></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 colcrt"><primary sortas="b-colcrt">colcrt</primary></indexterm>
|
---|
169 | </listitem>
|
---|
170 | </varlistentry>
|
---|
171 |
|
---|
172 | <varlistentry id="colrm">
|
---|
173 | <term><command>colrm</command></term>
|
---|
174 | <listitem>
|
---|
175 | <para>filters out the given columns.</para>
|
---|
176 | <indexterm zone="ch-system-util-linux colrm"><primary sortas="b-colrm">colrm</primary></indexterm>
|
---|
177 | </listitem>
|
---|
178 | </varlistentry>
|
---|
179 |
|
---|
180 | <varlistentry id="column">
|
---|
181 | <term><command>column</command></term>
|
---|
182 | <listitem>
|
---|
183 | <para>formats a given file into multiple columns.</para>
|
---|
184 | <indexterm zone="ch-system-util-linux column"><primary sortas="b-column">column</primary></indexterm>
|
---|
185 | </listitem>
|
---|
186 | </varlistentry>
|
---|
187 |
|
---|
188 | <varlistentry id="ctrlaltdel">
|
---|
189 | <term><command>ctrlaltdel</command></term>
|
---|
190 | <listitem>
|
---|
191 | <para>sets the function of the Ctrl+Alt+Del key combination to a hard or a
|
---|
192 | soft reset.</para>
|
---|
193 | <indexterm zone="ch-system-util-linux ctrlaltdel"><primary sortas="b-ctrlaltdel">ctrlaltdel</primary></indexterm>
|
---|
194 | </listitem>
|
---|
195 | </varlistentry>
|
---|
196 |
|
---|
197 | <varlistentry id="cytune">
|
---|
198 | <term><command>cytune</command></term>
|
---|
199 | <listitem>
|
---|
200 | <para>tunes the parameters of the serial line drivers for
|
---|
201 | Cyclades cards.</para>
|
---|
202 | <indexterm zone="ch-system-util-linux cytune"><primary sortas="b-cytune">cytune</primary></indexterm>
|
---|
203 | </listitem>
|
---|
204 | </varlistentry>
|
---|
205 |
|
---|
206 | <varlistentry id="ddate">
|
---|
207 | <term><command>ddate</command></term>
|
---|
208 | <listitem>
|
---|
209 | <para>gives the Discordian date or converts the given Gregorian date
|
---|
210 | to a Discordian one.</para>
|
---|
211 | <indexterm zone="ch-system-util-linux ddate"><primary sortas="b-ddate">ddate</primary></indexterm>
|
---|
212 | </listitem>
|
---|
213 | </varlistentry>
|
---|
214 |
|
---|
215 | <varlistentry id="dmesg">
|
---|
216 | <term><command>dmesg</command></term>
|
---|
217 | <listitem>
|
---|
218 | <para>dumps the kernel boot messages.</para>
|
---|
219 | <indexterm zone="ch-system-util-linux dmesg"><primary sortas="b-dmesg">dmesg</primary></indexterm>
|
---|
220 | </listitem>
|
---|
221 | </varlistentry>
|
---|
222 |
|
---|
223 | <varlistentry id="elvtune">
|
---|
224 | <term><command>elvtune</command></term>
|
---|
225 | <listitem>
|
---|
226 | <para>tunes the performance and interactivity of a block
|
---|
227 | device.</para>
|
---|
228 | <indexterm zone="ch-system-util-linux elvtune"><primary sortas="b-elvtune">elvtune</primary></indexterm>
|
---|
229 | </listitem>
|
---|
230 | </varlistentry>
|
---|
231 |
|
---|
232 | <varlistentry id="fdformat">
|
---|
233 | <term><command>fdformat</command></term>
|
---|
234 | <listitem>
|
---|
235 | <para>low-level formats a floppy disk.</para>
|
---|
236 | <indexterm zone="ch-system-util-linux fdformat"><primary sortas="b-fdformat">fdformat</primary></indexterm>
|
---|
237 | </listitem>
|
---|
238 | </varlistentry>
|
---|
239 |
|
---|
240 | <varlistentry id="fdisk">
|
---|
241 | <term><command>fdisk</command></term>
|
---|
242 | <listitem>
|
---|
243 | <para>manipulates the partition table of the given device.</para>
|
---|
244 | <indexterm zone="ch-system-util-linux fdisk"><primary sortas="b-fdisk">fdisk</primary></indexterm>
|
---|
245 | </listitem>
|
---|
246 | </varlistentry>
|
---|
247 |
|
---|
248 | <varlistentry id="fsck.cramfs">
|
---|
249 | <term><command>fsck.cramfs</command></term>
|
---|
250 | <listitem>
|
---|
251 | <para>performs a consistency check on the Cramfs file system on the
|
---|
252 | given device.</para>
|
---|
253 | <indexterm zone="ch-system-util-linux fsck.cramfs"><primary sortas="b-fsck.cramfs">fsck.cramfs</primary></indexterm>
|
---|
254 | </listitem>
|
---|
255 | </varlistentry>
|
---|
256 |
|
---|
257 | <varlistentry id="fsck.minix">
|
---|
258 | <term><command>fsck.minix</command></term>
|
---|
259 | <listitem>
|
---|
260 | <para>performs a consistency check on the Minix file system on the
|
---|
261 | given device.</para>
|
---|
262 | <indexterm zone="ch-system-util-linux fsck.minix"><primary sortas="b-fsck.minix">fsck.minix</primary></indexterm>
|
---|
263 | </listitem>
|
---|
264 | </varlistentry>
|
---|
265 |
|
---|
266 | <varlistentry id="getopt">
|
---|
267 | <term><command>getopt</command></term>
|
---|
268 | <listitem>
|
---|
269 | <para>parses options in the given command line.</para>
|
---|
270 | <indexterm zone="ch-system-util-linux getopt"><primary sortas="b-getopt">getopt</primary></indexterm>
|
---|
271 | </listitem>
|
---|
272 | </varlistentry>
|
---|
273 |
|
---|
274 | <varlistentry id="hexdump">
|
---|
275 | <term><command>hexdump</command></term>
|
---|
276 | <listitem>
|
---|
277 | <para>dumps the given file in hexadecimal or in another given format.</para>
|
---|
278 | <indexterm zone="ch-system-util-linux hexdump"><primary sortas="b-hexdump">hexdump</primary></indexterm>
|
---|
279 | </listitem>
|
---|
280 | </varlistentry>
|
---|
281 |
|
---|
282 | <varlistentry id="hwclock">
|
---|
283 | <term><command>hwclock</command></term>
|
---|
284 | <listitem>
|
---|
285 | <para>reads or sets the system's hardware clock, also called
|
---|
286 | the Real-Time Clock (RTC)) or Basic Input-Output System (BIOS)
|
---|
287 | clock.</para>
|
---|
288 | <indexterm zone="ch-system-util-linux hwclock"><primary sortas="b-hwclock">hwclock</primary></indexterm>
|
---|
289 | </listitem>
|
---|
290 | </varlistentry>
|
---|
291 |
|
---|
292 | <varlistentry id="ipcrm">
|
---|
293 | <term><command>ipcrm</command></term>
|
---|
294 | <listitem>
|
---|
295 | <para>removes the given Inter-Process Communication (IPC) resource.</para>
|
---|
296 | <indexterm zone="ch-system-util-linux ipcrm"><primary sortas="b-ipcrm">ipcrm</primary></indexterm>
|
---|
297 | </listitem>
|
---|
298 | </varlistentry>
|
---|
299 |
|
---|
300 | <varlistentry id="ipcs">
|
---|
301 | <term><command>ipcs</command></term>
|
---|
302 | <listitem>
|
---|
303 | <para>provides IPC status information.</para>
|
---|
304 | <indexterm zone="ch-system-util-linux ipcs"><primary sortas="b-ipcs">ipcs</primary></indexterm>
|
---|
305 | </listitem>
|
---|
306 | </varlistentry>
|
---|
307 |
|
---|
308 | <varlistentry id="isosize">
|
---|
309 | <term><command>isosize</command></term>
|
---|
310 | <listitem>
|
---|
311 | <para>reports the size of an iso9660 file system.</para>
|
---|
312 | <indexterm zone="ch-system-util-linux isosize"><primary sortas="b-isosize">isosize</primary></indexterm>
|
---|
313 | </listitem>
|
---|
314 | </varlistentry>
|
---|
315 |
|
---|
316 | <varlistentry id="line">
|
---|
317 | <term><command>line</command></term>
|
---|
318 | <listitem>
|
---|
319 | <para>copies a single line.</para>
|
---|
320 | <indexterm zone="ch-system-util-linux line"><primary sortas="b-line">line</primary></indexterm>
|
---|
321 | </listitem>
|
---|
322 | </varlistentry>
|
---|
323 |
|
---|
324 | <varlistentry id="logger">
|
---|
325 | <term><command>logger</command></term>
|
---|
326 | <listitem>
|
---|
327 | <para>enters the given message into the system log.</para>
|
---|
328 | <indexterm zone="ch-system-util-linux logger"><primary sortas="b-logger">logger</primary></indexterm>
|
---|
329 | </listitem>
|
---|
330 | </varlistentry>
|
---|
331 |
|
---|
332 | <varlistentry id="look">
|
---|
333 | <term><command>look</command></term>
|
---|
334 | <listitem>
|
---|
335 | <para>displays lines that begin with the given string.</para>
|
---|
336 | <indexterm zone="ch-system-util-linux look"><primary sortas="b-look">look</primary></indexterm>
|
---|
337 | </listitem>
|
---|
338 | </varlistentry>
|
---|
339 |
|
---|
340 | <varlistentry id="losetup">
|
---|
341 | <term><command>losetup</command></term>
|
---|
342 | <listitem>
|
---|
343 | <para>sets up and controls loop devices.</para>
|
---|
344 | <indexterm zone="ch-system-util-linux losetup"><primary sortas="b-losetup">losetup</primary></indexterm>
|
---|
345 | </listitem>
|
---|
346 | </varlistentry>
|
---|
347 |
|
---|
348 | <varlistentry id="mcookie">
|
---|
349 | <term><command>mcookie</command></term>
|
---|
350 | <listitem>
|
---|
351 | <para>generates magic cookies (128-bit random hexadecimal numbers) for
|
---|
352 | <command>xauth</command>.</para>
|
---|
353 | <indexterm zone="ch-system-util-linux mcookie"><primary sortas="b-mcookie">mcookie</primary></indexterm>
|
---|
354 | </listitem>
|
---|
355 | </varlistentry>
|
---|
356 |
|
---|
357 | <varlistentry id="mkfs">
|
---|
358 | <term><command>mkfs</command></term>
|
---|
359 | <listitem>
|
---|
360 | <para>builds a file system on a device (usually a hard disk
|
---|
361 | partition).</para>
|
---|
362 | <indexterm zone="ch-system-util-linux mkfs"><primary sortas="b-mkfs">mkfs</primary></indexterm>
|
---|
363 | </listitem>
|
---|
364 | </varlistentry>
|
---|
365 |
|
---|
366 | <varlistentry id="mkfs.bfs">
|
---|
367 | <term><command>mkfs.bfs</command></term>
|
---|
368 | <listitem>
|
---|
369 | <para>creates an Santa Cruz Operations (SCO) bfs file system.</para>
|
---|
370 | <indexterm zone="ch-system-util-linux mkfs.bfs"><primary sortas="b-mkfs.bfs">mkfs.bfs</primary></indexterm>
|
---|
371 | </listitem>
|
---|
372 | </varlistentry>
|
---|
373 |
|
---|
374 | <varlistentry id="mkfs.cramfs">
|
---|
375 | <term><command>mkfs.cramfs</command></term>
|
---|
376 | <listitem>
|
---|
377 | <para>creates a cramfs file system.</para>
|
---|
378 | <indexterm zone="ch-system-util-linux mkfs.cramfs"><primary sortas="b-mkfs.cramfs">mkfs.cramfs</primary></indexterm>
|
---|
379 | </listitem>
|
---|
380 | </varlistentry>
|
---|
381 |
|
---|
382 | <varlistentry id="mkfs.minix">
|
---|
383 | <term><command>mkfs.minix</command></term>
|
---|
384 | <listitem>
|
---|
385 | <para>creates a Minix file system.</para>
|
---|
386 | <indexterm zone="ch-system-util-linux mkfs.minix"><primary sortas="b-mkfs.minix">mkfs.minix</primary></indexterm>
|
---|
387 | </listitem>
|
---|
388 | </varlistentry>
|
---|
389 |
|
---|
390 | <varlistentry id="mkswap">
|
---|
391 | <term><command>mkswap</command></term>
|
---|
392 | <listitem>
|
---|
393 | <para>initializes the given device or file to be used as a swap area.</para>
|
---|
394 | <indexterm zone="ch-system-util-linux mkswap"><primary sortas="b-mkswap">mkswap</primary></indexterm>
|
---|
395 | </listitem>
|
---|
396 | </varlistentry>
|
---|
397 |
|
---|
398 | <varlistentry id="more">
|
---|
399 | <term><command>more</command></term>
|
---|
400 | <listitem>
|
---|
401 | <para>a filter for paging through text one screen at a time.</para>
|
---|
402 | <indexterm zone="ch-system-util-linux more"><primary sortas="b-more">more</primary></indexterm>
|
---|
403 | </listitem>
|
---|
404 | </varlistentry>
|
---|
405 |
|
---|
406 | <varlistentry id="mount">
|
---|
407 | <term><command>mount</command></term>
|
---|
408 | <listitem>
|
---|
409 | <para>attaches the file system on the given device to a specified
|
---|
410 | directory in the file-system tree.</para>
|
---|
411 | <indexterm zone="ch-system-util-linux mount"><primary sortas="b-mount">mount</primary></indexterm>
|
---|
412 | </listitem>
|
---|
413 | </varlistentry>
|
---|
414 |
|
---|
415 | <varlistentry id="namei">
|
---|
416 | <term><command>namei</command></term>
|
---|
417 | <listitem>
|
---|
418 | <para>shows the symbolic links in the given pathnames.</para>
|
---|
419 | <indexterm zone="ch-system-util-linux namei"><primary sortas="b-namei">namei</primary></indexterm>
|
---|
420 | </listitem>
|
---|
421 | </varlistentry>
|
---|
422 |
|
---|
423 | <varlistentry id="pg">
|
---|
424 | <term><command>pg</command></term>
|
---|
425 | <listitem>
|
---|
426 | <para>displays a text file one screen full at a time.</para>
|
---|
427 | <indexterm zone="ch-system-util-linux pg"><primary sortas="b-pg">pg</primary></indexterm>
|
---|
428 | </listitem>
|
---|
429 | </varlistentry>
|
---|
430 |
|
---|
431 | <varlistentry id="pivot_root">
|
---|
432 | <term><command>pivot_root</command></term>
|
---|
433 | <listitem>
|
---|
434 | <para>makes the given file system the new root file system of the
|
---|
435 | current process.</para>
|
---|
436 | <indexterm zone="ch-system-util-linux pivot_root"><primary sortas="b-pivot_root">pivot_root</primary></indexterm>
|
---|
437 | </listitem>
|
---|
438 | </varlistentry>
|
---|
439 |
|
---|
440 | <varlistentry id="ramsize">
|
---|
441 | <term><command>ramsize</command></term>
|
---|
442 | <listitem>
|
---|
443 | <para>sets the size of the RAM disk in a bootable image.</para>
|
---|
444 | <indexterm zone="ch-system-util-linux ramsize"><primary sortas="b-ramsize">ramsize</primary></indexterm>
|
---|
445 | </listitem>
|
---|
446 | </varlistentry>
|
---|
447 |
|
---|
448 | <varlistentry id="rdev">
|
---|
449 | <term><command>rdev</command></term>
|
---|
450 | <listitem>
|
---|
451 | <para>queries and sets the root device, among other things, in a
|
---|
452 | bootable image.</para>
|
---|
453 | <indexterm zone="ch-system-util-linux rdev"><primary sortas="b-rdev">rdev</primary></indexterm>
|
---|
454 | </listitem>
|
---|
455 | </varlistentry>
|
---|
456 |
|
---|
457 | <varlistentry id="readprofile">
|
---|
458 | <term><command>readprofile</command></term>
|
---|
459 | <listitem>
|
---|
460 | <para>reads kernel profiling information.</para>
|
---|
461 | <indexterm zone="ch-system-util-linux readprofile"><primary sortas="b-readprofile">readprofile</primary></indexterm>
|
---|
462 | </listitem>
|
---|
463 | </varlistentry>
|
---|
464 |
|
---|
465 | <varlistentry id="rename">
|
---|
466 | <term><command>rename</command></term>
|
---|
467 | <listitem>
|
---|
468 | <para>renames the given files, replacing a given string with another.</para>
|
---|
469 | <indexterm zone="ch-system-util-linux rename"><primary sortas="b-rename">rename</primary></indexterm>
|
---|
470 | </listitem>
|
---|
471 | </varlistentry>
|
---|
472 |
|
---|
473 | <varlistentry id="renice">
|
---|
474 | <term><command>renice</command></term>
|
---|
475 | <listitem>
|
---|
476 | <para>alters the priority of running processes.</para>
|
---|
477 | <indexterm zone="ch-system-util-linux renice"><primary sortas="b-renice">renice</primary></indexterm>
|
---|
478 | </listitem>
|
---|
479 | </varlistentry>
|
---|
480 |
|
---|
481 | <varlistentry id="rev">
|
---|
482 | <term><command>rev</command></term>
|
---|
483 | <listitem>
|
---|
484 | <para>reverses the lines of a given file.</para>
|
---|
485 | <indexterm zone="ch-system-util-linux rev"><primary sortas="b-rev">rev</primary></indexterm>
|
---|
486 | </listitem>
|
---|
487 | </varlistentry>
|
---|
488 |
|
---|
489 | <varlistentry id="rootflags">
|
---|
490 | <term><command>rootflags</command></term>
|
---|
491 | <listitem>
|
---|
492 | <para>sets the rootflags in a bootable image.</para>
|
---|
493 | <indexterm zone="ch-system-util-linux rootflags"><primary sortas="b-rootflags">rootflags</primary></indexterm>
|
---|
494 | </listitem>
|
---|
495 | </varlistentry>
|
---|
496 |
|
---|
497 | <varlistentry id="script">
|
---|
498 | <term><command>script</command></term>
|
---|
499 | <listitem>
|
---|
500 | <para>makes a typescript of a terminal session (everything printed to
|
---|
501 | the terminal.</para>
|
---|
502 | <indexterm zone="ch-system-util-linux script"><primary sortas="b-script">script</primary></indexterm>
|
---|
503 | </listitem>
|
---|
504 | </varlistentry>
|
---|
505 |
|
---|
506 | <varlistentry id="setfdprm">
|
---|
507 | <term><command>setfdprm</command></term>
|
---|
508 | <listitem>
|
---|
509 | <para>sets user-provided floppy disk parameters.</para>
|
---|
510 | <indexterm zone="ch-system-util-linux setfdprm"><primary sortas="b-setfdprm">setfdprm</primary></indexterm>
|
---|
511 | </listitem>
|
---|
512 | </varlistentry>
|
---|
513 |
|
---|
514 | <varlistentry id="setsid">
|
---|
515 | <term><command>setsid</command></term>
|
---|
516 | <listitem>
|
---|
517 | <para>runs the given program in a new session.</para>
|
---|
518 | <indexterm zone="ch-system-util-linux setsid"><primary sortas="b-setsid">setsid</primary></indexterm>
|
---|
519 | </listitem>
|
---|
520 | </varlistentry>
|
---|
521 |
|
---|
522 | <varlistentry id="setterm">
|
---|
523 | <term><command>setterm</command></term>
|
---|
524 | <listitem>
|
---|
525 | <para>sets terminal attributes.</para>
|
---|
526 | <indexterm zone="ch-system-util-linux setterm"><primary sortas="b-setterm">setterm</primary></indexterm>
|
---|
527 | </listitem>
|
---|
528 | </varlistentry>
|
---|
529 |
|
---|
530 | <varlistentry id="sfdisk">
|
---|
531 | <term><command>sfdisk</command></term>
|
---|
532 | <listitem>
|
---|
533 | <para>a disk partition table manipulator.</para>
|
---|
534 | <indexterm zone="ch-system-util-linux sfdisk"><primary sortas="b-sfdisk">sfdisk</primary></indexterm>
|
---|
535 | </listitem>
|
---|
536 | </varlistentry>
|
---|
537 |
|
---|
538 | <varlistentry id="swapdev">
|
---|
539 | <term><command>swapdev</command></term>
|
---|
540 | <listitem>
|
---|
541 | <para>sets the swap device in a bootable image.</para>
|
---|
542 | <indexterm zone="ch-system-util-linux swapdev"><primary sortas="b-swapdev">swapdev</primary></indexterm>
|
---|
543 | </listitem>
|
---|
544 | </varlistentry>
|
---|
545 |
|
---|
546 | <varlistentry id="swapoff">
|
---|
547 | <term><command>swapoff</command></term>
|
---|
548 | <listitem>
|
---|
549 | <para>disables devices and files for paging and swapping.</para>
|
---|
550 | <indexterm zone="ch-system-util-linux swapoff"><primary sortas="b-swapoff">swapoff</primary></indexterm>
|
---|
551 | </listitem>
|
---|
552 | </varlistentry>
|
---|
553 |
|
---|
554 | <varlistentry id="swapon">
|
---|
555 | <term><command>swapon</command></term>
|
---|
556 | <listitem>
|
---|
557 | <para>enables devices and files for paging and swapping.</para>
|
---|
558 | <indexterm zone="ch-system-util-linux swapon"><primary sortas="b-swapon">swapon</primary></indexterm>
|
---|
559 | </listitem>
|
---|
560 | </varlistentry>
|
---|
561 |
|
---|
562 | <varlistentry id="tunelp">
|
---|
563 | <term><command>tunelp</command></term>
|
---|
564 | <listitem>
|
---|
565 | <para>tunes the parameters of the line printer.</para>
|
---|
566 | <indexterm zone="ch-system-util-linux tunelp"><primary sortas="b-tunelp">tunelp</primary></indexterm>
|
---|
567 | </listitem>
|
---|
568 | </varlistentry>
|
---|
569 |
|
---|
570 | <varlistentry id="ul">
|
---|
571 | <term><command>ul</command></term>
|
---|
572 | <listitem>
|
---|
573 | <para>a filter for translating underscores into
|
---|
574 | escape sequences indicating underlining for the terminal in use.</para>
|
---|
575 | <indexterm zone="ch-system-util-linux ul"><primary sortas="b-ul">ul</primary></indexterm>
|
---|
576 | </listitem>
|
---|
577 | </varlistentry>
|
---|
578 |
|
---|
579 | <varlistentry id="umount">
|
---|
580 | <term><command>umount</command></term>
|
---|
581 | <listitem>
|
---|
582 | <para>disconnects a file system from the system's file tree.</para>
|
---|
583 | <indexterm zone="ch-system-util-linux umount"><primary sortas="b-umount">umount</primary></indexterm>
|
---|
584 | </listitem>
|
---|
585 | </varlistentry>
|
---|
586 |
|
---|
587 | <varlistentry id="vidmode">
|
---|
588 | <term><command>vidmode</command></term>
|
---|
589 | <listitem>
|
---|
590 | <para>sets the video mode in a bootable image.</para>
|
---|
591 | <indexterm zone="ch-system-util-linux vidmode"><primary sortas="b-vidmode">vidmode</primary></indexterm>
|
---|
592 | </listitem>
|
---|
593 | </varlistentry>
|
---|
594 |
|
---|
595 | <varlistentry id="whereis">
|
---|
596 | <term><command>whereis</command></term>
|
---|
597 | <listitem>
|
---|
598 | <para>reports the location of binary, the source, and the manual page
|
---|
599 | for the given command.</para>
|
---|
600 | <indexterm zone="ch-system-util-linux whereis"><primary sortas="b-whereis">whereis</primary></indexterm>
|
---|
601 | </listitem>
|
---|
602 | </varlistentry>
|
---|
603 |
|
---|
604 | <varlistentry id="write">
|
---|
605 | <term><command>write</command></term>
|
---|
606 | <listitem>
|
---|
607 | <para>sends a message to the given user
|
---|
608 | <emphasis>if</emphasis> that user has not disabled receipt of such messages.</para>
|
---|
609 | <indexterm zone="ch-system-util-linux write"><primary sortas="b-write">write</primary></indexterm>
|
---|
610 | </listitem>
|
---|
611 | </varlistentry>
|
---|
612 | </variablelist>
|
---|
613 |
|
---|
614 | </sect2>
|
---|
615 |
|
---|
616 | </sect1>
|
---|
617 |
|
---|