]>
Commit | Line | Data |
---|---|---|
5b45c072 AK |
1 | Installation |
2 | ============ | |
ab7193d1 | 3 | |
5b45c072 | 4 | 1) Generate custom makefiles. |
ab7193d1 AK |
5 | |
6 | Run the 'configure' script from the top directory. | |
7 | ||
5a52dca9 AK |
8 | If you don't want to include the LVM1 backwards-compatibility code use: |
9 | ./configure --with-lvm1=none | |
10 | ||
11 | To separate the LVM1 support into a shared library loaded by lvm.conf use: | |
12 | ./configure --with-lvm1=shared | |
ab7193d1 | 13 | |
5b45c072 | 14 | Use ./configure --help to see other options. |
ab7193d1 | 15 | |
5b45c072 | 16 | 2) Build and install. |
ab7193d1 | 17 | |
5b45c072 AK |
18 | Run 'make' from the top directory to build everything you configured. |
19 | Run 'make install' to build and install everything you configured. | |
ab7193d1 | 20 | |
5b45c072 AK |
21 | If you only want the device-mapper libraries and tools use |
22 | 'make device-mapper' or 'make install_device-mapper'. | |
ab7193d1 | 23 | |
5b45c072 | 24 | 3) If using LVM2, create a configuration file. |
ab7193d1 | 25 | |
a9c0e97c AK |
26 | The tools will work fine without a configuration file being |
27 | present, but you ought to review the example file in doc/example.conf. | |
a9c0e97c | 28 | |
5a52dca9 AK |
29 | Please also refer to the WHATS_NEW file and the manual pages for the |
30 | individual commands. | |
31 |