blob: 24d13eabfab974d17cd846a97d423bce31603d9f [file] [log] [blame]
Theodore Ts'o3839e651997-04-26 13:21:57 +00001 To install the second extended file system management program,
2just follow the steps:
3
41) Edit the file MCONFIG
5
6 This file contains definitions used in the various makefiles. These
7definitions have reasonable default value but you may want to adjust them to
8your system configuration.
9
Theodore Ts'o6f4a1091997-04-26 13:32:25 +000010 In particular, if you don't have the tools to build shared
11libraries, you'll want to comment out the "BUILD_DLL_SHLIBS = YES"
12line.
Theodore Ts'o3839e651997-04-26 13:21:57 +000013
Theodore Ts'o6f4a1091997-04-26 13:32:25 +0000142) Compile the programs
Theodore Ts'o3839e651997-04-26 13:21:57 +000015
Theodore Ts'o6f4a1091997-04-26 13:32:25 +000016 Run `make world' to (a) create the dependencies files, (b)
17compile the libraries and the programs, and (c) run a test suite on
18e2fsck. The test suite runs a series of tests; for each one, e2fsck
19should return an exit status of 1 on the first pass, and an exit
20status of 0 on the second pass. The one exception to this is the
21"okgroup.img" test, which should return an exit status of 0 for both
22passes.
Theodore Ts'o3839e651997-04-26 13:21:57 +000023
Theodore Ts'o6f4a1091997-04-26 13:32:25 +0000243) Install the programs
Theodore Ts'o3839e651997-04-26 13:21:57 +000025
26 Run `make install'
27
Theodore Ts'o6f4a1091997-04-26 13:32:25 +0000284) Install the include files and libraries
Theodore Ts'o3839e651997-04-26 13:21:57 +000029
30 You can run `make install-libs' to install the include files and
31libraries. Please note that this installation is not needed for the
32programs to work. It is only needed if you expect to develop other
Theodore Ts'o6f4a1091997-04-26 13:32:25 +000033programs using the libraries or if you want to compile other program
34using these libraries (like the 4.4BSD dump and restore port).
Theodore Ts'o3839e651997-04-26 13:21:57 +000035
Theodore Ts'o6f4a1091997-04-26 13:32:25 +0000365) Remove any pre-formatted man pages. Some distributions will have
37pre-formatted manual pages which will always be displayed in
38preference to newer man pages in /usr/man. If this is the case, you
39may need to manually remove them in order to see the correct manual
40pages. The shell script in install-utils/remove_preformat_manpages
41may be helpful in doing so.
Theodore Ts'o3839e651997-04-26 13:21:57 +000042
Theodore Ts'o6f4a1091997-04-26 13:32:25 +0000435) Make sure your /etc/fstab file is correct.
44
45 Some distributions install an /etc/fstab which is missing the
46fifth and sixth field of filesystem entry, which are the dump
47frequency, and the fsck pass number, respectively. The problem with
48this is that the getmntent() library routine interprets those missing
49fields as "0", and a pass number of 0 is documented as meaning that
50fsck should not check that particular filesystem. If your entries in
51your /etc/fstab file look liks this:
52
53/dev/hda4 / ext2 defaults
54
55you should add "1 1" at the end of each line, so that they look like this:
56
57/dev/hda4 / ext2 defaults 1 1
58
59 There is a script in insatll-utils/convfstab (donated by
60Michael Weller) that may help you correct your /etc/fstab file.
61