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