]>
Commit | Line | Data |
---|---|---|
1 | Installation | |
2 | ============ | |
3 | ||
4 | 1) Generate custom makefiles. | |
5 | ||
6 | Run the 'configure' script from the top directory. | |
7 | ||
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 | |
13 | ||
14 | Use ./configure --help to see other options. | |
15 | ||
16 | 2) Build and install. | |
17 | ||
18 | Run 'make' from the top directory to build everything you configured. | |
19 | Run 'make install' to build and install everything you configured. | |
20 | ||
21 | If you only want the device-mapper libraries and tools use | |
22 | 'make device-mapper' or 'make install_device-mapper'. | |
23 | ||
24 | 3) If using LVM2, create a configuration file. | |
25 | ||
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. | |
28 | ||
29 | Please also refer to the WHATS_NEW file and the manual pages for the | |
30 | individual commands. | |
31 |