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