OSDN Git Service

Many files:
[android-x86/external-e2fsprogs.git] / INSTALL.elfbin
1 NOTE: This is the ELF version of the binary distribution.  If you have
2 a DLL system, please compile e2fsprogs from sources yourself.  (In
3 fact, in general you're better off compiling e2fsprogs from sources
4 instead of using precompiled binaries.)
5
6         To install the binary distribution of the second extended file
7 system management programs, just follow the steps:
8
9 1) Install this tar file using the following command:
10
11         gunzip < e2fsprogs-1.13-elfbin.tar.gz | (cd /; tar Sxvpf - )
12
13 2) Run ldconfig to update the shared library pointers.
14
15         As root, type /sbin/ldconfig. This will update the links to
16 the shared libraries included in the distribution. You can then remove
17 the old versions of the libraries from /lib.  
18
19 3) Remove any pre-formatted man pages.  
20
21         Some distributions will have pre-formatted manual pages which
22 will always be displayed in preference to newer man pages in /usr/man.
23 If this is the case, you may need to manually remove them in order to
24 see the correct manual pages.  The shell script in
25 install-utils/remove_preformat_manpages may be helpful in doing so.
26
27 4) Make sure your /etc/fstab file is correct.
28
29         Some distributions install an /etc/fstab which is missing the
30 fifth and sixth field of filesystem entry, which are the dump
31 frequency, and the fsck pass number, respectively.  The problem with
32 this is that the getmntent() library routine interprets those missing
33 fields as "0", and a pass number of 0 is documented as meaning that
34 fsck should not check that particular filesystem.  If your entries in
35 your /etc/fstab file look liks this:
36
37 /dev/hda4       /        ext2        defaults
38
39 you should add "1 1" at the end of each line, so that they look like this:
40
41 /dev/hda4       /        ext2        defaults   1       1
42
43         There is a script in install-utils/convfstab (donated by
44 Michael Weller) that may help you correct your /etc/fstab file.
45
46 5) Cleanup files from the installation.
47
48         When you're done with the installation, you will probably want
49 to remove /INSTALL (this file), /README, and /install-utils from your
50 root directory