util-linux.xml 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
  3. "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  4. <!ENTITY % general-entities SYSTEM "../general.ent">
  5. %general-entities;
  6. ]>
  7. <sect1 id="ch-system-util-linux" role="wrap">
  8. <?dbhtml filename="util-linux.html"?>
  9. <sect1info condition="script">
  10. <productname>util-linux</productname>
  11. <productnumber>&util-linux-version;</productnumber>
  12. <address>&util-linux-url;</address>
  13. </sect1info>
  14. <title>Util-linux-&util-linux-version;</title>
  15. <indexterm zone="ch-system-util-linux">
  16. <primary sortas="a-Util-linux">Util-linux</primary>
  17. </indexterm>
  18. <sect2 role="package">
  19. <title/>
  20. <para>The Util-linux package contains miscellaneous utility programs.
  21. Among them are utilities for handling file systems, consoles, partitions,
  22. and messages.</para>
  23. <segmentedlist>
  24. <segtitle>&buildtime;</segtitle>
  25. <segtitle>&diskspace;</segtitle>
  26. <seglistitem>
  27. <seg>&util-linux-ch6-sbu;</seg>
  28. <seg>&util-linux-ch6-du;</seg>
  29. </seglistitem>
  30. </segmentedlist>
  31. </sect2>
  32. <sect2 role="installation">
  33. <title>FHS compliance notes</title>
  34. <para>The FHS recommends using the <filename
  35. class="directory">/var/lib/hwclock</filename> directory instead of the
  36. usual <filename class="directory">/etc</filename> directory as the
  37. location for the <filename>adjtime</filename> file. To make the
  38. <command>hwclock</command> program FHS-compliant, run the
  39. following:</para>
  40. <screen><userinput remap="pre">sed -i -e 's@etc/adjtime@var/lib/hwclock/adjtime@g' \
  41. $(grep -rl '/etc/adjtime' .)
  42. mkdir -pv /var/lib/hwclock</userinput></screen>
  43. </sect2>
  44. <sect2 role="installation">
  45. <title>Installation of Util-linux</title>
  46. <screen><userinput remap="configure">./configure --disable-su --disable-sulogin --disable-login</userinput></screen>
  47. <variablelist>
  48. <title>The meaning of the configure option:</title>
  49. <varlistentry>
  50. <term><parameter>--disable-*</parameter></term>
  51. <listitem>
  52. <para>These switches disable building su, sulogin, and login. They
  53. duplicate the same programs provided by <xref
  54. linkend='ch-system-shadow'/> and <xref linkend='ch-system-sysvinit'/>.
  55. They also require
  56. <ulink url="&blfs-root;/view/svn/postlfs/linux-pam.html">Linux-PAM</ulink>
  57. which is not available in LFS.</para>
  58. </listitem>
  59. </varlistentry>
  60. </variablelist>
  61. <para>Compile the package:</para>
  62. <screen><userinput remap="make">make</userinput></screen>
  63. <para>If desired, run the test suite as a non-root user:</para>
  64. <warning><para>Running the test suite as the root user can be harmful to
  65. your system. To run it, the kernel CONFIG_SCSI_DEBUG option for the kernel
  66. must be available in the currently running system. The CONFIG_SCSI_DEBUG
  67. option must be built as a module. Building it into the kernel will prevent
  68. booting. For complete coverage, other BLFS packages must be installed. If
  69. desired, this test can be run after rebooting into the completed LFS system
  70. and running:</para>
  71. <screen role="nodump"><userinput>bash tests/run.sh --srcdir=$PWD --builddir=$PWD</userinput></screen>
  72. </warning>
  73. <screen><userinput remap="test">chown -Rv nobody .
  74. su nobody -s /bin/bash -c "PATH=$PATH make check"</userinput></screen>
  75. <para>Install the package:</para>
  76. <screen><userinput remap="install">make install</userinput></screen>
  77. </sect2>
  78. <sect2 id="contents-utillinux" role="content">
  79. <title>Contents of Util-linux</title>
  80. <segmentedlist>
  81. <segtitle>Installed programs</segtitle>
  82. <segtitle>Installed libraries</segtitle>
  83. <segtitle>Installed directories</segtitle>
  84. <seglistitem>
  85. <seg>addpart, agetty, blkid, blockdev, cal, cfdisk, chcpu,
  86. chrt, col, colcrt, colrm, column, ctrlaltdel, cytune, delpart,
  87. dmesg, eject, fallocate, fdformat, fdisk, findfs, findmnt, flock, fsck,
  88. fsck.cramfs, fsck.minix, fsfreeze, fstrim, getopt, hexdump, hwclock, i386,
  89. ionice, ipcmk, ipcrm, ipcs, isosize, ldattach, linux32, linux64,
  90. logger, look, losetup, lsblk, lscpu, lslocks, mcookie, mkfs, mkfs.bfs,
  91. mkfs.cramfs, mkfs.minix, mkswap, more, mount, mountpoint, namei, partx,
  92. pg, pivot_root, prlimit, raw, readprofile, rename, renice, resizepart,
  93. rev, rtcwake, script, scriptreplay, setarch, setsid, setterm, sfdisk,
  94. swaplabel, swapoff (link to swapon), swapon, switch_root, tailf,
  95. taskset, ul, umount, unshare, utmpdump, uuidd, uuidgen, wall,
  96. wdctl, whereis, wipefs, and x86_64</seg>
  97. <seg>libblkid.{a,so}, libmount.{a,so}, libuuid.{a,so}</seg>
  98. <seg>/usr/include/blkid, /usr/include/libmount, /usr/include/uuid,
  99. /usr/share/getopt, /var/lib/hwclock</seg>
  100. </seglistitem>
  101. </segmentedlist>
  102. <variablelist>
  103. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  104. <?dbfo list-presentation="list"?>
  105. <?dbhtml list-presentation="table"?>
  106. <varlistentry id="addpart">
  107. <term><command>addpart</command></term>
  108. <listitem>
  109. <para>Informs the Linux kernel of new partitions</para>
  110. <indexterm zone="ch-system-util-linux addpart">
  111. <primary sortas="b-addpart">addpart</primary>
  112. </indexterm>
  113. </listitem>
  114. </varlistentry>
  115. <varlistentry id="agetty">
  116. <term><command>agetty</command></term>
  117. <listitem>
  118. <para>Opens a tty port, prompts for a login name,
  119. and then invokes the <command>login</command> program</para>
  120. <indexterm zone="ch-system-util-linux agetty">
  121. <primary sortas="b-agetty">agetty</primary>
  122. </indexterm>
  123. </listitem>
  124. </varlistentry>
  125. <varlistentry id="blkid">
  126. <term><command>blkid</command></term>
  127. <listitem>
  128. <para>A command line utility to locate and print block device
  129. attributes</para>
  130. <indexterm zone="ch-system-util-linux blkid">
  131. <primary sortas="b-blkid">blkid</primary>
  132. </indexterm>
  133. </listitem>
  134. </varlistentry>
  135. <varlistentry id="blockdev">
  136. <term><command>blockdev</command></term>
  137. <listitem>
  138. <para>Allows users to call block device ioctls from the command
  139. line</para>
  140. <indexterm zone="ch-system-util-linux blockdev">
  141. <primary sortas="b-blockdev">blockdev</primary>
  142. </indexterm>
  143. </listitem>
  144. </varlistentry>
  145. <varlistentry id="cal">
  146. <term><command>cal</command></term>
  147. <listitem>
  148. <para>Displays a simple calendar</para>
  149. <indexterm zone="ch-system-util-linux cal">
  150. <primary sortas="b-cal">cal</primary>
  151. </indexterm>
  152. </listitem>
  153. </varlistentry>
  154. <varlistentry id="cfdisk">
  155. <term><command>cfdisk</command></term>
  156. <listitem>
  157. <para>Manipulates the partition table of the given device</para>
  158. <indexterm zone="ch-system-util-linux cfdisk">
  159. <primary sortas="b-cfdisk">cfdisk</primary>
  160. </indexterm>
  161. </listitem>
  162. </varlistentry>
  163. <varlistentry id="chcpu">
  164. <term><command>chcpu</command></term>
  165. <listitem>
  166. <para>Modifies the state of CPUs</para>
  167. <indexterm zone="ch-system-util-linux chcpu">
  168. <primary sortas="b-chcpu">chcpu</primary>
  169. </indexterm>
  170. </listitem>
  171. </varlistentry>
  172. <varlistentry id="chrt">
  173. <term><command>chrt</command></term>
  174. <listitem>
  175. <para>Manipulates real-time attributes of a process</para>
  176. <indexterm zone="ch-system-util-linux chrt">
  177. <primary sortas="b-chrt">chrt</primary>
  178. </indexterm>
  179. </listitem>
  180. </varlistentry>
  181. <varlistentry id="col">
  182. <term><command>col</command></term>
  183. <listitem>
  184. <para>Filters out reverse line feeds</para>
  185. <indexterm zone="ch-system-util-linux col">
  186. <primary sortas="b-col">col</primary>
  187. </indexterm>
  188. </listitem>
  189. </varlistentry>
  190. <varlistentry id="colcrt">
  191. <term><command>colcrt</command></term>
  192. <listitem>
  193. <para>Filters <command>nroff</command> output for terminals
  194. that lack some capabilities, such as overstriking and half-lines</para>
  195. <indexterm zone="ch-system-util-linux colcrt">
  196. <primary sortas="b-colcrt">colcrt</primary>
  197. </indexterm>
  198. </listitem>
  199. </varlistentry>
  200. <varlistentry id="colrm">
  201. <term><command>colrm</command></term>
  202. <listitem>
  203. <para>Filters out the given columns</para>
  204. <indexterm zone="ch-system-util-linux colrm">
  205. <primary sortas="b-colrm">colrm</primary>
  206. </indexterm>
  207. </listitem>
  208. </varlistentry>
  209. <varlistentry id="column">
  210. <term><command>column</command></term>
  211. <listitem>
  212. <para>Formats a given file into multiple columns</para>
  213. <indexterm zone="ch-system-util-linux column">
  214. <primary sortas="b-column">column</primary>
  215. </indexterm>
  216. </listitem>
  217. </varlistentry>
  218. <varlistentry id="ctrlaltdel">
  219. <term><command>ctrlaltdel</command></term>
  220. <listitem>
  221. <para>Sets the function of the Ctrl+Alt+Del key combination to a
  222. hard or a soft reset</para>
  223. <indexterm zone="ch-system-util-linux ctrlaltdel">
  224. <primary sortas="b-ctrlaltdel">ctrlaltdel</primary>
  225. </indexterm>
  226. </listitem>
  227. </varlistentry>
  228. <varlistentry id="cytune">
  229. <term><command>cytune</command></term>
  230. <listitem>
  231. <para>Tunes the parameters of the serial line drivers for
  232. Cyclades cards</para>
  233. <indexterm zone="ch-system-util-linux cytune">
  234. <primary sortas="b-cytune">cytune</primary>
  235. </indexterm>
  236. </listitem>
  237. </varlistentry>
  238. <varlistentry id="delpart">
  239. <term><command>delpart</command></term>
  240. <listitem>
  241. <para>Asks the Linux kernel to remove a partition</para>
  242. <indexterm zone="ch-system-util-linux delpart">
  243. <primary sortas="b-delpart">delpart</primary>
  244. </indexterm>
  245. </listitem>
  246. </varlistentry>
  247. <varlistentry id="dmesg">
  248. <term><command>dmesg</command></term>
  249. <listitem>
  250. <para>Dumps the kernel boot messages</para>
  251. <indexterm zone="ch-system-util-linux dmesg">
  252. <primary sortas="b-dmesg">dmesg</primary>
  253. </indexterm>
  254. </listitem>
  255. </varlistentry>
  256. <varlistentry id="eject">
  257. <term><command>eject</command></term>
  258. <listitem>
  259. <para>Ejects removable media</para>
  260. <indexterm zone="ch-system-util-linux eject">
  261. <primary sortas="b-eject">eject</primary>
  262. </indexterm>
  263. </listitem>
  264. </varlistentry>
  265. <varlistentry id="fallocate">
  266. <term><command>fallocate</command></term>
  267. <listitem>
  268. <para>Preallocates space to a file</para>
  269. <indexterm zone="ch-system-util-linux fallocate">
  270. <primary sortas="b-fallocate">fallocate</primary>
  271. </indexterm>
  272. </listitem>
  273. </varlistentry>
  274. <varlistentry id="fdformat">
  275. <term><command>fdformat</command></term>
  276. <listitem>
  277. <para>Low-level formats a floppy disk</para>
  278. <indexterm zone="ch-system-util-linux fdformat">
  279. <primary sortas="b-fdformat">fdformat</primary>
  280. </indexterm>
  281. </listitem>
  282. </varlistentry>
  283. <varlistentry id="fdisk">
  284. <term><command>fdisk</command></term>
  285. <listitem>
  286. <para>Manipulates the paritition table of the given device</para>
  287. <indexterm zone="ch-system-util-linux fdisk">
  288. <primary sortas="b-fdisk">fdisk</primary>
  289. </indexterm>
  290. </listitem>
  291. </varlistentry>
  292. <varlistentry id="findfs">
  293. <term><command>findfs</command></term>
  294. <listitem>
  295. <para>Finds a file system by label or Universally Unique Identifier
  296. (UUID)</para>
  297. <indexterm zone="ch-system-util-linux findfs">
  298. <primary sortas="b-findfs">findfs</primary>
  299. </indexterm>
  300. </listitem>
  301. </varlistentry>
  302. <varlistentry id="findmnt">
  303. <term><command>findmnt</command></term>
  304. <listitem>
  305. <para>Is a command line interface to the libmount library
  306. for work with mountinfo, fstab and mtab files</para>
  307. <indexterm zone="ch-system-util-linux findmnt">
  308. <primary sortas="b-findmnt">findmnt</primary>
  309. </indexterm>
  310. </listitem>
  311. </varlistentry>
  312. <varlistentry id="flock">
  313. <term><command>flock</command></term>
  314. <listitem>
  315. <para>Acquires a file lock and then executes a command with the lock
  316. held</para>
  317. <indexterm zone="ch-system-util-linux flock">
  318. <primary sortas="b-flock">flock</primary>
  319. </indexterm>
  320. </listitem>
  321. </varlistentry>
  322. <varlistentry id="fsck">
  323. <term><command>fsck</command></term>
  324. <listitem>
  325. <para>Is used to check, and optionally repair, file systems</para>
  326. <indexterm zone="ch-system-util-linux fsck">
  327. <primary sortas="b-fsck">fsck</primary>
  328. </indexterm>
  329. </listitem>
  330. </varlistentry>
  331. <varlistentry id="fsck.cramfs">
  332. <term><command>fsck.cramfs</command></term>
  333. <listitem>
  334. <para>Performs a consistency check on the Cramfs file system on the
  335. given device</para>
  336. <indexterm zone="ch-system-util-linux fsck.cramfs">
  337. <primary sortas="b-fsck.cramfs">fsck.cramfs</primary>
  338. </indexterm>
  339. </listitem>
  340. </varlistentry>
  341. <varlistentry id="fsck.minix">
  342. <term><command>fsck.minix</command></term>
  343. <listitem>
  344. <para>Performs a consistency check on the Minix file system on the
  345. given device</para>
  346. <indexterm zone="ch-system-util-linux fsck.minix">
  347. <primary sortas="b-fsck.minix">fsck.minix</primary>
  348. </indexterm>
  349. </listitem>
  350. </varlistentry>
  351. <varlistentry id="fsfreeze">
  352. <term><command>fsfreeze</command></term>
  353. <listitem>
  354. <para>Is a very simple wrapper around FIFREEZE/FITHAW ioctl
  355. kernel driver operations</para>
  356. <indexterm zone="ch-system-util-linux fsfreeze">
  357. <primary sortas="b-fsfreeze">fsfreeze</primary>
  358. </indexterm>
  359. </listitem>
  360. </varlistentry>
  361. <varlistentry id="fstrim">
  362. <term><command>fstrim</command></term>
  363. <listitem>
  364. <para>Discards unused blocks on a mounted filesystem</para>
  365. <indexterm zone="ch-system-util-linux fstrim">
  366. <primary sortas="b-fstrim">fstrim</primary>
  367. </indexterm>
  368. </listitem>
  369. </varlistentry>
  370. <varlistentry id="getopt">
  371. <term><command>getopt</command></term>
  372. <listitem>
  373. <para>Parses options in the given command line</para>
  374. <indexterm zone="ch-system-util-linux getopt">
  375. <primary sortas="b-getopt">getopt</primary>
  376. </indexterm>
  377. </listitem>
  378. </varlistentry>
  379. <varlistentry id="hexdump">
  380. <term><command>hexdump</command></term>
  381. <listitem>
  382. <para>Dumps the given file in hexadecimal or in another given
  383. format</para>
  384. <indexterm zone="ch-system-util-linux hexdump">
  385. <primary sortas="b-hexdump">hexdump</primary>
  386. </indexterm>
  387. </listitem>
  388. </varlistentry>
  389. <varlistentry id="hwclock">
  390. <term><command>hwclock</command></term>
  391. <listitem>
  392. <para>Reads or sets the system's hardware clock, also called
  393. the Real-Time Clock (RTC) or Basic Input-Output System (BIOS)
  394. clock</para>
  395. <indexterm zone="ch-system-util-linux hwclock">
  396. <primary sortas="b-hwclock">hwclock</primary>
  397. </indexterm>
  398. </listitem>
  399. </varlistentry>
  400. <varlistentry id="i386">
  401. <term><command>i386</command></term>
  402. <listitem>
  403. <para>A symbolic link to setarch</para>
  404. <indexterm zone="ch-system-util-linux i386">
  405. <primary sortas="b-i386">i386</primary>
  406. </indexterm>
  407. </listitem>
  408. </varlistentry>
  409. <varlistentry id="ionice">
  410. <term><command>ionice</command></term>
  411. <listitem>
  412. <para>Gets or sets the io scheduling class and priority for a program</para>
  413. <indexterm zone="ch-system-util-linux ionice">
  414. <primary sortas="b-ionice">ionice</primary>
  415. </indexterm>
  416. </listitem>
  417. </varlistentry>
  418. <varlistentry id="ipcmk">
  419. <term><command>ipcmk</command></term>
  420. <listitem>
  421. <para>Creates various IPC resources</para>
  422. <indexterm zone="ch-system-util-linux ipcmk">
  423. <primary sortas="b-ipcmk">ipcmk</primary>
  424. </indexterm>
  425. </listitem>
  426. </varlistentry>
  427. <varlistentry id="ipcrm">
  428. <term><command>ipcrm</command></term>
  429. <listitem>
  430. <para>Removes the given Inter-Process Communication (IPC) resource</para>
  431. <indexterm zone="ch-system-util-linux ipcrm">
  432. <primary sortas="b-ipcrm">ipcrm</primary>
  433. </indexterm>
  434. </listitem>
  435. </varlistentry>
  436. <varlistentry id="ipcs">
  437. <term><command>ipcs</command></term>
  438. <listitem>
  439. <para>Provides IPC status information</para>
  440. <indexterm zone="ch-system-util-linux ipcs">
  441. <primary sortas="b-ipcs">ipcs</primary>
  442. </indexterm>
  443. </listitem>
  444. </varlistentry>
  445. <varlistentry id="isosize">
  446. <term><command>isosize</command></term>
  447. <listitem>
  448. <para>Reports the size of an iso9660 file system</para>
  449. <indexterm zone="ch-system-util-linux isosize">
  450. <primary sortas="b-isosize">isosize</primary>
  451. </indexterm>
  452. </listitem>
  453. </varlistentry>
  454. <varlistentry id="kill">
  455. <term><command>kill</command></term>
  456. <listitem>
  457. <para>Sends signals to processes</para>
  458. <indexterm zone="ch-system-util-linux kill">
  459. <primary sortas="b-kill">kill</primary>
  460. </indexterm>
  461. </listitem>
  462. </varlistentry>
  463. <varlistentry id="ldattach">
  464. <term><command>ldattach</command></term>
  465. <listitem>
  466. <para>Attaches a line discipline to a serial line</para>
  467. <indexterm zone="ch-system-util-linux ldattach">
  468. <primary sortas="b-ldattach">ldattach</primary>
  469. </indexterm>
  470. </listitem>
  471. </varlistentry>
  472. <varlistentry id="linux32">
  473. <term><command>linux32</command></term>
  474. <listitem>
  475. <para>A symbolic link to setarch</para>
  476. <indexterm zone="ch-system-util-linux linux32">
  477. <primary sortas="b-linux32">linux32</primary>
  478. </indexterm>
  479. </listitem>
  480. </varlistentry>
  481. <varlistentry id="linux64">
  482. <term><command>linux64</command></term>
  483. <listitem>
  484. <para>A symbolic link to setarch</para>
  485. <indexterm zone="ch-system-util-linux linux64">
  486. <primary sortas="b-linux64">linux64</primary>
  487. </indexterm>
  488. </listitem>
  489. </varlistentry>
  490. <varlistentry id="logger">
  491. <term><command>logger</command></term>
  492. <listitem>
  493. <para>Enters the given message into the system log</para>
  494. <indexterm zone="ch-system-util-linux logger">
  495. <primary sortas="b-logger">logger</primary>
  496. </indexterm>
  497. </listitem>
  498. </varlistentry>
  499. <varlistentry id="look">
  500. <term><command>look</command></term>
  501. <listitem>
  502. <para>Displays lines that begin with the given string</para>
  503. <indexterm zone="ch-system-util-linux look">
  504. <primary sortas="b-look">look</primary>
  505. </indexterm>
  506. </listitem>
  507. </varlistentry>
  508. <varlistentry id="losetup">
  509. <term><command>losetup</command></term>
  510. <listitem>
  511. <para>Sets up and controls loop devices</para>
  512. <indexterm zone="ch-system-util-linux losetup">
  513. <primary sortas="b-losetup">losetup</primary>
  514. </indexterm>
  515. </listitem>
  516. </varlistentry>
  517. <varlistentry id="lsblk">
  518. <term><command>lsblk</command></term>
  519. <listitem>
  520. <para>Lists information about all or selected block devices in
  521. a tree-like format.</para>
  522. <indexterm zone="ch-system-util-linux lsblk">
  523. <primary sortas="b-lsblk">lsblk</primary>
  524. </indexterm>
  525. </listitem>
  526. </varlistentry>
  527. <varlistentry id="lscpu">
  528. <term><command>lscpu</command></term>
  529. <listitem>
  530. <para>Prints CPU architecture information</para>
  531. <indexterm zone="ch-system-util-linux lscpu">
  532. <primary sortas="b-lscpu">lscpu</primary>
  533. </indexterm>
  534. </listitem>
  535. </varlistentry>
  536. <varlistentry id="lslocks">
  537. <term><command>lslocks</command></term>
  538. <listitem>
  539. <para>Lists local system locks</para>
  540. <indexterm zone="ch-system-util-linux lslocks">
  541. <primary sortas="b-lslocks">lslocks</primary>
  542. </indexterm>
  543. </listitem>
  544. </varlistentry>
  545. <varlistentry id="mcookie">
  546. <term><command>mcookie</command></term>
  547. <listitem>
  548. <para>Generates magic cookies (128-bit random hexadecimal numbers) for
  549. <command>xauth</command></para>
  550. <indexterm zone="ch-system-util-linux mcookie">
  551. <primary sortas="b-mcookie">mcookie</primary>
  552. </indexterm>
  553. </listitem>
  554. </varlistentry>
  555. <varlistentry id="mkfs">
  556. <term><command>mkfs</command></term>
  557. <listitem>
  558. <para>Builds a file system on a device (usually a hard disk
  559. partition)</para>
  560. <indexterm zone="ch-system-util-linux mkfs">
  561. <primary sortas="b-mkfs">mkfs</primary>
  562. </indexterm>
  563. </listitem>
  564. </varlistentry>
  565. <varlistentry id="mkfs.bfs">
  566. <term><command>mkfs.bfs</command></term>
  567. <listitem>
  568. <para>Creates a Santa Cruz Operations (SCO) bfs file system</para>
  569. <indexterm zone="ch-system-util-linux mkfs.bfs">
  570. <primary sortas="b-mkfs.bfs">mkfs.bfs</primary>
  571. </indexterm>
  572. </listitem>
  573. </varlistentry>
  574. <varlistentry id="mkfs.cramfs">
  575. <term><command>mkfs.cramfs</command></term>
  576. <listitem>
  577. <para>Creates a cramfs file system</para>
  578. <indexterm zone="ch-system-util-linux mkfs.cramfs">
  579. <primary sortas="b-mkfs.cramfs">mkfs.cramfs</primary>
  580. </indexterm>
  581. </listitem>
  582. </varlistentry>
  583. <varlistentry id="mkfs.minix">
  584. <term><command>mkfs.minix</command></term>
  585. <listitem>
  586. <para>Creates a Minix file system</para>
  587. <indexterm zone="ch-system-util-linux mkfs.minix">
  588. <primary sortas="b-mkfs.minix">mkfs.minix</primary>
  589. </indexterm>
  590. </listitem>
  591. </varlistentry>
  592. <varlistentry id="mkswap">
  593. <term><command>mkswap</command></term>
  594. <listitem>
  595. <para>Initializes the given device or file to be used as a swap
  596. area</para>
  597. <indexterm zone="ch-system-util-linux mkswap">
  598. <primary sortas="b-mkswap">mkswap</primary>
  599. </indexterm>
  600. </listitem>
  601. </varlistentry>
  602. <varlistentry id="more">
  603. <term><command>more</command></term>
  604. <listitem>
  605. <para>A filter for paging through text one screen at a time</para>
  606. <indexterm zone="ch-system-util-linux more">
  607. <primary sortas="b-more">more</primary>
  608. </indexterm>
  609. </listitem>
  610. </varlistentry>
  611. <varlistentry id="mount">
  612. <term><command>mount</command></term>
  613. <listitem>
  614. <para>Attaches the file system on the given device to a specified
  615. directory in the file-system tree</para>
  616. <indexterm zone="ch-system-util-linux mount">
  617. <primary sortas="b-mount">mount</primary>
  618. </indexterm>
  619. </listitem>
  620. </varlistentry>
  621. <varlistentry id="mountpoint">
  622. <term><command>mountpoint</command></term>
  623. <listitem>
  624. <para>Checks if the directory is a mountpoint</para>
  625. <indexterm zone="ch-system-util-linux mountpoint">
  626. <primary sortas="b-mountpoint">mountpoint</primary>
  627. </indexterm>
  628. </listitem>
  629. </varlistentry>
  630. <varlistentry id="namei">
  631. <term><command>namei</command></term>
  632. <listitem>
  633. <para>Shows the symbolic links in the given pathnames</para>
  634. <indexterm zone="ch-system-util-linux namei">
  635. <primary sortas="b-namei">namei</primary>
  636. </indexterm>
  637. </listitem>
  638. </varlistentry>
  639. <varlistentry id="partx">
  640. <term><command>partx</command></term>
  641. <listitem>
  642. <para>Tells the kernel about the presence and numbering of on-disk
  643. partitions</para>
  644. <indexterm zone="ch-system-util-linux partx">
  645. <primary sortas="b-partx">partx</primary>
  646. </indexterm>
  647. </listitem>
  648. </varlistentry>
  649. <varlistentry id="pg">
  650. <term><command>pg</command></term>
  651. <listitem>
  652. <para>Displays a text file one screen full at a time</para>
  653. <indexterm zone="ch-system-util-linux pg">
  654. <primary sortas="b-pg">pg</primary>
  655. </indexterm>
  656. </listitem>
  657. </varlistentry>
  658. <varlistentry id="pivot_root">
  659. <term><command>pivot_root</command></term>
  660. <listitem>
  661. <para>Makes the given file system the new root file system of the
  662. current process</para>
  663. <indexterm zone="ch-system-util-linux pivot_root">
  664. <primary sortas="b-pivot_root">pivot_root</primary>
  665. </indexterm>
  666. </listitem>
  667. </varlistentry>
  668. <varlistentry id="prlimit">
  669. <term><command>prlimit</command></term>
  670. <listitem>
  671. <para>Get and set a process' resource limits</para>
  672. <indexterm zone="ch-system-util-linux prlimit">
  673. <primary sortas="b-prlimit">prlimit</primary>
  674. </indexterm>
  675. </listitem>
  676. </varlistentry>
  677. <varlistentry id="raw">
  678. <term><command>raw</command></term>
  679. <listitem>
  680. <para>Bind a Linux raw character device to a block device</para>
  681. <indexterm zone="ch-system-util-linux raw">
  682. <primary sortas="b-raw">raw</primary>
  683. </indexterm>
  684. </listitem>
  685. </varlistentry>
  686. <varlistentry id="readprofile">
  687. <term><command>readprofile</command></term>
  688. <listitem>
  689. <para>Reads kernel profiling information</para>
  690. <indexterm zone="ch-system-util-linux readprofile">
  691. <primary sortas="b-readprofile">readprofile</primary>
  692. </indexterm>
  693. </listitem>
  694. </varlistentry>
  695. <varlistentry id="rename">
  696. <term><command>rename</command></term>
  697. <listitem>
  698. <para>Renames the given files, replacing a given string with
  699. another</para>
  700. <indexterm zone="ch-system-util-linux rename">
  701. <primary sortas="b-rename">rename</primary>
  702. </indexterm>
  703. </listitem>
  704. </varlistentry>
  705. <varlistentry id="renice">
  706. <term><command>renice</command></term>
  707. <listitem>
  708. <para>Alters the priority of running processes</para>
  709. <indexterm zone="ch-system-util-linux renice">
  710. <primary sortas="b-renice">renice</primary>
  711. </indexterm>
  712. </listitem>
  713. </varlistentry>
  714. <varlistentry id="resizepart">
  715. <term><command>resizepart</command></term>
  716. <listitem>
  717. <para>Asks the Linux kernel to resize a partition</para>
  718. <indexterm zone="ch-system-util-linux resizepart">
  719. <primary sortas="b-resizepart">resizepart</primary>
  720. </indexterm>
  721. </listitem>
  722. </varlistentry>
  723. <varlistentry id="rev">
  724. <term><command>rev</command></term>
  725. <listitem>
  726. <para>Reverses the lines of a given file</para>
  727. <indexterm zone="ch-system-util-linux rev">
  728. <primary sortas="b-rev">rev</primary>
  729. </indexterm>
  730. </listitem>
  731. </varlistentry>
  732. <varlistentry id="rtcwake">
  733. <term><command>rtcwake</command></term>
  734. <listitem>
  735. <para>Used to enter a system sleep state until specified wakeup
  736. time</para>
  737. <indexterm zone="ch-system-util-linux rtcwake">
  738. <primary sortas="b-rtcwake">rtcwake</primary>
  739. </indexterm>
  740. </listitem>
  741. </varlistentry>
  742. <varlistentry id="script">
  743. <term><command>script</command></term>
  744. <listitem>
  745. <para>Makes a typescript of a terminal session</para>
  746. <indexterm zone="ch-system-util-linux script">
  747. <primary sortas="b-script">script</primary>
  748. </indexterm>
  749. </listitem>
  750. </varlistentry>
  751. <varlistentry id="scriptreplay">
  752. <term><command>scriptreplay</command></term>
  753. <listitem>
  754. <para>Plays back typescripts using timing information</para>
  755. <indexterm zone="ch-system-util-linux scriptreplay">
  756. <primary sortas="b-scriptreplay">scriptreplay</primary>
  757. </indexterm>
  758. </listitem>
  759. </varlistentry>
  760. <varlistentry id="setarch">
  761. <term><command>setarch</command></term>
  762. <listitem>
  763. <para>Changes reported architecture in a new program environment and
  764. sets personality flags</para>
  765. <indexterm zone="ch-system-util-linux setarch">
  766. <primary sortas="b-setarch">setarch</primary>
  767. </indexterm>
  768. </listitem>
  769. </varlistentry>
  770. <varlistentry id="setsid">
  771. <term><command>setsid</command></term>
  772. <listitem>
  773. <para>Runs the given program in a new session</para>
  774. <indexterm zone="ch-system-util-linux setsid">
  775. <primary sortas="b-setsid">setsid</primary>
  776. </indexterm>
  777. </listitem>
  778. </varlistentry>
  779. <varlistentry id="setterm">
  780. <term><command>setterm</command></term>
  781. <listitem>
  782. <para>Sets terminal attributes</para>
  783. <indexterm zone="ch-system-util-linux setterm">
  784. <primary sortas="b-setterm">setterm</primary>
  785. </indexterm>
  786. </listitem>
  787. </varlistentry>
  788. <varlistentry id="sfdisk">
  789. <term><command>sfdisk</command></term>
  790. <listitem>
  791. <para>A disk partition table manipulator</para>
  792. <indexterm zone="ch-system-util-linux sfdisk">
  793. <primary sortas="b-sfdisk">sfdisk</primary>
  794. </indexterm>
  795. </listitem>
  796. </varlistentry>
  797. <varlistentry id="swaplabel">
  798. <term><command>swaplabel</command></term>
  799. <listitem>
  800. <para>Allows to change swaparea UUID and label</para>
  801. <indexterm zone="ch-system-util-linux swaplabel">
  802. <primary sortas="b-swaplabel">swaplabel</primary>
  803. </indexterm>
  804. </listitem>
  805. </varlistentry>
  806. <varlistentry id="swapoff">
  807. <term><command>swapoff</command></term>
  808. <listitem>
  809. <para>Disables devices and files for paging and swapping</para>
  810. <indexterm zone="ch-system-util-linux swapoff">
  811. <primary sortas="b-swapoff">swapoff</primary>
  812. </indexterm>
  813. </listitem>
  814. </varlistentry>
  815. <varlistentry id="swapon">
  816. <term><command>swapon</command></term>
  817. <listitem>
  818. <para>Enables devices and files for paging and swapping and
  819. lists the devices and files currently in use</para>
  820. <indexterm zone="ch-system-util-linux swapon">
  821. <primary sortas="b-swapon">swapon</primary>
  822. </indexterm>
  823. </listitem>
  824. </varlistentry>
  825. <varlistentry id="switch_root">
  826. <term><command>switch_root</command></term>
  827. <listitem>
  828. <para>Switches to another filesystem as the root of the mount tree</para>
  829. <indexterm zone="ch-system-util-linux switch_root">
  830. <primary sortas="b-switch_root">switch_root</primary>
  831. </indexterm>
  832. </listitem>
  833. </varlistentry>
  834. <varlistentry id="tailf">
  835. <term><command>tailf</command></term>
  836. <listitem>
  837. <para>Tracks the growth of a log file. Displays the last 10 lines
  838. of a log file, then continues displaying any new entries in the
  839. log file as they are created</para>
  840. <indexterm zone="ch-system-util-linux tailf">
  841. <primary sortas="b-tailf">tailf</primary>
  842. </indexterm>
  843. </listitem>
  844. </varlistentry>
  845. <varlistentry id="taskset">
  846. <term><command>taskset</command></term>
  847. <listitem>
  848. <para>Retrieves or sets a process' CPU affinity</para>
  849. <indexterm zone="ch-system-util-linux taskset">
  850. <primary sortas="b-taskset">taskset</primary>
  851. </indexterm>
  852. </listitem>
  853. </varlistentry>
  854. <varlistentry id="ul">
  855. <term><command>ul</command></term>
  856. <listitem>
  857. <para>A filter for translating underscores into escape sequences
  858. indicating underlining for the terminal in use</para>
  859. <indexterm zone="ch-system-util-linux ul">
  860. <primary sortas="b-ul">ul</primary>
  861. </indexterm>
  862. </listitem>
  863. </varlistentry>
  864. <varlistentry id="umount">
  865. <term><command>umount</command></term>
  866. <listitem>
  867. <para>Disconnects a file system from the system's file tree</para>
  868. <indexterm zone="ch-system-util-linux umount">
  869. <primary sortas="b-umount">umount</primary>
  870. </indexterm>
  871. </listitem>
  872. </varlistentry>
  873. <varlistentry id="unshare">
  874. <term><command>unshare</command></term>
  875. <listitem>
  876. <para>Runs a program with some namespaces unshared from parent</para>
  877. <indexterm zone="ch-system-util-linux unshare">
  878. <primary sortas="b-unshare">unshare</primary>
  879. </indexterm>
  880. </listitem>
  881. </varlistentry>
  882. <varlistentry id="utmpdump">
  883. <term><command>utmpdump</command></term>
  884. <listitem>
  885. <para>Displays the content of the given login file in a more
  886. user-friendly format</para>
  887. <indexterm zone="ch-system-util-linux utmpdump">
  888. <primary sortas="b-utmpdump">utmpdump</primary>
  889. </indexterm>
  890. </listitem>
  891. </varlistentry>
  892. <varlistentry id="uuidd">
  893. <term><command>uuidd</command></term>
  894. <listitem>
  895. <para>A daemon used by the UUID library to generate time-based
  896. UUIDs in a secure and guranteed-unique fashion.</para>
  897. <indexterm zone="ch-system-util-linux uuidd">
  898. <primary sortas="b-uuidd">uuidd</primary>
  899. </indexterm>
  900. </listitem>
  901. </varlistentry>
  902. <varlistentry id="uuidgen">
  903. <term><command>uuidgen</command></term>
  904. <listitem>
  905. <para>Creates new UUIDs. Each new UUID can reasonably be considered
  906. unique among all UUIDs created, on the local system and on other
  907. systems, in the past and in the future</para>
  908. <indexterm zone="ch-system-util-linux uuidgen">
  909. <primary sortas="b-uuidgen">uuidgen</primary>
  910. </indexterm>
  911. </listitem>
  912. </varlistentry>
  913. <varlistentry id="wall">
  914. <term><command>wall</command></term>
  915. <listitem>
  916. <para>Displays the contents of a file or, by default, its standard
  917. input, on the terminals of all currently logged in users</para>
  918. <indexterm zone="ch-system-util-linux wall">
  919. <primary sortas="b-wall">wall</primary>
  920. </indexterm>
  921. </listitem>
  922. </varlistentry>
  923. <varlistentry id="wdctl">
  924. <term><command>wdctl</command></term>
  925. <listitem>
  926. <para>Shows hardware watchdog status</para>
  927. <indexterm zone="ch-system-util-linux wdctl">
  928. <primary sortas="b-wdctl">wdctl</primary>
  929. </indexterm>
  930. </listitem>
  931. </varlistentry>
  932. <varlistentry id="whereis">
  933. <term><command>whereis</command></term>
  934. <listitem>
  935. <para>Reports the location of the binary, source, and man page
  936. for the given command</para>
  937. <indexterm zone="ch-system-util-linux whereis">
  938. <primary sortas="b-whereis">whereis</primary>
  939. </indexterm>
  940. </listitem>
  941. </varlistentry>
  942. <varlistentry id="wipefs">
  943. <term><command>wipefs</command></term>
  944. <listitem>
  945. <para>Wipes a filesystem signature from a device</para>
  946. <indexterm zone="ch-system-util-linux wipefs">
  947. <primary sortas="b-wipefs">wipefs</primary>
  948. </indexterm>
  949. </listitem>
  950. </varlistentry>
  951. <varlistentry id="x86_64">
  952. <term><command>x86_64</command></term>
  953. <listitem>
  954. <para>A symbolic link to setarch</para>
  955. <indexterm zone="ch-system-util-linux x86_64">
  956. <primary sortas="b-x86_64">x86_64</primary>
  957. </indexterm>
  958. </listitem>
  959. </varlistentry>
  960. <varlistentry id="libblkid">
  961. <term><filename class="libraryfile">libblkid</filename></term>
  962. <listitem>
  963. <para>Contains routines for device identification and token
  964. extraction</para>
  965. <indexterm zone="ch-system-util-linux libblkid">
  966. <primary sortas="c-libblkid">libblkid</primary>
  967. </indexterm>
  968. </listitem>
  969. </varlistentry>
  970. <varlistentry id="libmount">
  971. <term><filename class="libraryfile">libmount</filename></term>
  972. <listitem>
  973. <para>Contains routines for block device mounting and
  974. unmounting</para>
  975. <indexterm zone="ch-system-util-linux libmount">
  976. <primary sortas="c-libmount">libmount</primary>
  977. </indexterm>
  978. </listitem>
  979. </varlistentry>
  980. <varlistentry id="libuuid">
  981. <term><filename class="libraryfile">libuuid</filename></term>
  982. <listitem>
  983. <para>Contains routines for generating unique identifiers for objects
  984. that may be accessible beyond the local system</para>
  985. <indexterm zone="ch-system-util-linux libuuid">
  986. <primary sortas="c-libuuid">libuuid</primary>
  987. </indexterm>
  988. </listitem>
  989. </varlistentry>
  990. </variablelist>
  991. </sect2>
  992. </sect1>