Changeset 81fd230 for chapter06/e2fsprogs.xml
- Timestamp:
- 02/19/2005 10:16:42 PM (19 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 3d31fc4
- Parents:
- 2f9131f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/e2fsprogs.xml
r2f9131f r81fd230 4 4 %general-entities; 5 5 ]> 6 <sect1 id="ch-system-e2fsprogs" xreflabel="E2fsprogs"role="wrap">6 <sect1 id="ch-system-e2fsprogs" role="wrap"> 7 7 <title>E2fsprogs-&e2fsprogs-version;</title> 8 8 <?dbhtml filename="e2fsprogs.html"?> … … 11 11 12 12 <sect2 role="package"><title/> 13 <para>The E2fsprogs package contains the utilities for handling the 14 <systemitem class="filesystem">ext2</systemitem> file system. It also supports 15 the <systemitem class="filesystem">ext3</systemitem> journaling file system.</para> 13 16 14 17 <segmentedlist> … … 18 21 </segmentedlist> 19 22 23 <segmentedlist> 24 <segtitle>E2fsprogs installation depends on</segtitle> 25 <seglistitem><seg>Bash, Binutils, Coreutils, 26 Diffutils, Gawk, GCC, Gettext, Glibc, Grep, Make, Sed, and Texinfo</seg></seglistitem> 27 </segmentedlist> 20 28 </sect2> 21 29 … … 23 31 <title>Installation of E2fsprogs</title> 24 32 25 <para>Create a build directory:</para> 33 <para>It is recommended that E2fsprogs be built in a subdirectory of the source tree: 34 </para> 26 35 27 36 <screen><userinput>mkdir build … … 33 42 --enable-elf-shlibs --disable-evms</userinput></screen> 34 43 44 <para>The meaning of the configure options:</para> 45 46 <variablelist> 47 <varlistentry> 48 <term><parameter>--with-root-prefix=""</parameter></term> 49 <listitem><para>Certain programs (such as the 50 <command>e2fsck</command> program) are considered essential programs. 51 When, for example, <filename class="directory">/usr</filename> is not 52 mounted, these essential programs need to be available. They belong in 53 directories like <filename class="directory">/lib</filename> and 54 <filename class="directory">/sbin</filename>. If this option is not 55 passed to E2fsprogs' configure, the programs are installed into the 56 <filename class="directory">/usr</filename> directory, which is not 57 where they should be.</para></listitem> 58 </varlistentry> 59 60 <varlistentry> 61 <term><parameter>--enable-elf-shlibs</parameter></term> 62 <listitem><para>This creates the shared libraries which some programs 63 in this package use.</para></listitem> 64 </varlistentry> 65 66 <varlistentry> 67 <term><parameter>--disable-evms</parameter></term> 68 <listitem><para>This disables the building of the Enterprise Volume 69 Management System (EVMS) plugin. This plugin is not up-to-date with 70 the latest EVMS internal interfaces and EVMS is not installed as part 71 of a base LFS system, so the plugin is not required. See the EVMS 72 website at <ulink url="http://evms.sourceforge.net/"/> for more 73 information regarding EVMS.</para></listitem> 74 </varlistentry> 75 </variablelist> 76 35 77 <para>Compile the package:</para> 36 78 … … 44 86 <screen><userinput>make install</userinput></screen> 45 87 46 <para> Also install the shared libraries:</para>88 <para>Install the shared libraries:</para> 47 89 48 90 <screen><userinput>make install-libs</userinput></screen> … … 50 92 </sect2> 51 93 94 95 52 96 <sect2 id="contents-e2fsprogs" role="content"><title>Contents of E2fsprogs</title> 53 97 54 <para>See testing</para> 98 <segmentedlist> 99 <segtitle>Installed programs</segtitle> 100 <segtitle>Installed libraries</segtitle> 101 <seglistitem><seg>badblocks, blkid, chattr, 102 compile_et, debugfs, dumpe2fs, e2fsck, e2image, e2label, findfs, fsck, 103 fsck.ext2, fsck.ext3, logsave, lsattr, mk_cmds, mke2fs, mkfs.ext2, mkfs.ext3, 104 mklost+found, resize2fs, tune2fs, and uuidgen.</seg> 105 <seg>libblkid.[a,so], libcom_err.[a,so], libe2p.[a,so], 106 libext2fs.[a,so], libss.[a,so], and libuuid.[a,so]</seg></seglistitem> 107 </segmentedlist> 108 109 <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead> 110 <?dbfo list-presentation="list"?> 111 112 <varlistentry id="badblocks"> 113 <term><command>badblocks</command></term> 114 <listitem> 115 <para>Searches a device (usually a disk partition) for bad blocks</para> 116 <indexterm zone="ch-system-e2fsprogs badblocks"><primary sortas="b-badblocks">badblocks</primary></indexterm> 117 </listitem> 118 </varlistentry> 119 120 <varlistentry id="blkid"> 121 <term><command>blkid</command></term> 122 <listitem> 123 <para>A command line utility to locate and print block device attributes</para> 124 <indexterm zone="ch-system-e2fsprogs blkid"><primary sortas="b-blkid">blkid</primary></indexterm> 125 </listitem> 126 </varlistentry> 127 128 <varlistentry id="chattr"> 129 <term><command>chattr</command></term> 130 <listitem> 131 <para>Changes the attributes of files on an <systemitem 132 class="filesystem">ext2</systemitem> file system; it also changes <systemitem 133 class="filesystem">ext3</systemitem> file systems, the journaling version of 134 <systemitem class="filesystem">ext2</systemitem> file systems</para> 135 <indexterm zone="ch-system-e2fsprogs chattr"><primary sortas="b-chattr">chattr</primary></indexterm> 136 </listitem> 137 </varlistentry> 138 139 <varlistentry id="compile_et"> 140 <term><command>compile_et</command></term> 141 <listitem> 142 <para>An error table compiler; it converts a table of error-code names and 143 messages into a C source file suitable for use with the <filename 144 class="libraryfile">com_err</filename> library</para> 145 <indexterm zone="ch-system-e2fsprogs compile_et"><primary sortas="b-compile_et">compile_et</primary></indexterm> 146 </listitem> 147 </varlistentry> 148 149 <varlistentry id="debugfs"> 150 <term><command>debugfs</command></term> 151 <listitem> 152 <para>A file system debugger; it can be used to examine and change the 153 state of an <systemitem class="filesystem">ext2</systemitem> file system</para> 154 <indexterm zone="ch-system-e2fsprogs debugfs"><primary sortas="b-debugfs">debugfs</primary></indexterm> 155 </listitem> 156 </varlistentry> 157 158 <varlistentry id="dumpe2fs"> 159 <term><command>dumpe2fs</command></term> 160 <listitem> 161 <para>Prints the super block and blocks group information for the file 162 system present on a given device</para> 163 <indexterm zone="ch-system-e2fsprogs dumpe2fs"><primary sortas="b-dumpe2fs">dumpe2fs</primary></indexterm> 164 </listitem> 165 </varlistentry> 166 167 <varlistentry id="e2fsck"> 168 <term><command>e2fsck</command></term> 169 <listitem> 170 <para>Is used to check, and optionally repair <systemitem 171 class="filesystem">ext2</systemitem> file systems and <systemitem 172 class="filesystem">ext3</systemitem> file systems</para> 173 <indexterm zone="ch-system-e2fsprogs e2fsck"><primary sortas="b-e2fsck">e2fsck</primary></indexterm> 174 </listitem> 175 </varlistentry> 176 177 <varlistentry id="e2image"> 178 <term><command>e2image</command></term> 179 <listitem> 180 <para>Is used to save critical <systemitem class="filesystem">ext2</systemitem> 181 file system data to a file</para> 182 <indexterm zone="ch-system-e2fsprogs e2image"><primary sortas="b-e2image">e2image</primary></indexterm> 183 </listitem> 184 </varlistentry> 185 186 <varlistentry id="e2label"> 187 <term><command>e2label</command></term> 188 <listitem> 189 <para>Displays or changes the file system label on the <systemitem 190 class="filesystem">ext2</systemitem> file system present on a given device</para> 191 <indexterm zone="ch-system-e2fsprogs e2label"><primary sortas="b-e2label">e2label</primary></indexterm> 192 </listitem> 193 </varlistentry> 194 195 <varlistentry id="findfs"> 196 <term><command>findfs</command></term> 197 <listitem> 198 <para>Finds a file system by label or Universally Unique Identifier (UUID)</para> 199 <indexterm zone="ch-system-e2fsprogs findfs"><primary sortas="b-findfs">findfs</primary></indexterm> 200 </listitem> 201 </varlistentry> 202 203 <varlistentry id="fsck"> 204 <term><command>fsck</command></term> 205 <listitem> 206 <para>Is used to check, and optionally repair, file systems</para> 207 <indexterm zone="ch-system-e2fsprogs fsck"><primary sortas="b-fsck">fsck</primary></indexterm> 208 </listitem> 209 </varlistentry> 210 211 <varlistentry id="fsck.ext2"> 212 <term><command>fsck.ext2</command></term> 213 <listitem> 214 <para>By default checks <systemitem class="filesystem">ext2</systemitem> 215 file systems</para> 216 <indexterm zone="ch-system-e2fsprogs fsck.ext2"><primary 217 sortas="b-fsck.ext2">fsck.ext2</primary></indexterm> 218 </listitem> 219 </varlistentry> 220 221 <varlistentry id="fsck.ext3"> 222 <term><command>fsck.ext3</command></term> 223 <listitem> 224 <para>By default checks <systemitem class="filesystem">ext3</systemitem> 225 file systems</para> 226 <indexterm zone="ch-system-e2fsprogs fsck.ext3"><primary 227 sortas="b-fsck.ext3">fsck.ext3</primary></indexterm> 228 </listitem> 229 </varlistentry> 230 231 <varlistentry id="logsave"> 232 <term><command>logsave</command></term> 233 <listitem> 234 <para>Saves the output of a command in a log file</para> 235 <indexterm zone="ch-system-e2fsprogs logsave"><primary sortas="b-logsave">logsave</primary></indexterm> 236 </listitem> 237 </varlistentry> 238 239 <varlistentry id="lsattr"> 240 <term><command>lsattr</command></term> 241 <listitem> 242 <para>Lists the attributes of files on a second extended file system</para> 243 <indexterm zone="ch-system-e2fsprogs lsattr"><primary sortas="b-lsattr">lsattr</primary></indexterm> 244 </listitem> 245 </varlistentry> 246 247 <varlistentry id="mk_cmds"> 248 <term><command>mk_cmds</command></term> 249 <listitem> 250 <para>Converts a table of command names and helps messages into a C 251 source file suitable for use with the <filename 252 class="libraryfile">libss</filename> subsystem library</para> 253 <indexterm zone="ch-system-e2fsprogs mk_cmds"><primary sortas="b-mk_cmds">mk_cmds</primary></indexterm> 254 </listitem> 255 </varlistentry> 256 257 <varlistentry id="mke2fs"> 258 <term><command>mke2fs</command></term> 259 <listitem> 260 <para>Is used to create a second extended file system on the given 261 device</para> 262 <indexterm zone="ch-system-e2fsprogs mke2fs"><primary sortas="b-mke2fs">mke2fs</primary></indexterm> 263 </listitem> 264 </varlistentry> 265 266 <varlistentry id="mkfs.ext2"> 267 <term><command>mkfs.ext2</command></term> 268 <listitem> 269 <para>By default creates <systemitem class="filesystem">ext2</systemitem> 270 file systems</para> 271 <indexterm zone="ch-system-e2fsprogs mkfs.ext2"><primary 272 sortas="b-mkfs.ext2">mkfs.ext2</primary></indexterm> 273 </listitem> 274 </varlistentry> 275 276 <varlistentry id="mkfs.ext3"> 277 <term><command>mkfs.ext3</command></term> 278 <listitem> 279 <para>By default creates <systemitem class="filesystem">ext3</systemitem> 280 file systems</para> 281 <indexterm zone="ch-system-e2fsprogs mkfs.ext3"><primary 282 sortas="b-mkfs.ext3">mkfs.ext3</primary></indexterm> 283 </listitem> 284 </varlistentry> 285 286 <varlistentry id="mklost-found"> 287 <term><command>mklost+found</command></term> 288 <listitem> 289 <para>Used to create a <filename class="directory">lost+found</filename> 290 directory on an <systemitem class="filesystem">ext2</systemitem> file system; 291 it pre-allocates disk blocks to this directory to lighten the task of 292 <command>e2fsck</command></para> 293 <indexterm zone="ch-system-e2fsprogs mklost-found"><primary sortas="b-mklost+found">mklost+found</primary></indexterm> 294 </listitem> 295 </varlistentry> 296 297 <varlistentry id="resize2fs"> 298 <term><command>resize2fs</command></term> 299 <listitem> 300 <para>Can be used to enlarge or shrink an <systemitem 301 class="filesystem">ext2</systemitem> file system</para> 302 <indexterm zone="ch-system-e2fsprogs resize2fs"><primary sortas="b-resize2fs">resize2fs</primary></indexterm> 303 </listitem> 304 </varlistentry> 305 306 <varlistentry id="tune2fs"> 307 <term><command>tune2fs</command></term> 308 <listitem> 309 <para>Adjusts tunable file system parameters on an <systemitem 310 class="filesystem">ext2</systemitem> file system</para> 311 <indexterm zone="ch-system-e2fsprogs tune2fs"><primary sortas="b-tune2fs">tune2fs</primary></indexterm> 312 </listitem> 313 </varlistentry> 314 315 <varlistentry id="uuidgen"> 316 <term><command>uuidgen</command></term> 317 <listitem> 318 <para>Creates new UUIDs. Each new UUID can reasonably be considered unique 319 among all UUIDs created, on the local system and on other systems, in the 320 past and in the future</para> 321 <indexterm zone="ch-system-e2fsprogs uuidgen"><primary sortas="b-uuidgen">uuidgen</primary></indexterm> 322 </listitem> 323 </varlistentry> 324 325 <varlistentry id="libblkid"> 326 <term><filename class="libraryfile">libblkid</filename></term> 327 <listitem> 328 <para>Contains routines for device identification and token extraction</para> 329 <indexterm zone="ch-system-e2fsprogs libblkid"><primary sortas="c-libblkid">libblkid</primary></indexterm> 330 </listitem> 331 </varlistentry> 332 333 <varlistentry id="libcom_err"> 334 <term><filename class="libraryfile">libcom_err</filename></term> 335 <listitem> 336 <para>The common error display routine</para> 337 <indexterm zone="ch-system-e2fsprogs libcom_err"><primary sortas="c-libcom_err">libcom_err</primary></indexterm> 338 </listitem> 339 </varlistentry> 340 341 <varlistentry id="libe2p"> 342 <term><filename class="libraryfile">libe2p</filename></term> 343 <listitem> 344 <para>Used by <command>dumpe2fs</command>, <command>chattr</command>, 345 and <command>lsattr</command></para> 346 <indexterm zone="ch-system-e2fsprogs libe2p"><primary sortas="c-libe2p">libe2p</primary></indexterm> 347 </listitem> 348 </varlistentry> 349 350 <varlistentry id="libext2fs"> 351 <term><filename class="libraryfile">libext2fs</filename></term> 352 <listitem> 353 <para>Contains routines to enable user-level programs to manipulate an 354 <systemitem class="filesystem">ext2</systemitem> file system</para> 355 <indexterm zone="ch-system-e2fsprogs libext2fs"><primary sortas="c-libext2fs">libext2fs</primary></indexterm> 356 </listitem> 357 </varlistentry> 358 359 <varlistentry id="libss"> 360 <term><filename class="libraryfile">libss</filename></term> 361 <listitem> 362 <para>Used by <command>debugfs</command></para> 363 <indexterm zone="ch-system-e2fsprogs libss"><primary sortas="c-libss">libss</primary></indexterm> 364 </listitem> 365 </varlistentry> 366 367 <varlistentry id="libuuid"> 368 <term><filename class="libraryfile">libuuid</filename></term> 369 <listitem> 370 <para>Contains routines for generating unique identifiers for objects 371 that may be accessible beyond the local system</para> 372 <indexterm zone="ch-system-e2fsprogs libuuid"><primary sortas="c-libuuid">libuuid</primary></indexterm> 373 </listitem> 374 </varlistentry> 375 </variablelist> 55 376 56 377 </sect2> 57 378 58 379 </sect1> 380
Note:
See TracChangeset
for help on using the changeset viewer.