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