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