xref: /aosp_15_r20/external/e2fsprogs/INSTALL.elfbin (revision 6a54128f25917bfc36a8a6e9d722c04a0b4641b6)
1*6a54128fSAndroid Build Coastguard WorkerNOTE: This is the ELF version of the binary distribution.  If you have
2*6a54128fSAndroid Build Coastguard Workera DLL system, please compile e2fsprogs from sources yourself.  (In
3*6a54128fSAndroid Build Coastguard Workerfact, in general you're better off compiling e2fsprogs from sources
4*6a54128fSAndroid Build Coastguard Workerinstead of using precompiled binaries.)
5*6a54128fSAndroid Build Coastguard Worker
6*6a54128fSAndroid Build Coastguard WorkerAlso please note that these binaries assume the use of the GNU Libc.
7*6a54128fSAndroid Build Coastguard WorkerIf you're still using libc5, you'll need build e2fsprogs from source.
8*6a54128fSAndroid Build Coastguard Worker
9*6a54128fSAndroid Build Coastguard Worker	To install the binary distribution of the second extended file
10*6a54128fSAndroid Build Coastguard Workersystem management programs, just follow the steps:
11*6a54128fSAndroid Build Coastguard Worker
12*6a54128fSAndroid Build Coastguard Worker1) Install this tar file using the following command:
13*6a54128fSAndroid Build Coastguard Worker
14*6a54128fSAndroid Build Coastguard Worker	gunzip < e2fsprogs-1.13-elfbin.tar.gz | (cd /; tar Sxvpf - )
15*6a54128fSAndroid Build Coastguard Worker
16*6a54128fSAndroid Build Coastguard Worker2) Run ldconfig to update the shared library pointers.
17*6a54128fSAndroid Build Coastguard Worker
18*6a54128fSAndroid Build Coastguard Worker        As root, type /sbin/ldconfig. This will update the links to
19*6a54128fSAndroid Build Coastguard Workerthe shared libraries included in the distribution. You can then remove
20*6a54128fSAndroid Build Coastguard Workerthe old versions of the libraries from /lib.
21*6a54128fSAndroid Build Coastguard Worker
22*6a54128fSAndroid Build Coastguard Worker3) Remove any pre-formatted man pages.
23*6a54128fSAndroid Build Coastguard Worker
24*6a54128fSAndroid Build Coastguard Worker	Some distributions will have pre-formatted manual pages which
25*6a54128fSAndroid Build Coastguard Workerwill always be displayed in preference to newer man pages in /usr/man.
26*6a54128fSAndroid Build Coastguard WorkerIf this is the case, you may need to manually remove them in order to
27*6a54128fSAndroid Build Coastguard Workersee the correct manual pages.  The shell script in
28*6a54128fSAndroid Build Coastguard Workerinstall-utils/remove_preformat_manpages may be helpful in doing so.
29*6a54128fSAndroid Build Coastguard Worker
30*6a54128fSAndroid Build Coastguard Worker4) Make sure your /etc/fstab file is correct.
31*6a54128fSAndroid Build Coastguard Worker
32*6a54128fSAndroid Build Coastguard Worker	Some distributions install an /etc/fstab which is missing the
33*6a54128fSAndroid Build Coastguard Workerfifth and sixth field of filesystem entry, which are the dump
34*6a54128fSAndroid Build Coastguard Workerfrequency, and the fsck pass number, respectively.  The problem with
35*6a54128fSAndroid Build Coastguard Workerthis is that the getmntent() library routine interprets those missing
36*6a54128fSAndroid Build Coastguard Workerfields as "0", and a pass number of 0 is documented as meaning that
37*6a54128fSAndroid Build Coastguard Workerfsck should not check that particular filesystem.  If your entries in
38*6a54128fSAndroid Build Coastguard Workeryour /etc/fstab file look like this:
39*6a54128fSAndroid Build Coastguard Worker
40*6a54128fSAndroid Build Coastguard Worker/dev/hda4       /        ext2        defaults
41*6a54128fSAndroid Build Coastguard Worker
42*6a54128fSAndroid Build Coastguard Workeryou should add "1 1" at the end of each line, so that they look like this:
43*6a54128fSAndroid Build Coastguard Worker
44*6a54128fSAndroid Build Coastguard Worker/dev/hda4       /        ext2        defaults	1	1
45*6a54128fSAndroid Build Coastguard Worker
46*6a54128fSAndroid Build Coastguard Worker	There is a script in install-utils/convfstab (donated by
47*6a54128fSAndroid Build Coastguard WorkerMichael Weller) that may help you correct your /etc/fstab file.
48*6a54128fSAndroid Build Coastguard Worker
49*6a54128fSAndroid Build Coastguard Worker5) Cleanup files from the installation.
50*6a54128fSAndroid Build Coastguard Worker
51*6a54128fSAndroid Build Coastguard Worker	When you're done with the installation, you will probably want
52*6a54128fSAndroid Build Coastguard Workerto remove /INSTALL (this file), /README, and /install-utils from your
53*6a54128fSAndroid Build Coastguard Workerroot directory
54