1 To install the second extended file system management programs, 2just follow the steps: 3 41) Change directory into the top of the e2fsprogs source tree 5 62) Create a build directory and cd into it: 7 8 mkdir build; cd build 9 103) Run the configure script 11 12 ../configure 13 14 If you wish to turn on ELF shared libraries, add the option 15--enable-elf-shlibs. If you wish to build profiling libraries, add 16the option --enable-profile. 17 18 Note that if you are building on an older system (i.e., a 2.4 19kernel and/or glibc 2.2), the use of thread local storage will probably 20cause programs that use the uuid library to core dump. To disable 21thread local storage, use the configure option --disable-tls. 22 234) Compile the programs 24 25 make 26 275) Check to make sure the installation built correctly: 28 29 make check 30 316) Install the programs 32 33 Run `make install' 34 357) Install the include files and libraries 36 37 You can run `make install-libs' to install the include files and 38libraries. Please note that this installation is not needed for the 39programs to work. It is only needed if you expect to develop other 40programs using the libraries or if you want to compile other program 41using these libraries (like the 4.4BSD dump and restore port). 42 438) Remove any pre-formatted man pages. 44 45 Some distributions will have pre-formatted manual pages which 46will always be displayed in preference to newer man pages in /usr/man. 47If this is the case, you may need to manually remove them in order to 48see the correct manual pages. The shell script in 49install-utils/remove_preformat_manpages may be helpful in doing so. 50 519) Make sure your /etc/fstab file is correct. 52 53 Some distributions install an /etc/fstab which is missing the 54fifth and sixth field of filesystem entry, which are the dump 55frequency, and the fsck pass number, respectively. The problem with 56this is that the getmntent() library routine interprets those missing 57fields as "0", and a pass number of 0 is documented as meaning that 58fsck should not check that particular filesystem. If your entries in 59your /etc/fstab file look like this: 60 61/dev/hda4 / ext2 defaults 62 63you should add "1 1" at the end of each line, so that they look like this: 64 65/dev/hda4 / ext2 defaults 1 1 66 67 There is a script in install-utils/convfstab (donated by 68Michael Weller) that may help you correct your /etc/fstab file. 69 70