Skip to contentSkip to conversation

master - build: Don't generate symlinks in include/ dir

PATCH Joe Thornber 1 participant 1 message Jun 1, 2018 MD RAID

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=7f97c7ea9ade36bab817aca9eeee5c5177550127
Commit:        7f97c7ea9ade36bab817aca9eeee5c5177550127
Parent:        02b99be57eab4f55bd0db045a3873bdf5e500b92
Author:        Joe Thornber <[email protected]>
AuthorDate:    Mon May 14 10:30:20 2018 +0100
Committer:     Joe Thornber <[email protected]>
CommitterDate: Mon May 14 10:30:20 2018 +0100

build: Don't generate symlinks in include/ dir

As we start refactoring the code to break dependencies (see doc/refactoring.txt), I want us to use full paths in the includes (eg, #include "base/data-struct/list.h"). This makes it more obvious when we're breaking abstraction boundaries, eg, including a file in metadata/ from base/

---
 configure                                          |    3 +-
 configure.ac                                       |    1 -
 daemons/clvmd/clvmd-cman.c                         |    2 +-
 daemons/clvmd/clvmd-command.c                      |    6 +-
 daemons/clvmd/clvmd-common.h                       |    4 +-
 daemons/clvmd/clvmd-corosync.c                     |    4 +-
 daemons/clvmd/clvmd-openais.c                      |    4 +-
 daemons/clvmd/clvmd-singlenode.c                   |    4 +-
 daemons/clvmd/clvmd.c                              |    2 +-
 daemons/clvmd/lvm-functions.c                      |   14 ++--
 daemons/clvmd/refresh_clvmd.c                      |    2 +-
 daemons/cmirrord/cluster.c                         |    2 +-
 daemons/cmirrord/cluster.h                         |    4 +-
 daemons/cmirrord/compat.c                          |    2 +-
 daemons/cmirrord/functions.h                       |    2 +-
 daemons/dmeventd/dmeventd.c                        |    6 +-
 daemons/dmeventd/libdevmapper-event.c              |    6 +-
 daemons/dmeventd/plugins/lvm2/dmeventd_lvm.c       |    6 +-
 daemons/dmeventd/plugins/mirror/dmeventd_mirror.c  |    6 +-
 daemons/dmeventd/plugins/raid/dmeventd_raid.c      |    6 +-
 .../dmeventd/plugins/snapshot/dmeventd_snapshot.c  |    4 +-
 daemons/dmeventd/plugins/thin/dmeventd_thin.c      |    6 +-
 daemons/dmfilemapd/dmfilemapd.c                    |    6 +-
 daemons/lvmetad/lvmetactl.c                        |    4 +-
 daemons/lvmetad/lvmetad-client.h                   |    2 +-
 daemons/lvmetad/lvmetad-core.c                     |    6 +-
 daemons/lvmetad/testclient.c                       |   10 +-
 daemons/lvmlockd/lvmlockctl.c                      |    4 +-
 daemons/lvmlockd/lvmlockd-client.h                 |    2 +-
 daemons/lvmlockd/lvmlockd-core.c                   |   10 +-
 daemons/lvmlockd/lvmlockd-dlm.c                    |    6 +-
 daemons/lvmlockd/lvmlockd-sanlock.c                |    6 +-
 daemons/lvmpolld/lvmpolld-common.h                 |    4 +-
 daemons/lvmpolld/lvmpolld-data-utils.c             |    2 +-
 daemons/lvmpolld/lvmpolld-protocol.h               |    2 +-
 device-mapper/vdo/status.c                         |    2 +-
 doc/example_cmdlib.c                               |    2 +-
 include/.symlinks.in                               |   80 --------------------
 include/Makefile.in                                |   20 +-----
 lib/activate/activate.c                            |   32 ++++----
 lib/activate/activate.h                            |    2 +-
 lib/activate/dev_manager.c                         |   22 +++---
 lib/activate/dev_manager.h                         |    2 +-
 lib/activate/fs.c                                  |   12 ++--
 lib/activate/fs.h                                  |    2 +-
 lib/cache/lvmcache.c                               |   24 +++---
 lib/cache/lvmcache.h                               |   10 +-
 lib/cache/lvmetad.c                                |   24 +++---
 lib/cache/lvmetad.h                                |    2 +-
 lib/cache_segtype/cache.c                          |   24 +++---
 lib/commands/toolcontext.c                         |   38 +++++-----
 lib/commands/toolcontext.h                         |    4 +-
 lib/config/config.c                                |   20 +++---
 lib/config/config.h                                |    6 +-
 lib/config/config_settings.h                       |    2 +-
 lib/datastruct/btree.c                             |    4 +-
 lib/datastruct/str_list.c                          |    4 +-
 lib/device/bcache-utils.c                          |    2 +-
 lib/device/bcache.c                                |    6 +-
 lib/device/bcache.h                                |    2 +-
 lib/device/dev-cache.c                             |   12 ++--
 lib/device/dev-cache.h                             |    4 +-
 lib/device/dev-dasd.c                              |    6 +-
 lib/device/dev-ext.c                               |    4 +-
 lib/device/dev-io.c                                |   12 ++--
 lib/device/dev-luks.c                              |    4 +-
 lib/device/dev-lvm1-pool.c                         |    6 +-
 lib/device/dev-md.c                                |    8 +-
 lib/device/dev-swap.c                              |    4 +-
 lib/device/dev-type.c                              |   18 ++--
 lib/device/dev-type.h                              |    8 +-
 lib/device/device.h                                |    2 +-
 lib/display/display.c                              |   16 ++--
 lib/display/display.h                              |    6 +-
 lib/error/errseg.c                                 |   16 ++--
 lib/filters/filter-composite.c                     |    6 +-
 lib/filters/filter-fwraid.c                        |    6 +-
 lib/filters/filter-internal.c                      |    4 +-
 lib/filters/filter-md.c                            |    4 +-
 lib/filters/filter-mpath.c                         |    8 +-
 lib/filters/filter-partitioned.c                   |    4 +-
 lib/filters/filter-persistent.c                    |    8 +-
 lib/filters/filter-regex.c                         |    4 +-
 lib/filters/filter-signature.c                     |    4 +-
 lib/filters/filter-sysfs.c                         |    4 +-
 lib/filters/filter-type.c                          |    4 +-
 lib/filters/filter-usable.c                        |    8 +-
 lib/filters/filter.h                               |    4 +-
 lib/format_text/archive.c                          |   12 ++--
 lib/format_text/archiver.c                         |   18 ++--
 lib/format_text/archiver.h                         |    2 +-
 lib/format_text/export.c                           |   16 ++--
 lib/format_text/flags.c                            |    6 +-
 lib/format_text/format-text.c                      |   30 ++++----
 lib/format_text/format-text.h                      |    2 +-
 lib/format_text/import-export.h                    |    6 +-
 lib/format_text/import.c                           |    4 +-
 lib/format_text/import_vsn1.c                      |   26 +++---
 lib/format_text/layout.h                           |    8 +-
 lib/format_text/text_label.c                       |   10 +-
 lib/freeseg/freeseg.c                              |    6 +-
 lib/label/label.c                                  |   16 ++--
 lib/label/label.h                                  |    8 +-
 lib/locking/cluster_locking.c                      |   10 +-
 lib/locking/external_locking.c                     |   10 +-
 lib/locking/file_locking.c                         |   14 ++--
 lib/locking/locking.c                              |   18 ++--
 lib/locking/locking.h                              |    4 +-
 lib/locking/locking_types.h                        |    4 +-
 lib/locking/lvmlockd.c                             |   18 ++--
 lib/locking/lvmlockd.h                             |    4 +-
 lib/locking/no_locking.c                           |    8 +-
 lib/log/log.c                                      |   12 ++--
 lib/log/lvm-logging.h                              |    4 +-
 lib/lvmpolld/lvmpolld-client.c                     |   16 ++--
 lib/lvmpolld/polldaemon.h                          |    2 +-
 lib/metadata/cache_manip.c                         |   22 +++---
 lib/metadata/lv.c                                  |   16 ++--
 lib/metadata/lv.h                                  |    2 +-
 lib/metadata/lv_alloc.h                            |    2 +-
 lib/metadata/lv_manip.c                            |   34 ++++----
 lib/metadata/merge.c                               |   14 ++--
 lib/metadata/metadata-exported.h                   |   10 +-
 lib/metadata/metadata-liblvm.c                     |   16 ++--
 lib/metadata/metadata.c                            |   38 +++++-----
 lib/metadata/metadata.h                            |    6 +-
 lib/metadata/mirror.c                              |   26 +++---
 lib/metadata/pool_manip.c                          |   20 +++---
 lib/metadata/pv.c                                  |    6 +-
 lib/metadata/pv.h                                  |    4 +-
 lib/metadata/pv_manip.c                            |   16 ++--
 lib/metadata/pv_map.c                              |    2 +-
 lib/metadata/pv_map.h                              |    2 +-
 lib/metadata/raid_manip.c                          |   18 ++--
 lib/metadata/segtype.c                             |    6 +-
 lib/metadata/segtype.h                             |    2 +-
 lib/metadata/snapshot_manip.c                      |   14 ++--
 lib/metadata/thin_manip.c                          |   16 ++--
 lib/metadata/vg.c                                  |   16 ++--
 lib/metadata/vg.h                                  |    4 +-
 lib/mirror/mirrored.c                              |   24 +++---
 lib/misc/crc.c                                     |    6 +-
 lib/misc/crc_gen.c                                 |    2 +-
 lib/misc/lib.h                                     |   16 ++--
 lib/misc/lvm-exec.c                                |   10 +-
 lib/misc/lvm-exec.h                                |    2 +-
 lib/misc/lvm-file.c                                |    4 +-
 lib/misc/lvm-flock.c                               |   10 +-
 lib/misc/lvm-globals.c                             |   10 +-
 lib/misc/lvm-maths.c                               |    2 +-
 lib/misc/lvm-percent.c                             |    4 +-
 lib/misc/lvm-signal.c                              |    6 +-
 lib/misc/lvm-string.c                              |    8 +-
 lib/misc/lvm-wrappers.c                            |    2 +-
 lib/misc/sharedlib.c                               |    8 +-
 lib/misc/sharedlib.h                               |    2 +-
 lib/mm/memlock.c                                   |   10 +-
 lib/notify/lvmnotify.c                             |    6 +-
 lib/properties/prop_common.c                       |    4 +-
 lib/raid/raid.c                                    |   22 +++---
 lib/report/properties.c                            |    8 +-
 lib/report/properties.h                            |    8 +-
 lib/report/report.c                                |   22 +++---
 lib/report/report.h                                |    6 +-
 lib/snapshot/snapshot.c                            |   14 ++--
 lib/striped/striped.c                              |   26 +++---
 lib/thin/thin.c                                    |   16 ++--
 lib/unknown/unknown.c                              |   10 +-
 lib/uuid/uuid.c                                    |    6 +-
 lib/zero/zero.c                                    |    8 +-
 libdaemon/client/config-util.c                     |    6 +-
 libdaemon/client/daemon-client.c                   |    8 +-
 libdaemon/client/daemon-client.h                   |    2 +-
 libdaemon/client/daemon-io.c                       |    4 +-
 libdaemon/client/daemon-io.h                       |    2 +-
 libdaemon/server/daemon-log.c                      |    2 +-
 libdaemon/server/daemon-server.c                   |    4 +-
 libdaemon/server/daemon-server.h                   |    2 +-
 libdm/datastruct/bitset.c                          |    2 +-
 libdm/datastruct/hash.c                            |    2 +-
 libdm/datastruct/list.c                            |    2 +-
 libdm/ioctl/libdm-iface.c                          |    6 +-
 libdm/libdm-common.c                               |    6 +-
 libdm/libdm-common.h                               |    2 +-
 libdm/libdm-config.c                               |    2 +-
 libdm/libdm-deptree.c                              |    6 +-
 libdm/libdm-file.c                                 |    2 +-
 libdm/libdm-report.c                               |    2 +-
 libdm/libdm-stats.c                                |    4 +-
 libdm/libdm-string.c                               |    2 +-
 libdm/libdm-targets.c                              |    2 +-
 libdm/libdm-timestamp.c                            |    2 +-
 libdm/misc/dm-log-userspace.h                      |    2 +-
 libdm/misc/dm-logging.h                            |    4 +-
 libdm/misc/dmlib.h                                 |    2 +-
 libdm/mm/dbg_malloc.c                              |    2 +-
 libdm/mm/pool-debug.c                              |    2 +-
 libdm/mm/pool-fast.c                               |    2 +-
 libdm/mm/pool.c                                    |    2 +-
 libdm/regex/matcher.c                              |    2 +-
 libdm/regex/parse_rx.c                             |    2 +-
 libdm/regex/ttree.c                                |    2 +-
 liblvm/lvm_base.c                                  |   10 +-
 liblvm/lvm_lv.c                                    |   16 ++--
 liblvm/lvm_misc.c                                  |    6 +-
 liblvm/lvm_misc.h                                  |    8 +-
 liblvm/lvm_prop.c                                  |    4 +-
 liblvm/lvm_prop.h                                  |    2 +-
 liblvm/lvm_pv.c                                    |   16 ++--
 liblvm/lvm_vg.c                                    |   20 +++---
 make.tmpl.in                                       |    8 +-
 python/liblvm.c                                    |    4 +-
 .../lvm2_activation_generator_systemd_red_hat.c    |    4 +-
 test/api/lvtest.c                                  |    2 +-
 test/api/pe_start.c                                |    2 +-
 test/api/percent.c                                 |    2 +-
 test/api/test.c                                    |    2 +-
 test/api/thin_percent.c                            |    2 +-
 test/api/vglist.c                                  |    2 +-
 test/api/vgtest.c                                  |    2 +-
 test/unit/bcache_t.c                               |    2 +-
 test/unit/bcache_utils_t.c                         |    2 +-
 test/unit/bitset_t.c                               |    2 +-
 test/unit/config_t.c                               |    2 +-
 test/unit/dmlist_t.c                               |    2 +-
 test/unit/dmstatus_t.c                             |    2 +-
 test/unit/framework.h                              |    2 +-
 test/unit/io_engine_t.c                            |    2 +-
 test/unit/matcher_t.c                              |    2 +-
 test/unit/percent_t.c                              |    2 +-
 test/unit/string_t.c                               |    2 +-
 tools/dmsetup.c                                    |    6 +-
 tools/lvchange.c                                   |    2 +-
 tools/lvconvert.c                                  |    4 +-
 tools/lvconvert_poll.h                             |    2 +-
 tools/lvm2cmd-static.c                             |    2 +-
 tools/lvm2cmd.c                                    |    2 +-
 tools/lvmcmdlib.c                                  |    6 +-
 tools/lvmcmdline.c                                 |    8 +-
 tools/lvpoll.c                                     |    4 +-
 tools/polldaemon.c                                 |    4 +-
 tools/pvmove.c                                     |    6 +-
 tools/pvscan.c                                     |    4 +-
 tools/reporter.c                                   |    2 +-
 tools/tool.h                                       |    4 +-
 tools/toollib.c                                    |    2 +-
 tools/toollib.h                                    |    4 +-
 tools/tools.h                                      |   44 ++++++------
 tools/vgcfgrestore.c                               |    2 +-
 tools/vgimportclone.c                              |    6 +-
 250 files changed, 915 insertions(+), 1017 deletions(-)
configure +1 -1
index e874932..3b88dad 100755
@@ -15559,7 +15559,7 @@ _ACEOF
 
 
 ################################################################################
-ac_config_files="$ac_config_files Makefile make.tmpl daemons/Makefile daemons/clvmd/Makefile daemons/cmirrord/Makefile daemons/dmeventd/Makefile daemons/dmeventd/libdevmapper-event.pc daemons/dmeventd/plugins/Makefile daemons/dmeventd/plugins/lvm2/Makefile daemons/dmeventd/plugins/raid/Makefile daemons/dmeventd/plugins/mirror/Makefile daemons/dmeventd/plugins/snapshot/Makefile daemons/dmeventd/plugins/thin/Makefile daemons/dmfilemapd/Makefile daemons/lvmdbusd/Makefile daemons/lvmdbusd/lvmdbusd daemons/lvmdbusd/lvmdb.py daemons/lvmdbusd/lvm_shell_proxy.py daemons/lvmdbusd/path.py daemons/lvmetad/Makefile daemons/lvmpolld/Makefile daemons/lvmlockd/Makefile conf/Makefile conf/example.conf conf/lvmlocal.conf conf/command_profile_template.profile conf/metadata_profile_template.profile include/.symlinks include/Makefile lib/Makefile lib/locking/Makefile include/lvm-version.h libdaemon/Makefile libdaemon/client/Makefile libdaemon/server/Makefile libdm/Makefile libdm/libdevmapper.pc liblvm/
 Makefile liblvm/liblvm2app.pc man/Makefile po/Makefile python/Makefile python/setup.py scripts/blkdeactivate.sh scripts/blk_availability_init_red_hat scripts/blk_availability_systemd_red_hat.service scripts/clvmd_init_red_hat scripts/cmirrord_init_red_hat scripts/com.redhat.lvmdbus1.service scripts/dm_event_systemd_red_hat.service scripts/dm_event_systemd_red_hat.socket scripts/lvm2_cluster_activation_red_hat.sh scripts/lvm2_cluster_activation_systemd_red_hat.service scripts/lvm2_clvmd_systemd_red_hat.service scripts/lvm2_cmirrord_systemd_red_hat.service scripts/lvm2_lvmdbusd_systemd_red_hat.service scripts/lvm2_lvmetad_init_red_hat scripts/lvm2_lvmetad_systemd_red_hat.service scripts/lvm2_lvmetad_systemd_red_hat.socket scripts/lvm2_lvmpolld_init_red_hat scripts/lvm2_lvmpolld_systemd_red_hat.service scripts/lvm2_lvmpolld_systemd_red_hat.socket scripts/lvm2_lvmlockd_systemd_red_hat.service scripts/lvm2_lvmlocking_systemd_red_hat.service scripts/lvm2_monitoring_init_red_hat scripts/lv
 m2_monitoring_systemd_red_hat.service scripts/lvm2_pvscan_systemd_red_hat at .service scripts/lvm2_tmpfiles_red_hat.conf scripts/lvmdump.sh scripts/Makefile test/Makefile test/api/Makefile test/unit/Makefile tools/Makefile udev/Makefile"
+ac_config_files="$ac_config_files Makefile make.tmpl daemons/Makefile daemons/clvmd/Makefile daemons/cmirrord/Makefile daemons/dmeventd/Makefile daemons/dmeventd/libdevmapper-event.pc daemons/dmeventd/plugins/Makefile daemons/dmeventd/plugins/lvm2/Makefile daemons/dmeventd/plugins/raid/Makefile daemons/dmeventd/plugins/mirror/Makefile daemons/dmeventd/plugins/snapshot/Makefile daemons/dmeventd/plugins/thin/Makefile daemons/dmfilemapd/Makefile daemons/lvmdbusd/Makefile daemons/lvmdbusd/lvmdbusd daemons/lvmdbusd/lvmdb.py daemons/lvmdbusd/lvm_shell_proxy.py daemons/lvmdbusd/path.py daemons/lvmetad/Makefile daemons/lvmpolld/Makefile daemons/lvmlockd/Makefile conf/Makefile conf/example.conf conf/lvmlocal.conf conf/command_profile_template.profile conf/metadata_profile_template.profile include/Makefile lib/Makefile lib/locking/Makefile include/lvm-version.h libdaemon/Makefile libdaemon/client/Makefile libdaemon/server/Makefile libdm/Makefile libdm/libdevmapper.pc liblvm/Makefile liblvm/li
 blvm2app.pc man/Makefile po/Makefile python/Makefile python/setup.py scripts/blkdeactivate.sh scripts/blk_availability_init_red_hat scripts/blk_availability_systemd_red_hat.service scripts/clvmd_init_red_hat scripts/cmirrord_init_red_hat scripts/com.redhat.lvmdbus1.service scripts/dm_event_systemd_red_hat.service scripts/dm_event_systemd_red_hat.socket scripts/lvm2_cluster_activation_red_hat.sh scripts/lvm2_cluster_activation_systemd_red_hat.service scripts/lvm2_clvmd_systemd_red_hat.service scripts/lvm2_cmirrord_systemd_red_hat.service scripts/lvm2_lvmdbusd_systemd_red_hat.service scripts/lvm2_lvmetad_init_red_hat scripts/lvm2_lvmetad_systemd_red_hat.service scripts/lvm2_lvmetad_systemd_red_hat.socket scripts/lvm2_lvmpolld_init_red_hat scripts/lvm2_lvmpolld_systemd_red_hat.service scripts/lvm2_lvmpolld_systemd_red_hat.socket scripts/lvm2_lvmlockd_systemd_red_hat.service scripts/lvm2_lvmlocking_systemd_red_hat.service scripts/lvm2_monitoring_init_red_hat scripts/lvm2_monitoring_syst

emd_red_hat.service scripts/lvm2_pvscan_systemd_red_hat at .service scripts/lvm2_tmpfiles_red_hat.conf scripts/lvmdump.sh scripts/Makefile test/Makefile test/api/Makefile test/unit/Makefile tools/Makefile udev/Makefile"

cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
@@ -16281,7 +16281,6 @@ do

     "conf/lvmlocal.conf") CONFIG_FILES="$CONFIG_FILES conf/lvmlocal.conf" ;;
     "conf/command_profile_template.profile") CONFIG_FILES="$CONFIG_FILES conf/command_profile_template.profile" ;;
     "conf/metadata_profile_template.profile") CONFIG_FILES="$CONFIG_FILES conf/metadata_profile_template.profile" ;;
-    "include/.symlinks") CONFIG_FILES="$CONFIG_FILES include/.symlinks" ;;
     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
     "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
     "lib/locking/Makefile") CONFIG_FILES="$CONFIG_FILES lib/locking/Makefile" ;;
configure.ac +0 -1
index 5738b05..a05f051 100644
@@ -2113,7 +2113,6 @@ conf/example.conf
 conf/lvmlocal.conf
 conf/command_profile_template.profile
 conf/metadata_profile_template.profile
-include/.symlinks
 include/Makefile
 lib/Makefile
 lib/locking/Makefile
daemons/clvmd/clvmd-cman.c +1 -1
index ece9229..8cf7f17 100644
@@ -22,7 +22,7 @@
 #include <pthread.h>
 
 #include "clvmd-comms.h"
-#include "clvm.h"
+#include "daemons/clvmd/clvm.h"
 #include "clvmd.h"
 #include "lvm-functions.h"
 
daemons/clvmd/clvmd-command.c +3 -3
index ce7f500..342adda 100644
@@ -52,12 +52,12 @@
 
 #include "clvmd-common.h"
 #include "clvmd-comms.h"
-#include "clvm.h"
+#include "daemons/clvmd/clvm.h"
 #include "clvmd.h"
-#include "lvm-globals.h"
+#include "lib/misc/lvm-globals.h"
 #include "lvm-functions.h"
 
-#include "locking.h"
+#include "lib/locking/locking.h"
 
 #include <sys/utsname.h>
 
daemons/clvmd/clvmd-common.h +2 -2
index 3be0e1d..fb1c487 100644
@@ -20,8 +20,8 @@
 
 #define _REENTRANT
 
-#include "tool.h"
+#include "tools/tool.h"
 
-#include "lvm-logging.h"
+#include "lib/log/lvm-logging.h"
 
 #endif
daemons/clvmd/clvmd-corosync.c +2 -2
index 2227cbf..6a9705d 100644
@@ -21,12 +21,12 @@
 
 #include <pthread.h>
 
-#include "clvm.h"
+#include "daemons/clvmd/clvm.h"
 #include "clvmd-comms.h"
 #include "clvmd.h"
 #include "lvm-functions.h"
 
-#include "locking.h"
+#include "lib/locking/locking.h"
 
 #include <corosync/cpg.h>
 #include <corosync/quorum.h>
daemons/clvmd/clvmd-openais.c +2 -2
index 6e09bf6..6b4fb10 100644
@@ -29,8 +29,8 @@
 #include <corosync/corotypes.h>
 #include <corosync/cpg.h>
 
-#include "locking.h"
-#include "clvm.h"
+#include "lib/locking/locking.h"
+#include "daemons/clvmd/clvm.h"
 #include "clvmd-comms.h"
 #include "lvm-functions.h"
 #include "clvmd.h"
daemons/clvmd/clvmd-singlenode.c +2 -2
index af0a544..2d53f13 100644
@@ -16,8 +16,8 @@
 
 #include <pthread.h>
 
-#include "locking.h"
-#include "clvm.h"
+#include "lib/locking/locking.h"
+#include "daemons/clvmd/clvm.h"
 #include "clvmd-comms.h"
 #include "clvmd.h"
 
daemons/clvmd/clvmd.c +1 -1
index 829c5e5..73f4711 100644
@@ -20,7 +20,7 @@
 #include "clvmd-common.h"
 
 #include "clvmd-comms.h"
-#include "clvm.h"
+#include "daemons/clvmd/clvm.h"
 #include "clvmd.h"
 #include "lvm-functions.h"
 #include "lvm-version.h"
daemons/clvmd/lvm-functions.c +7 -7
index 34da66d..c287fad 100644
@@ -17,18 +17,18 @@
 
 #include <pthread.h>
 
-#include "clvm.h"
+#include "daemons/clvmd/clvm.h"
 #include "clvmd-comms.h"
 #include "clvmd.h"
 #include "lvm-functions.h"
 
 /* LVM2 headers */
-#include "toolcontext.h"
-#include "lvmcache.h"
-#include "lvm-globals.h"
-#include "activate.h"
-#include "archiver.h"
-#include "memlock.h"
+#include "lib/commands/toolcontext.h"
+#include "lib/cache/lvmcache.h"
+#include "lib/misc/lvm-globals.h"
+#include "lib/activate/activate.h"
+#include "lib/format_text/archiver.h"
+#include "lib/mm/memlock.h"
 
 #include <syslog.h>
 
daemons/clvmd/refresh_clvmd.c +1 -1
index 6f89566..c80e09f 100644
@@ -21,7 +21,7 @@
 
 #include "clvmd-common.h"
 
-#include "clvm.h"
+#include "daemons/clvmd/clvm.h"
 #include "refresh_clvmd.h"
 
 #include <stddef.h>
daemons/cmirrord/cluster.c +1 -1
index 180e34a..6bb9d63 100644
@@ -16,7 +16,7 @@
 #include "functions.h"
 #include "link_mon.h"
 #include "local.h"
-#include "xlate.h"
+#include "lib/mm/xlate.h"
 
 #include <corosync/cpg.h>
 #include <errno.h>
daemons/cmirrord/cluster.h +2 -2
index 5b1e58b..0efbd64 100644
@@ -12,8 +12,8 @@
 #ifndef _LVM_CLOG_CLUSTER_H
 #define _LVM_CLOG_CLUSTER_H
 
-#include "dm-log-userspace.h"
-#include "libdevmapper.h"
+#include "libdm/misc/dm-log-userspace.h"
+#include "libdm/libdevmapper.h"
 
 #define DM_ULOG_RESPONSE 0x1000U /* in last byte of 32-bit value */
 #define DM_ULOG_CHECKPOINT_READY 21
daemons/cmirrord/compat.c +1 -1
index a9696d7..c0dd793 100644
@@ -8,7 +8,7 @@
 #include "logging.h"
 #include "cluster.h"
 #include "compat.h"
-#include "xlate.h"
+#include "lib/mm/xlate.h"
 
 #include <errno.h>
 
daemons/cmirrord/functions.h +1 -1
index 4620f99..c770459 100644
@@ -12,7 +12,7 @@
 #ifndef _LVM_CLOG_FUNCTIONS_H
 #define _LVM_CLOG_FUNCTIONS_H
 
-#include "dm-log-userspace.h"
+#include "libdm/misc/dm-log-userspace.h"
 #include "cluster.h"
 
 #define LOG_RESUMED   1
daemons/dmeventd/dmeventd.c +3 -3
index 8917422..438cf16 100644
@@ -16,12 +16,12 @@
  * dmeventd - dm event daemon to monitor active mapped devices
  */
 
-#include "dm-logging.h"
+#include "libdm/misc/dm-logging.h"
 
-#include "libdevmapper-event.h"
+#include "daemons/dmeventd/libdevmapper-event.h"
 #include "dmeventd.h"
 
-#include "tool.h"
+#include "tools/tool.h"
 
 #include <dlfcn.h>
 #include <pthread.h>
daemons/dmeventd/libdevmapper-event.c +3 -3
index 9aeb4c5..a75924c 100644
@@ -12,9 +12,9 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "dm-logging.h"
-#include "dmlib.h"
-#include "libdevmapper-event.h"
+#include "libdm/misc/dm-logging.h"
+#include "libdm/misc/dmlib.h"
+#include "daemons/dmeventd/libdevmapper-event.h"
 #include "dmeventd.h"
 
 #include <fcntl.h>
daemons/dmeventd/plugins/lvm2/dmeventd_lvm.c +3 -3
index 930f9fc..5861154 100644
@@ -12,10 +12,10 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
+#include "lib/misc/lib.h"
 #include "dmeventd_lvm.h"
-#include "libdevmapper-event.h"
-#include "lvm2cmd.h"
+#include "daemons/dmeventd/libdevmapper-event.h"
+#include "tools/lvm2cmd.h"
 
 #include <pthread.h>
 
daemons/dmeventd/plugins/mirror/dmeventd_mirror.c +3 -3
index 071fb16..ca483fd 100644
@@ -12,10 +12,10 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "libdevmapper-event.h"
+#include "lib/misc/lib.h"
+#include "daemons/dmeventd/libdevmapper-event.h"
 #include "dmeventd_lvm.h"
-#include "activate.h"	/* For TARGET_NAME* */
+#include "lib/activate/activate.h"
 
 /* FIXME Reformat to 80 char lines. */
 
daemons/dmeventd/plugins/raid/dmeventd_raid.c +3 -3
index 52cf43d..7871500 100644
@@ -12,10 +12,10 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "defaults.h"
+#include "lib/misc/lib.h"
+#include "lib/config/defaults.h"
 #include "dmeventd_lvm.h"
-#include "libdevmapper-event.h"
+#include "daemons/dmeventd/libdevmapper-event.h"
 
 /* Hold enough elements for the mximum number of RAID images */
 #define	RAID_DEVS_ELEMS	((DEFAULT_RAID_MAX_IMAGES + 63) / 64)
daemons/dmeventd/plugins/snapshot/dmeventd_snapshot.c +2 -2
index 93697a0..6ffa9fc 100644
@@ -12,9 +12,9 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
+#include "lib/misc/lib.h"
 #include "dmeventd_lvm.h"
-#include "libdevmapper-event.h"
+#include "daemons/dmeventd/libdevmapper-event.h"
 
 #include <sys/sysmacros.h>
 #include <sys/wait.h>
daemons/dmeventd/plugins/thin/dmeventd_thin.c +3 -3
index 29b0391..14bfd80 100644
@@ -12,16 +12,16 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"	/* using here lvm log */
+#include "lib/misc/lib.h"
 #include "dmeventd_lvm.h"
-#include "libdevmapper-event.h"
+#include "daemons/dmeventd/libdevmapper-event.h"
 
 #include <sys/wait.h>
 #include <stdarg.h>
 
 /* TODO - move this mountinfo code into library to be reusable */
 #ifdef __linux__
-#  include "kdev_t.h"
+#  include "libdm/misc/kdev_t.h"
 #else
 #  define MAJOR(x) major((x))
 #  define MINOR(x) minor((x))
daemons/dmfilemapd/dmfilemapd.c +3 -3
index 7519799..7fc95c8 100644
@@ -14,11 +14,11 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "tool.h"
+#include "tools/tool.h"
 
-#include "dm-logging.h"
+#include "libdm/misc/dm-logging.h"
 
-#include "defaults.h"
+#include "lib/config/defaults.h"
 
 #include <sys/types.h>
 #include <sys/stat.h>
daemons/lvmetad/lvmetactl.c +2 -2
index dd2ee1e..7805409 100644
@@ -8,9 +8,9 @@
  * of the GNU Lesser General Public License v.2.1.
  */
 
-#include "tool.h"
+#include "tools/tool.h"
 
-#include "lvmetad-client.h"
+#include "daemons/lvmetad/lvmetad-client.h"
 
 daemon_handle h;
 
daemons/lvmetad/lvmetad-client.h +1 -1
index be2623a..a9d4d83 100644
@@ -15,7 +15,7 @@
 #ifndef _LVM_LVMETAD_CLIENT_H
 #define _LVM_LVMETAD_CLIENT_H
 
-#include "daemon-client.h"
+#include "libdaemon/client/daemon-client.h"
 
 #define LVMETAD_SOCKET DEFAULT_RUN_DIR "/lvmetad.socket"
 
daemons/lvmetad/lvmetad-core.c +3 -3
index 72473d7..8858e29 100644
@@ -16,13 +16,13 @@
 
 #define _REENTRANT
 
-#include "tool.h"
+#include "tools/tool.h"
 
-#include "daemon-io.h"
+#include "libdaemon/client/daemon-io.h"
 #include "daemon-server.h"
 #include "daemon-log.h"
 #include "lvm-version.h"
-#include "lvmetad-client.h"
+#include "daemons/lvmetad/lvmetad-client.h"
 
 #include <assert.h>
 #include <errno.h>
daemons/lvmetad/testclient.c +5 -5
index c9efbe6..06fa332 100644
@@ -11,12 +11,12 @@
  * along with this program; if not, write to the Free Software Foundation,
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
-#include "tool.h"
+#include "tools/tool.h"
 
-#include "lvmetad-client.h"
-#include "label.h"
-#include "lvmcache.h"
-#include "metadata.h"
+#include "daemons/lvmetad/lvmetad-client.h"
+#include "lib/label/label.h"
+#include "lib/cache/lvmcache.h"
+#include "lib/metadata/metadata.h"
 
 const char *uuid1 = "abcd-efgh";
 const char *uuid2 = "bbcd-efgh";
daemons/lvmlockd/lvmlockctl.c +2 -2
index 436221d..2442b46 100644
@@ -8,9 +8,9 @@
  * of the GNU Lesser General Public License v.2.1.
  */
 
-#include "tool.h"
+#include "tools/tool.h"
 
-#include "lvmlockd-client.h"
+#include "daemons/lvmlockd/lvmlockd-client.h"
 
 #include <stddef.h>
 #include <getopt.h>
daemons/lvmlockd/lvmlockd-client.h +1 -1
index bc90596..16d1613 100644
@@ -11,7 +11,7 @@
 #ifndef _LVM_LVMLOCKD_CLIENT_H
 #define _LVM_LVMLOCKD_CLIENT_H
 
-#include "daemon-client.h"
+#include "libdaemon/client/daemon-client.h"
 
 #define LVMLOCKD_SOCKET DEFAULT_RUN_DIR "/lvmlockd.socket"
 
daemons/lvmlockd/lvmlockd-core.c +5 -5
index df6e214..e75d02b 100644
@@ -12,14 +12,14 @@
 #define _ISOC99_SOURCE
 #define _REENTRANT
 
-#include "tool.h"
+#include "tools/tool.h"
 
-#include "daemon-io.h"
+#include "libdaemon/client/daemon-io.h"
 #include "daemon-server.h"
 #include "lvm-version.h"
-#include "lvmetad-client.h"
-#include "lvmlockd-client.h"
-#include "dm-ioctl.h" /* for DM_UUID_LEN */
+#include "daemons/lvmetad/lvmetad-client.h"
+#include "daemons/lvmlockd/lvmlockd-client.h"
+#include "libdm/misc/dm-ioctl.h"
 
 /* #include <assert.h> */
 #include <errno.h>
daemons/lvmlockd/lvmlockd-dlm.c +3 -3
index d9dfabb..668c75b 100644
@@ -11,13 +11,13 @@
 #define _XOPEN_SOURCE 500  /* pthread */
 #define _ISOC99_SOURCE
 
-#include "tool.h"
+#include "tools/tool.h"
 
 #include "daemon-server.h"
-#include "xlate.h"
+#include "lib/mm/xlate.h"
 
 #include "lvmlockd-internal.h"
-#include "lvmlockd-client.h"
+#include "daemons/lvmlockd/lvmlockd-client.h"
 
 /*
  * Using synchronous _wait dlm apis so do not define _REENTRANT and
daemons/lvmlockd/lvmlockd-sanlock.c +3 -3
index a91218b..d5d6864 100644
@@ -11,13 +11,13 @@
 #define _XOPEN_SOURCE 500  /* pthread */
 #define _ISOC99_SOURCE
 
-#include "tool.h"
+#include "tools/tool.h"
 
 #include "daemon-server.h"
-#include "xlate.h"
+#include "lib/mm/xlate.h"
 
 #include "lvmlockd-internal.h"
-#include "lvmlockd-client.h"
+#include "daemons/lvmlockd/lvmlockd-client.h"
 
 #include "sanlock.h"
 #include "sanlock_rv.h"
daemons/lvmpolld/lvmpolld-common.h +2 -2
index b31081a..4ada581 100644
@@ -20,10 +20,10 @@
 
 #define _REENTRANT
 
-#include "tool.h"
+#include "tools/tool.h"
 
 #include "lvmpolld-cmd-utils.h"
-#include "lvmpolld-protocol.h"
+#include "daemons/lvmpolld/lvmpolld-protocol.h"
 
 #include <assert.h>
 #include <errno.h>
daemons/lvmpolld/lvmpolld-data-utils.c +1 -1
index 8debcdd..d5e1139 100644
@@ -14,7 +14,7 @@
 
 #include "lvmpolld-common.h"
 
-#include "config-util.h"
+#include "libdaemon/client/config-util.h"
 
 #include <fcntl.h>
 #include <signal.h>
daemons/lvmpolld/lvmpolld-protocol.h +1 -1
index 4e6ae9e..9b9890d 100644
@@ -15,7 +15,7 @@
 #ifndef _LVM_LVMPOLLD_PROTOCOL_H
 #define _LVM_LVMPOLLD_PROTOCOL_H
 
-#include "polling_ops.h"
+#include "daemons/lvmpolld/polling_ops.h"
 
 #define LVMPOLLD_PROTOCOL "lvmpolld"
 #define LVMPOLLD_PROTOCOL_VERSION 1
device-mapper/vdo/status.c +1 -1
index 157111f..1739a7e 100644
@@ -1,7 +1,7 @@
 #include "target.h"
 
 // For DM_ARRAY_SIZE!
-#include "libdevmapper.h"
+#include "libdm/libdevmapper.h"
 
 #include <ctype.h>
 #include <stdlib.h>
doc/example_cmdlib.c +1 -1
index 66e3532..ec5e028 100644
@@ -12,7 +12,7 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lvm2cmd.h"
+#include "tools/lvm2cmd.h"
 #include <stdio.h>
 
 /* All output gets passed to this function line-by-line */
include/.symlinks.in deleted +0 -80

80 lines not on this page · raw message

include/Makefile.in +1 -19
index b2571fd..cbbc003 100644
@@ -18,22 +18,4 @@ top_builddir = @top_builddir@
 
 include $(top_builddir)/make.tmpl
 
-all: .symlinks_created
-
-LINKS := $(shell find . -maxdepth 1 -type l)
-
-.symlinks_created: .symlinks
-ifneq (,$(firstword $(LINKS)))
-	$(RM) $(LINKS)
-endif
-	for i in `cat $<`; do $(LN_S) $$i ; done
-	touch $@
-
-pofile: all
-
-device-mapper: all
-
-cflow: all
-
-DISTCLEAN_TARGETS += .symlinks configure.h lvm-version.h
-CLEAN_TARGETS += $(LINKS) .include_symlinks .symlinks_created
+DISTCLEAN_TARGETS += .configure.h lvm-version.h
lib/activate/activate.c +16 -16
index 985215a..a15a2d7 100644
@@ -13,23 +13,23 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "metadata.h"
-#include "activate.h"
-#include "memlock.h"
-#include "display.h"
+#include "lib/misc/lib.h"
+#include "lib/metadata/metadata.h"
+#include "lib/activate/activate.h"
+#include "lib/mm/memlock.h"
+#include "lib/display/display.h"
 #include "fs.h"
-#include "lvm-exec.h"
-#include "lvm-file.h"
-#include "lvm-string.h"
-#include "toolcontext.h"
+#include "lib/misc/lvm-exec.h"
+#include "lib/misc/lvm-file.h"
+#include "lib/misc/lvm-string.h"
+#include "lib/commands/toolcontext.h"
 #include "dev_manager.h"
-#include "str_list.h"
-#include "config.h"
-#include "segtype.h"
-#include "sharedlib.h"
-#include "lvmcache.h"
-#include "metadata.h"
+#include "lib/datastruct/str_list.h"
+#include "lib/config/config.h"
+#include "lib/metadata/segtype.h"
+#include "lib/misc/sharedlib.h"
+#include "lib/cache/lvmcache.h"
+#include "lib/metadata/metadata.h"
 
 #include <limits.h>
 #include <fcntl.h>
@@ -413,7 +413,7 @@ void fs_unlock(void)
 {
 }
 /* dev_manager.c */
-#include "targets.h"
+#include "lib/activate/targets.h"
 int add_areas_line(struct dev_manager *dm, struct lv_segment *seg,
 		   struct dm_tree_node *node, uint32_t start_area,
 		   uint32_t areas)
lib/activate/activate.h +1 -1
index d2c6db7..60ee4a7 100644
@@ -16,7 +16,7 @@
 #ifndef LVM_ACTIVATE_H
 #define LVM_ACTIVATE_H
 
-#include "metadata-exported.h"
+#include "lib/metadata/metadata-exported.h"
 
 struct lvinfo {
 	int exists;
lib/activate/dev_manager.c +11 -11
index a7947d8..5dd0e6f 100644
@@ -13,19 +13,19 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
+#include "lib/misc/lib.h"
 #include "dev_manager.h"
-#include "lvm-string.h"
+#include "lib/misc/lvm-string.h"
 #include "fs.h"
-#include "defaults.h"
-#include "segtype.h"
-#include "display.h"
-#include "toolcontext.h"
-#include "targets.h"
-#include "config.h"
-#include "activate.h"
-#include "lvm-exec.h"
-#include "str_list.h"
+#include "lib/config/defaults.h"
+#include "lib/metadata/segtype.h"
+#include "lib/display/display.h"
+#include "lib/commands/toolcontext.h"
+#include "lib/activate/targets.h"
+#include "lib/config/config.h"
+#include "lib/activate/activate.h"
+#include "lib/misc/lvm-exec.h"
+#include "lib/datastruct/str_list.h"
 
 #include <limits.h>
 #include <dirent.h>
lib/activate/dev_manager.h +1 -1
index 5be417b..809fd04 100644
@@ -16,7 +16,7 @@
 #ifndef _LVM_DEV_MANAGER_H
 #define _LVM_DEV_MANAGER_H
 
-#include "metadata-exported.h"
+#include "lib/metadata/metadata-exported.h"
 
 struct logical_volume;
 struct lv_activate_opts;
lib/activate/fs.c +6 -6
index 498ec8f..6e07eda 100644
@@ -13,13 +13,13 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
+#include "lib/misc/lib.h"
 #include "fs.h"
-#include "activate.h"
-#include "toolcontext.h"
-#include "lvm-string.h"
-#include "lvm-file.h"
-#include "memlock.h"
+#include "lib/activate/activate.h"
+#include "lib/commands/toolcontext.h"
+#include "lib/misc/lvm-string.h"
+#include "lib/misc/lvm-file.h"
+#include "lib/mm/memlock.h"
 
 #include <sys/stat.h>
 #include <fcntl.h>
lib/activate/fs.h +1 -1
index 37938ec..b0dbadc 100644
@@ -16,7 +16,7 @@
 #ifndef _LVM_FS_H
 #define _LVM_FS_H
 
-#include "metadata.h"
+#include "lib/metadata/metadata.h"
 
 /*
  * These calls, private to the activate unit, set
lib/cache/lvmcache.c +13 -13
index 290d733..dc72dee 100644
@@ -13,19 +13,19 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "lvmcache.h"
-#include "toolcontext.h"
-#include "dev-cache.h"
-#include "locking.h"
-#include "metadata.h"
-#include "memlock.h"
-#include "str_list.h"
-#include "format-text.h"
-#include "config.h"
-
-#include "lvmetad.h"
-#include "lvmetad-client.h"
+#include "lib/misc/lib.h"
+#include "lib/cache/lvmcache.h"
+#include "lib/commands/toolcontext.h"
+#include "lib/device/dev-cache.h"
+#include "lib/locking/locking.h"
+#include "lib/metadata/metadata.h"
+#include "lib/mm/memlock.h"
+#include "lib/datastruct/str_list.h"
+#include "lib/format_text/format-text.h"
+#include "lib/config/config.h"
+
+#include "lib/cache/lvmetad.h"
+#include "daemons/lvmetad/lvmetad-client.h"
 
 #define CACHE_LOCKED	0x00000002
 
lib/cache/lvmcache.h +5 -5
index 797ff21..3bda64a 100644
@@ -16,11 +16,11 @@
 #ifndef _LVM_CACHE_H
 #define _LVM_CACHE_H
 
-#include "dev-cache.h"
-#include "dev-type.h"
-#include "uuid.h"
-#include "label.h"
-#include "locking.h"
+#include "lib/device/dev-cache.h"
+#include "lib/device/dev-type.h"
+#include "lib/uuid/uuid.h"
+#include "lib/label/label.h"
+#include "lib/locking/locking.h"
 
 #define ORPHAN_PREFIX VG_ORPHANS
 #define ORPHAN_VG_NAME(fmt) ORPHAN_PREFIX "_" fmt
lib/cache/lvmetad.c +12 -12
index 235f72b..757d269 100644
@@ -12,18 +12,18 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "toolcontext.h"
-#include "metadata.h"
-#include "device.h"
-#include "lvmetad.h"
-#include "lvmcache.h"
-#include "lvmetad-client.h"
-#include "format-text.h" // TODO for disk_locn, used as a DA representation
-#include "crc.h"
-#include "lvm-signal.h"
-#include "lvmlockd.h"
-#include "str_list.h"
+#include "lib/misc/lib.h"
+#include "lib/commands/toolcontext.h"
+#include "lib/metadata/metadata.h"
+#include "lib/device/device.h"
+#include "lib/cache/lvmetad.h"
+#include "lib/cache/lvmcache.h"
+#include "daemons/lvmetad/lvmetad-client.h"
+#include "lib/format_text/format-text.h"
+#include "lib/misc/crc.h"
+#include "lib/misc/lvm-signal.h"
+#include "lib/locking/lvmlockd.h"
+#include "lib/datastruct/str_list.h"
 
 #include <time.h>
 
lib/cache/lvmetad.h +1 -1
index 73c2645..3363607 100644
@@ -15,7 +15,7 @@
 #ifndef _LVM_METAD_H
 #define _LVM_METAD_H
 
-#include "config-util.h"
+#include "libdaemon/client/config-util.h"
 
 #include <stdint.h>
 
lib/cache_segtype/cache.c +12 -12
index 26f3e32..b7119d2 100644
@@ -12,18 +12,18 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "toolcontext.h"
-#include "segtype.h"
-#include "display.h"
-#include "text_export.h"
-#include "config.h"
-#include "str_list.h"
-#include "lvm-string.h"
-#include "activate.h"
-#include "metadata.h"
-#include "lv_alloc.h"
-#include "defaults.h"
+#include "lib/misc/lib.h"
+#include "lib/commands/toolcontext.h"
+#include "lib/metadata/segtype.h"
+#include "lib/display/display.h"
+#include "lib/format_text/text_export.h"
+#include "lib/config/config.h"
+#include "lib/datastruct/str_list.h"
+#include "lib/misc/lvm-string.h"
+#include "lib/activate/activate.h"
+#include "lib/metadata/metadata.h"
+#include "lib/metadata/lv_alloc.h"
+#include "lib/config/defaults.h"
 
 static const char _cache_module[] = "cache";
 #define CACHE_POLICY_WHEN_MISSING   "mq"
lib/commands/toolcontext.c +19 -19
index e9f9357..7d0640a 100644
@@ -13,27 +13,27 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "toolcontext.h"
-#include "metadata.h"
-#include "defaults.h"
-#include "lvm-string.h"
-#include "activate.h"
-#include "filter.h"
-#include "label.h"
-#include "lvm-file.h"
-#include "format-text.h"
-#include "display.h"
-#include "memlock.h"
-#include "str_list.h"
-#include "segtype.h"
-#include "lvmcache.h"
-#include "lvmetad.h"
-#include "archiver.h"
-#include "lvmpolld-client.h"
+#include "lib/misc/lib.h"
+#include "lib/commands/toolcontext.h"
+#include "lib/metadata/metadata.h"
+#include "lib/config/defaults.h"
+#include "lib/misc/lvm-string.h"
+#include "lib/activate/activate.h"
+#include "lib/filters/filter.h"
+#include "lib/label/label.h"
+#include "lib/misc/lvm-file.h"
+#include "lib/format_text/format-text.h"
+#include "lib/display/display.h"
+#include "lib/mm/memlock.h"
+#include "lib/datastruct/str_list.h"
+#include "lib/metadata/segtype.h"
+#include "lib/cache/lvmcache.h"
+#include "lib/cache/lvmetad.h"
+#include "lib/format_text/archiver.h"
+#include "lib/lvmpolld/lvmpolld-client.h"
 
 #ifdef HAVE_LIBDL
-#include "sharedlib.h"
+#include "lib/misc/sharedlib.h"
 #endif
 
 #include <locale.h>
lib/commands/toolcontext.h +2 -2
index 83c8e82..b46e301 100644
@@ -16,8 +16,8 @@
 #ifndef _LVM_TOOLCONTEXT_H
 #define _LVM_TOOLCONTEXT_H
 
-#include "dev-cache.h"
-#include "dev-type.h"
+#include "lib/device/dev-cache.h"
+#include "lib/device/dev-type.h"
 
 #include <limits.h>
 
lib/config/config.c +10 -10
index ad816c2..c638d75 100644
@@ -14,16 +14,16 @@
  */
 
 
-#include "lib.h"
+#include "lib/misc/lib.h"
 
-#include "config.h"
-#include "crc.h"
-#include "device.h"
-#include "str_list.h"
-#include "toolcontext.h"
-#include "lvm-file.h"
-#include "memlock.h"
-#include "label.h"
+#include "lib/config/config.h"
+#include "lib/misc/crc.h"
+#include "lib/device/device.h"
+#include "lib/datastruct/str_list.h"
+#include "lib/commands/toolcontext.h"
+#include "lib/misc/lvm-file.h"
+#include "lib/mm/memlock.h"
+#include "lib/label/label.h"
 
 #include <sys/stat.h>
 #include <sys/mman.h>
@@ -71,7 +71,7 @@ static struct cfg_def_item _cfg_def_items[CFG_COUNT + 1] = {
 #define cfg_runtime(id, name, parent, flags, type, since_version, deprecated_since_version, deprecation_comment, comment) {id, parent, name, type, {.fn_##type = get_default_##id}, (flags) | CFG_DEFAULT_RUN_TIME, since_version, {.fn_UNCONFIGURED = get_default_unconfigured_##id}, deprecated_since_version, (deprecation_comment), comment},
 #define cfg_array(id, name, parent, flags, types, default_value, since_version, unconfigured_value, deprecated_since_version, deprecation_comment, comment) {id, parent, name, CFG_TYPE_ARRAY | (types), {.v_CFG_TYPE_STRING = (default_value)}, (flags), (since_version), {.v_UNCONFIGURED = (unconfigured_value)}, deprecated_since_version, deprecation_comment, comment},
 #define cfg_array_runtime(id, name, parent, flags, types, since_version, deprecated_since_version, deprecation_comment, comment) {id, parent, name, CFG_TYPE_ARRAY | (types), {.fn_CFG_TYPE_STRING = get_default_##id}, (flags) | CFG_DEFAULT_RUN_TIME, (since_version), {.fn_UNCONFIGURED = get_default_unconfigured_##id}, deprecated_since_version, deprecation_comment, comment},
-#include "config_settings.h"
+#include "lib/config/config_settings.h"
 #undef cfg_section
 #undef cfg
 #undef cfg_runtime
lib/config/config.h +3 -3
index d01306b..b797c78 100644
@@ -16,8 +16,8 @@
 #ifndef _LVM_CONFIG_H
 #define _LVM_CONFIG_H
 
-#include "libdevmapper.h"
-#include "device.h"
+#include "libdm/libdevmapper.h"
+#include "lib/device/device.h"
 
 /* 16 bits: 3 bits for major, 4 bits for minor, 9 bits for patchlevel */
 /* FIXME Max LVM version supported: 7.15.511. Extend bits when needed. */
@@ -196,7 +196,7 @@ enum {
 #define cfg_runtime(id, name, parent, flags, type, since_version, deprecated_since_version, deprecation_comment, comment) id,
 #define cfg_array(id, name, parent, flags, types, default_value, since_version, unconfigured_value, deprecated_since_version, deprecation_comment, comment) id,
 #define cfg_array_runtime(id, name, parent, flags, types, since_version, deprecated_since_version, deprecation_comment, comment) id,
-#include "config_settings.h"
+#include "lib/config/config_settings.h"
 #undef cfg_section
 #undef cfg
 #undef cfg_runtime
lib/config/config_settings.h +1 -1
index d8db7df..c591b8a 100644
@@ -117,7 +117,7 @@
  * default values, the new defaults are used by LVM unless
  * the previous default value was set (uncommented) in lvm.conf.
  */
-#include "defaults.h"
+#include "lib/config/defaults.h"
 
 cfg_section(root_CFG_SECTION, "(root)", root_CFG_SECTION, 0, vsn(0, 0, 0), 0, NULL, NULL)
 
lib/datastruct/btree.c +2 -2
index 67d1492..efb2166 100644
@@ -13,8 +13,8 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "btree.h"
+#include "lib/misc/lib.h"
+#include "lib/datastruct/btree.h"
 
 struct node {
 	uint32_t key;
lib/datastruct/str_list.c +2 -2
index 6fe5672..efbdeda 100644
@@ -13,8 +13,8 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "str_list.h"
+#include "lib/misc/lib.h"
+#include "lib/datastruct/str_list.h"
 
 struct dm_list *str_list_create(struct dm_pool *mem)
 {
lib/device/bcache-utils.c +1 -1
index a533a66..2553554 100644
@@ -12,7 +12,7 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "bcache.h"
+#include "lib/device/bcache.h"
 
 // FIXME: need to define this in a common place (that doesn't pull in deps)
 #ifndef SECTOR_SHIFT
lib/device/bcache.c +3 -3
index 9085d87..aa6bb7a 100644
@@ -14,9 +14,9 @@
 
 #define _GNU_SOURCE
 
-#include "bcache.h"
-#include "dm-logging.h"
-#include "log.h"
+#include "lib/device/bcache.h"
+#include "libdm/misc/dm-logging.h"
+#include "lib/log/log.h"
 
 #include <errno.h>
 #include <fcntl.h>
lib/device/bcache.h +1 -1
index b0aebb4..cf3d668 100644
@@ -15,7 +15,7 @@
 #ifndef BCACHE_H
 #define BCACHE_H
 
-#include "libdevmapper.h"
+#include "libdm/libdevmapper.h"
 
 #include <linux/fs.h>
 #include <stdint.h>
lib/device/dev-cache.c +6 -6
index 15d4cdf..f3c2326 100644
@@ -13,12 +13,12 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "btree.h"
-#include "config.h"
-#include "toolcontext.h"
-#include "dm-ioctl.h" /* for DM_UUID_LEN */
-#include "lvm-string.h" /* for LVM's UUID_PREFIX */
+#include "lib/misc/lib.h"
+#include "lib/datastruct/btree.h"
+#include "lib/config/config.h"
+#include "lib/commands/toolcontext.h"
+#include "libdm/misc/dm-ioctl.h"
+#include "lib/misc/lvm-string.h"
 
 #ifdef UDEV_SYNC_SUPPORT
 #include <libudev.h>
lib/device/dev-cache.h +2 -2
index 4797274..1a822b8 100644
@@ -16,8 +16,8 @@
 #ifndef _LVM_DEV_CACHE_H
 #define _LVM_DEV_CACHE_H
 
-#include "device.h"
-#include "lvm-wrappers.h"
+#include "lib/device/device.h"
+#include "lib/misc/lvm-wrappers.h"
 
 /*
  * predicate for devices.
lib/device/dev-dasd.c +3 -3
index ab9b00f..dc11030 100644
@@ -12,9 +12,9 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "metadata.h"
-#include "dev-type.h"
+#include "lib/misc/lib.h"
+#include "lib/metadata/metadata.h"
+#include "lib/device/dev-type.h"
 #include <sys/ioctl.h>
 
 #ifdef __linux__
lib/device/dev-ext.c +2 -2
index 0c3b435..15e9c2b 100644
@@ -12,8 +12,8 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "device.h"
+#include "lib/misc/lib.h"
+#include "lib/device/device.h"
 
 #ifdef UDEV_SYNC_SUPPORT
 #include <libudev.h>
lib/device/dev-io.c +6 -6
index cce5a94..225fb36 100644
@@ -13,12 +13,12 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "device.h"
-#include "metadata.h"
-#include "lvmcache.h"
-#include "memlock.h"
-#include "locking.h"
+#include "lib/misc/lib.h"
+#include "lib/device/device.h"
+#include "lib/metadata/metadata.h"
+#include "lib/cache/lvmcache.h"
+#include "lib/mm/memlock.h"
+#include "lib/locking/locking.h"
 
 #include <limits.h>
 #include <sys/stat.h>
lib/device/dev-luks.c +2 -2
index 25a8b2c..344a554 100644
@@ -12,8 +12,8 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "dev-type.h"
+#include "lib/misc/lib.h"
+#include "lib/device/dev-type.h"
 
 #define LUKS_SIGNATURE "LUKS\xba\xbe"
 #define LUKS_SIGNATURE_SIZE 6
lib/device/dev-lvm1-pool.c +3 -3
index 1fc3805..b51aba5 100644
@@ -12,9 +12,9 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "dev-type.h"
-#include "xlate.h"
+#include "lib/misc/lib.h"
+#include "lib/device/dev-type.h"
+#include "lib/mm/xlate.h"
 
 /*
  * These lvm1 structs just used NAME_LEN in the previous format1 lvm2 code, but
lib/device/dev-md.c +4 -4
index f32c1c3..6e69e45 100644
@@ -13,12 +13,12 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "dev-type.h"
-#include "xlate.h"
+#include "lib/misc/lib.h"
+#include "lib/device/dev-type.h"
+#include "lib/mm/xlate.h"
 #ifdef UDEV_SYNC_SUPPORT
 #include <libudev.h> /* for MD detection using udev db records */
-#include "dev-ext-udev-constants.h"
+#include "lib/device/dev-ext-udev-constants.h"
 #endif
 
 #ifdef __linux__
lib/device/dev-swap.c +2 -2
index 3bfb72b..564bb58 100644
@@ -12,8 +12,8 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "dev-type.h"
+#include "lib/misc/lib.h"
+#include "lib/device/dev-type.h"
 
 #ifdef __linux__
 
lib/device/dev-type.c +9 -9
index 8d4a403..eb33b81 100644
@@ -12,13 +12,13 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "dev-type.h"
-#include "xlate.h"
-#include "config.h"
-#include "metadata.h"
-#include "bcache.h"
-#include "label.h"
+#include "lib/misc/lib.h"
+#include "lib/device/dev-type.h"
+#include "lib/mm/xlate.h"
+#include "lib/config/config.h"
+#include "lib/metadata/metadata.h"
+#include "lib/device/bcache.h"
+#include "lib/label/label.h"
 
 #include <libgen.h>
 #include <ctype.h>
@@ -29,10 +29,10 @@
 
 #ifdef UDEV_SYNC_SUPPORT
 #include <libudev.h>
-#include "dev-ext-udev-constants.h"
+#include "lib/device/dev-ext-udev-constants.h"
 #endif
 
-#include "device-types.h"
+#include "lib/device/device-types.h"
 
 struct dev_types *create_dev_types(const char *proc_dir,
 				   const struct dm_config_node *cn)
lib/device/dev-type.h +4 -4
index 843e254..210a316 100644
@@ -15,14 +15,14 @@
 #ifndef _LVM_DEV_TYPE_H
 #define _LVM_DEV_TYPE_H
 
-#include "device.h"
-#include "display.h"
-#include "label.h"
+#include "lib/device/device.h"
+#include "lib/display/display.h"
+#include "lib/label/label.h"
 
 #define NUMBER_OF_MAJORS 4096
 
 #ifdef __linux__
-#  include "kdev_t.h"
+#  include "libdm/misc/kdev_t.h"
 #else
 #  define MAJOR(x) major((x))
 #  define MINOR(x) minor((x))
lib/device/device.h +1 -1
index fd8cbb7..18b4150 100644
@@ -16,7 +16,7 @@
 #ifndef _LVM_DEVICE_H
 #define _LVM_DEVICE_H
 
-#include "uuid.h"
+#include "lib/uuid/uuid.h"
 
 #include <fcntl.h>
 
lib/display/display.c +8 -8
index 9b4be88..c6f855b 100644
@@ -13,14 +13,14 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "metadata.h"
-#include "display.h"
-#include "activate.h"
-#include "toolcontext.h"
-#include "segtype.h"
-#include "defaults.h"
-#include "lvm-signal.h"
+#include "lib/misc/lib.h"
+#include "lib/metadata/metadata.h"
+#include "lib/display/display.h"
+#include "lib/activate/activate.h"
+#include "lib/commands/toolcontext.h"
+#include "lib/metadata/segtype.h"
+#include "lib/config/defaults.h"
+#include "lib/misc/lvm-signal.h"
 
 #include <stdarg.h>
 
lib/display/display.h +3 -3
index 9f9afe9..9911321 100644
@@ -16,9 +16,9 @@
 #ifndef _LVM_DISPLAY_H
 #define _LVM_DISPLAY_H
 
-#include "metadata-exported.h"
-#include "locking.h"
-#include "lvm-string.h"
+#include "lib/metadata/metadata-exported.h"
+#include "lib/locking/locking.h"
+#include "lib/misc/lvm-string.h"
 
 #include <stdint.h>
 
lib/error/errseg.c +8 -8
index 6b355fc..9f0262a 100644
@@ -12,14 +12,14 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "toolcontext.h"
-#include "segtype.h"
-#include "display.h"
-#include "config.h"
-#include "str_list.h"
-#include "activate.h"
-#include "str_list.h"
+#include "lib/misc/lib.h"
+#include "lib/commands/toolcontext.h"
+#include "lib/metadata/segtype.h"
+#include "lib/display/display.h"
+#include "lib/config/config.h"
+#include "lib/datastruct/str_list.h"
+#include "lib/activate/activate.h"
+#include "lib/datastruct/str_list.h"
 
 static int _errseg_merge_segments(struct lv_segment *seg1, struct lv_segment *seg2)
 {
lib/filters/filter-composite.c +3 -3
index f15ff12..8d9e061 100644
@@ -13,9 +13,9 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "filter.h"
-#include "device.h"
+#include "lib/misc/lib.h"
+#include "lib/filters/filter.h"
+#include "lib/device/device.h"
 
 static int _and_p(struct dev_filter *f, struct device *dev)
 {
lib/filters/filter-fwraid.c +3 -3
index 22ef74a..62022b3 100644
@@ -12,12 +12,12 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "filter.h"
+#include "lib/misc/lib.h"
+#include "lib/filters/filter.h"
 
 #ifdef UDEV_SYNC_SUPPORT
 #include <libudev.h>
-#include "dev-ext-udev-constants.h"
+#include "lib/device/dev-ext-udev-constants.h"
 #endif
 
 #ifdef __linux__
lib/filters/filter-internal.c +2 -2
index cdaee4e..ebbee7e 100644
@@ -12,8 +12,8 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "filter.h"
+#include "lib/misc/lib.h"
+#include "lib/filters/filter.h"
 
 static DM_LIST_INIT(_allow_devs);
 
lib/filters/filter-md.c +2 -2
index bb8a7cf..40d674a 100644
@@ -13,8 +13,8 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "filter.h"
+#include "lib/misc/lib.h"
+#include "lib/filters/filter.h"
 
 #ifdef __linux__
 
lib/filters/filter-mpath.c +4 -4
index 6763be3..a7dc12e 100644
@@ -12,12 +12,12 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "filter.h"
-#include "activate.h"
+#include "lib/misc/lib.h"
+#include "lib/filters/filter.h"
+#include "lib/activate/activate.h"
 #ifdef UDEV_SYNC_SUPPORT
 #include <libudev.h>
-#include "dev-ext-udev-constants.h"
+#include "lib/device/dev-ext-udev-constants.h"
 #endif
 
 #ifdef __linux__
lib/filters/filter-partitioned.c +2 -2
index 5e1c4e8..a85e182 100644
@@ -13,8 +13,8 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "filter.h"
+#include "lib/misc/lib.h"
+#include "lib/filters/filter.h"
 
 #define MSG_SKIPPING "%s: Skipping: Partition table signature found"
 
lib/filters/filter-persistent.c +4 -4
index 3fa57f1..4a17189 100644
@@ -13,10 +13,10 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "filter.h"
-#include "config.h"
-#include "lvm-file.h"
+#include "lib/misc/lib.h"
+#include "lib/filters/filter.h"
+#include "lib/config/config.h"
+#include "lib/misc/lvm-file.h"
 
 struct pfilter {
 	char *file;
lib/filters/filter-regex.c +2 -2
index f7cc072..c642ec4 100644
@@ -13,8 +13,8 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "filter.h"
+#include "lib/misc/lib.h"
+#include "lib/filters/filter.h"
 
 struct rfilter {
 	struct dm_pool *mem;
lib/filters/filter-signature.c +2 -2
index 23b01e7..3aa6284 100644
@@ -13,8 +13,8 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "filter.h"
+#include "lib/misc/lib.h"
+#include "lib/filters/filter.h"
 
 #ifdef __linux__
 
lib/filters/filter-sysfs.c +2 -2
index 93862e6..5b54312 100644
@@ -12,8 +12,8 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "filter.h"
+#include "lib/misc/lib.h"
+#include "lib/filters/filter.h"
 
 #ifdef __linux__
 
lib/filters/filter-type.c +2 -2
index 092b023..8ec3025 100644
@@ -13,8 +13,8 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "filter.h"
+#include "lib/misc/lib.h"
+#include "lib/filters/filter.h"
 
 static int _passes_lvm_type_device_filter(struct dev_filter *f, struct device *dev)
 {
lib/filters/filter-usable.c +4 -4
index 2de2a0f..45c7832 100644
@@ -12,12 +12,12 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "filter.h"
-#include "activate.h" /* device_is_usable */
+#include "lib/misc/lib.h"
+#include "lib/filters/filter.h"
+#include "lib/activate/activate.h"
 #ifdef UDEV_SYNC_SUPPORT
 #include <libudev.h>
-#include "dev-ext-udev-constants.h"
+#include "lib/device/dev-ext-udev-constants.h"
 #endif
 
 static const char *_too_small_to_hold_pv_msg = "Too small to hold a PV";
lib/filters/filter.h +2 -2
index 6245827..ff9cc1b 100644
@@ -17,8 +17,8 @@
 #ifndef _LVM_FILTER_H
 #define _LVM_FILTER_H
 
-#include "dev-cache.h"
-#include "dev-type.h"
+#include "lib/device/dev-cache.h"
+#include "lib/device/dev-type.h"
 
 struct dev_filter *composite_filter_create(int n, int use_dev_ext_info, struct dev_filter **filters);
 
lib/format_text/archive.c +6 -6
index 690bc74..f0c4392 100644
@@ -13,14 +13,14 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "format-text.h"
+#include "lib/misc/lib.h"
+#include "lib/format_text/format-text.h"
 
-#include "config.h"
+#include "lib/config/config.h"
 #include "import-export.h"
-#include "lvm-string.h"
-#include "lvm-file.h"
-#include "toolcontext.h"
+#include "lib/misc/lvm-string.h"
+#include "lib/misc/lvm-file.h"
+#include "lib/commands/toolcontext.h"
 
 #include <dirent.h>
 #include <unistd.h>
lib/format_text/archiver.c +9 -9
index c8aeb47..9d7be95 100644
@@ -13,15 +13,15 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "archiver.h"
-#include "format-text.h"
-#include "lvm-string.h"
-#include "lvmcache.h"
-#include "lvmetad.h"
-#include "memlock.h"
-#include "toolcontext.h"
-#include "locking.h"
+#include "lib/misc/lib.h"
+#include "lib/format_text/archiver.h"
+#include "lib/format_text/format-text.h"
+#include "lib/misc/lvm-string.h"
+#include "lib/cache/lvmcache.h"
+#include "lib/cache/lvmetad.h"
+#include "lib/mm/memlock.h"
+#include "lib/commands/toolcontext.h"
+#include "lib/locking/locking.h"
 
 #include <unistd.h>
 
lib/format_text/archiver.h +1 -1
index e949751..fa4c1a4 100644
@@ -16,7 +16,7 @@
 #ifndef _LVM_TOOL_ARCHIVE_H
 #define _LVM_TOOL_ARCHIVE_H
 
-#include "metadata-exported.h"
+#include "lib/metadata/metadata-exported.h"
 
 /*
  * There are two operations that come under the general area of
lib/format_text/export.c +8 -8
index 7866d56..2924aea 100644
@@ -13,16 +13,16 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
+#include "lib/misc/lib.h"
 #include "import-export.h"
-#include "metadata.h"
-#include "display.h"
-#include "lvm-string.h"
-#include "segtype.h"
-#include "text_export.h"
+#include "lib/metadata/metadata.h"
+#include "lib/display/display.h"
+#include "lib/misc/lvm-string.h"
+#include "lib/metadata/segtype.h"
+#include "lib/format_text/text_export.h"
 #include "lvm-version.h"
-#include "toolcontext.h"
-#include "config-util.h"
+#include "lib/commands/toolcontext.h"
+#include "libdaemon/client/config-util.h"
 
 #include <stdarg.h>
 #include <time.h>
lib/format_text/flags.c +3 -3
index 7e793b3..69d8afc 100644
@@ -13,10 +13,10 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "metadata.h"
+#include "lib/misc/lib.h"
+#include "lib/metadata/metadata.h"
 #include "import-export.h"
-#include "lvm-string.h"
+#include "lib/misc/lvm-string.h"
 
 /*
  * Bitsets held in the 'status' flags get
lib/format_text/format-text.c +15 -15
index 5c7b72f..c834335 100644
@@ -13,23 +13,23 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "format-text.h"
+#include "lib/misc/lib.h"
+#include "lib/format_text/format-text.h"
 #include "import-export.h"
-#include "device.h"
-#include "lvm-file.h"
-#include "config.h"
-#include "display.h"
-#include "toolcontext.h"
-#include "lvm-string.h"
-#include "uuid.h"
+#include "lib/device/device.h"
+#include "lib/misc/lvm-file.h"
+#include "lib/config/config.h"
+#include "lib/display/display.h"
+#include "lib/commands/toolcontext.h"
+#include "lib/misc/lvm-string.h"
+#include "lib/uuid/uuid.h"
 #include "layout.h"
-#include "crc.h"
-#include "xlate.h"
-#include "label.h"
-#include "lvmcache.h"
-#include "lvmetad.h"
-#include "memlock.h"
+#include "lib/misc/crc.h"
+#include "lib/mm/xlate.h"
+#include "lib/label/label.h"
+#include "lib/cache/lvmcache.h"
+#include "lib/cache/lvmetad.h"
+#include "lib/mm/memlock.h"
 
 #include <unistd.h>
 #include <sys/param.h>
lib/format_text/format-text.h +1 -1
index d6e6b03..1300e58 100644
@@ -16,7 +16,7 @@
 #ifndef _LVM_FORMAT_TEXT_H
 #define _LVM_FORMAT_TEXT_H
 
-#include "metadata.h"
+#include "lib/metadata/metadata.h"
 
 #define FMT_TEXT_NAME "lvm2"
 #define FMT_TEXT_ALIAS "text"
lib/format_text/import-export.h +3 -3
index 920eb3e..b7a8fa6 100644
@@ -16,9 +16,9 @@
 #ifndef _LVM_TEXT_IMPORT_EXPORT_H
 #define _LVM_TEXT_IMPORT_EXPORT_H
 
-#include "config.h"
-#include "metadata.h"
-#include "lvmcache.h"
+#include "lib/config/config.h"
+#include "lib/metadata/metadata.h"
+#include "lib/cache/lvmcache.h"
 
 #include <stdio.h>
 
lib/format_text/import.c +2 -2
index 4b34485..0836662 100644
@@ -13,8 +13,8 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "metadata.h"
+#include "lib/misc/lib.h"
+#include "lib/metadata/metadata.h"
 #include "import-export.h"
 
 /* FIXME Use tidier inclusion method */
lib/format_text/import_vsn1.c +13 -13
index 58f517e..15d4422 100644
@@ -13,20 +13,20 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "metadata.h"
+#include "lib/misc/lib.h"
+#include "lib/metadata/metadata.h"
 #include "import-export.h"
-#include "display.h"
-#include "toolcontext.h"
-#include "lvmcache.h"
-#include "lvmetad.h"
-#include "lvmlockd.h"
-#include "lv_alloc.h"
-#include "pv_alloc.h"
-#include "segtype.h"
-#include "text_import.h"
-#include "defaults.h"
-#include "str_list.h"
+#include "lib/display/display.h"
+#include "lib/commands/toolcontext.h"
+#include "lib/cache/lvmcache.h"
+#include "lib/cache/lvmetad.h"
+#include "lib/locking/lvmlockd.h"
+#include "lib/metadata/lv_alloc.h"
+#include "lib/metadata/pv_alloc.h"
+#include "lib/metadata/segtype.h"
+#include "lib/format_text/text_import.h"
+#include "lib/config/defaults.h"
+#include "lib/datastruct/str_list.h"
 
 typedef int (*section_fn) (struct format_instance * fid,
 			   struct volume_group * vg, const struct dm_config_node * pvn,
lib/format_text/layout.h +4 -4
index 2671bbf..0a63708 100644
@@ -16,10 +16,10 @@
 #ifndef _LVM_TEXT_LAYOUT_H
 #define _LVM_TEXT_LAYOUT_H
 
-#include "config.h"
-#include "metadata.h"
-#include "lvmcache.h"
-#include "uuid.h"
+#include "lib/config/config.h"
+#include "lib/metadata/metadata.h"
+#include "lib/cache/lvmcache.h"
+#include "lib/uuid/uuid.h"
 
 /* disk_locn and data_area_list are defined in format-text.h */
 
lib/format_text/text_label.c +5 -5
index 7d10e06..a7eaa6e 100644
@@ -13,12 +13,12 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "format-text.h"
+#include "lib/misc/lib.h"
+#include "lib/format_text/format-text.h"
 #include "layout.h"
-#include "label.h"
-#include "xlate.h"
-#include "lvmcache.h"
+#include "lib/label/label.h"
+#include "lib/mm/xlate.h"
+#include "lib/cache/lvmcache.h"
 
 #include <sys/stat.h>
 #include <fcntl.h>
lib/freeseg/freeseg.c +3 -3
index 5e22615..90e9cd3 100644
@@ -12,9 +12,9 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "toolcontext.h"
-#include "segtype.h"
+#include "lib/misc/lib.h"
+#include "lib/commands/toolcontext.h"
+#include "lib/metadata/segtype.h"
 
 static void _freeseg_destroy(struct segment_type *segtype)
 {
lib/label/label.c +8 -8
index 071c2e7..ba34c7d 100644
@@ -13,14 +13,14 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "label.h"
-#include "crc.h"
-#include "xlate.h"
-#include "lvmcache.h"
-#include "bcache.h"
-#include "toolcontext.h"
-#include "activate.h"
+#include "lib/misc/lib.h"
+#include "lib/label/label.h"
+#include "lib/misc/crc.h"
+#include "lib/mm/xlate.h"
+#include "lib/cache/lvmcache.h"
+#include "lib/device/bcache.h"
+#include "lib/commands/toolcontext.h"
+#include "lib/activate/activate.h"
 
 #include <sys/stat.h>
 #include <fcntl.h>
lib/label/label.h +4 -4
index 3483321..287d6d6 100644
@@ -16,10 +16,10 @@
 #ifndef _LVM_LABEL_H
 #define _LVM_LABEL_H
 
-#include "uuid.h"
-#include "device.h"
-#include "bcache.h"
-#include "toolcontext.h"
+#include "lib/uuid/uuid.h"
+#include "lib/device/device.h"
+#include "lib/device/bcache.h"
+#include "lib/commands/toolcontext.h"
 
 #define LABEL_ID "LABELONE"
 #define LABEL_SIZE SECTOR_SIZE	/* Think very carefully before changing this */
lib/locking/cluster_locking.c +5 -5
index 038f6b6..0830b48 100644
@@ -19,12 +19,12 @@
  * management operations across a cluster.
  */
 
-#include "lib.h"
-#include "clvm.h"
-#include "lvm-string.h"
-#include "locking.h"
+#include "lib/misc/lib.h"
+#include "daemons/clvmd/clvm.h"
+#include "lib/misc/lvm-string.h"
+#include "lib/locking/locking.h"
 #include "locking_types.h"
-#include "toolcontext.h"
+#include "lib/commands/toolcontext.h"
 
 #include <assert.h>
 #include <stddef.h>
lib/locking/external_locking.c +5 -5
index c89a167..a1169a5 100644
@@ -13,12 +13,12 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
+#include "lib/misc/lib.h"
 #include "locking_types.h"
-#include "defaults.h"
-#include "sharedlib.h"
-#include "toolcontext.h"
-#include "activate.h"
+#include "lib/config/defaults.h"
+#include "lib/misc/sharedlib.h"
+#include "lib/commands/toolcontext.h"
+#include "lib/activate/activate.h"
 
 static void *_locking_lib = NULL;
 static void (*_reset_fn) (void) = NULL;
lib/locking/file_locking.c +7 -7
index 8dbc54e..d4f47c6 100644
@@ -13,14 +13,14 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "locking.h"
+#include "lib/misc/lib.h"
+#include "lib/locking/locking.h"
 #include "locking_types.h"
-#include "activate.h"
-#include "config.h"
-#include "defaults.h"
-#include "lvm-string.h"
-#include "lvm-flock.h"
+#include "lib/activate/activate.h"
+#include "lib/config/config.h"
+#include "lib/config/defaults.h"
+#include "lib/misc/lvm-string.h"
+#include "lib/misc/lvm-flock.h"
 
 #include <limits.h>
 #include <unistd.h>
lib/locking/locking.c +9 -9
index 105419a..9db006f 100644
@@ -13,16 +13,16 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "locking.h"
+#include "lib/misc/lib.h"
+#include "lib/locking/locking.h"
 #include "locking_types.h"
-#include "lvm-string.h"
-#include "activate.h"
-#include "toolcontext.h"
-#include "memlock.h"
-#include "defaults.h"
-#include "lvmcache.h"
-#include "lvm-signal.h"
+#include "lib/misc/lvm-string.h"
+#include "lib/activate/activate.h"
+#include "lib/commands/toolcontext.h"
+#include "lib/mm/memlock.h"
+#include "lib/config/defaults.h"
+#include "lib/cache/lvmcache.h"
+#include "lib/misc/lvm-signal.h"
 
 #include <assert.h>
 #include <sys/stat.h>
lib/locking/locking.h +2 -2
index f2fbb00..8322bae 100644
@@ -16,8 +16,8 @@
 #ifndef _LVM_LOCKING_H
 #define _LVM_LOCKING_H
 
-#include "uuid.h"
-#include "config.h"
+#include "lib/uuid/uuid.h"
+#include "lib/config/config.h"
 
 struct logical_volume;
 
lib/locking/locking_types.h +2 -2
index 3306a8b..c4c832a 100644
@@ -13,8 +13,8 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "metadata.h"
-#include "config.h"
+#include "lib/metadata/metadata.h"
+#include "lib/config/config.h"
 
 typedef int (*lock_resource_fn) (struct cmd_context * cmd, const char *resource,
 				 uint32_t flags, const struct logical_volume *lv);
lib/locking/lvmlockd.c +9 -9
index d78b35c..6c67cf9 100644
@@ -8,15 +8,15 @@
  * of the GNU Lesser General Public License v.2.1.
  */
 
-#include "lib.h"
-#include "toolcontext.h"
-#include "metadata.h"
-#include "segtype.h"
-#include "activate.h"
-#include "lvmetad.h"
-#include "lvmlockd.h"
-#include "lvmcache.h"
-#include "lvmlockd-client.h"
+#include "lib/misc/lib.h"
+#include "lib/commands/toolcontext.h"
+#include "lib/metadata/metadata.h"
+#include "lib/metadata/segtype.h"
+#include "lib/activate/activate.h"
+#include "lib/cache/lvmetad.h"
+#include "lib/locking/lvmlockd.h"
+#include "lib/cache/lvmcache.h"
+#include "daemons/lvmlockd/lvmlockd-client.h"
 
 static daemon_handle _lvmlockd;
 static const char *_lvmlockd_socket = NULL;
lib/locking/lvmlockd.h +2 -2
index cf23e9b..0a6ea96 100644
@@ -11,8 +11,8 @@
 #ifndef _LVMLOCKD_H
 #define _LVMLOCKD_H
 
-#include "config-util.h"
-#include "daemon-client.h"
+#include "libdaemon/client/config-util.h"
+#include "libdaemon/client/daemon-client.h"
 
 #define LOCKD_SANLOCK_LV_NAME "lvmlock"
 
lib/locking/no_locking.c +4 -4
index 3011746..fa066cc 100644
@@ -13,11 +13,11 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "locking.h"
+#include "lib/misc/lib.h"
+#include "lib/locking/locking.h"
 #include "locking_types.h"
-#include "lvm-string.h"
-#include "activate.h"
+#include "lib/misc/lvm-string.h"
+#include "lib/activate/activate.h"
 
 /*
  * No locking
lib/log/log.c +6 -6
index 79fbd7a..a040ca5 100644
@@ -13,12 +13,12 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "device.h"
-#include "memlock.h"
-#include "defaults.h"
-#include "report.h"
-#include "lvm-file.h"
+#include "lib/misc/lib.h"
+#include "lib/device/device.h"
+#include "lib/mm/memlock.h"
+#include "lib/config/defaults.h"
+#include "lib/report/report.h"
+#include "lib/misc/lvm-file.h"
 
 #include <stdio.h>
 #include <stdarg.h>
lib/log/lvm-logging.h +2 -2
index 64c1928..ca93ff4 100644
@@ -16,7 +16,7 @@
 #ifndef _LVM_LOGGING_H
 #define _LVM_LOGGING_H
 
-#include "lvm-file.h"
+#include "lib/misc/lvm-file.h"
 
 __attribute__ ((format(printf, 5, 6)))
 void print_log(int level, const char *file, int line, int dm_errno_or_class,
@@ -35,7 +35,7 @@ void print_log_libdm(int level, const char *file, int line, int dm_errno_or_clas
 #define LOG_LINE_WITH_CLASS(l, c, x...) \
     print_log(l, __FILE__, __LINE__ , c, ## x)
 
-#include "log.h"
+#include "lib/log/log.h"
 
 int init_custom_log_streams(struct custom_fds *custom_fds);
 int reopen_standard_stream(FILE **stream, const char *mode);
lib/lvmpolld/lvmpolld-client.c +9 -9
index 6d52f2a..78cf813 100644
@@ -12,15 +12,15 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-
-#include "daemon-io.h"
-#include "lvmpolld-client.h"
-#include "lvmpolld-protocol.h"
-#include "metadata-exported.h"
-#include "polldaemon.h"
-#include "toolcontext.h"
-#include "lvm2cmd.h"
+#include "lib/misc/lib.h"
+
+#include "libdaemon/client/daemon-io.h"
+#include "lib/lvmpolld/lvmpolld-client.h"
+#include "daemons/lvmpolld/lvmpolld-protocol.h"
+#include "lib/metadata/metadata-exported.h"
+#include "lib/lvmpolld/polldaemon.h"
+#include "lib/commands/toolcontext.h"
+#include "tools/lvm2cmd.h"
 
 struct progress_info {
 	unsigned error:1;
lib/lvmpolld/polldaemon.h +1 -1
index 11688fe..17ef7cb 100644
@@ -16,7 +16,7 @@
 #ifndef _LVM_TOOL_POLLDAEMON_H
 #define _LVM_TOOL_POLLDAEMON_H
 
-#include "metadata-exported.h"
+#include "lib/metadata/metadata-exported.h"
 
 typedef enum {
 	PROGRESS_CHECK_FAILED = 0,
lib/metadata/cache_manip.c +11 -11
index 2a54682..41a193d 100644
@@ -12,17 +12,17 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "metadata.h"
-#include "locking.h"
-#include "lvm-string.h"
-#include "toolcontext.h"
-#include "display.h"
-#include "segtype.h"
-#include "activate.h"
-#include "defaults.h"
-#include "lv_alloc.h"
-#include "lvm-signal.h"
+#include "lib/misc/lib.h"
+#include "lib/metadata/metadata.h"
+#include "lib/locking/locking.h"
+#include "lib/misc/lvm-string.h"
+#include "lib/commands/toolcontext.h"
+#include "lib/display/display.h"
+#include "lib/metadata/segtype.h"
+#include "lib/activate/activate.h"
+#include "lib/config/defaults.h"
+#include "lib/metadata/lv_alloc.h"
+#include "lib/misc/lvm-signal.h"
 
 /* https://github.com/jthornber/thin-provisioning-tools/blob/master/caching/cache_metadata_size.cc */
 #define DM_TRANSACTION_OVERHEAD		4096  /* KiB */
lib/metadata/lv.c +8 -8
index b19ae34..54edc88 100644
@@ -13,14 +13,14 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "metadata.h"
-#include "display.h"
-#include "activate.h"
-#include "toolcontext.h"
-#include "segtype.h"
-#include "str_list.h"
-#include "lvmlockd.h"
+#include "lib/misc/lib.h"
+#include "lib/metadata/metadata.h"
+#include "lib/display/display.h"
+#include "lib/activate/activate.h"
+#include "lib/commands/toolcontext.h"
+#include "lib/metadata/segtype.h"
+#include "lib/datastruct/str_list.h"
+#include "lib/locking/lvmlockd.h"
 
 #include <time.h>
 #include <sys/utsname.h>
lib/metadata/lv.h +1 -1
index 3fb10ae..920bcb5 100644
@@ -15,7 +15,7 @@
 #ifndef _LVM_LV_H
 #define _LVM_LV_H
 
-#include "vg.h"
+#include "lib/metadata/vg.h"
 
 union lvid;
 struct lv_segment;
lib/metadata/lv_alloc.h +1 -1
index df51df2..ec672d0 100644
@@ -16,7 +16,7 @@
 #ifndef _LVM_LV_ALLOC_H
 #define _LVM_LV_ALLOC_H
 
-#include "metadata-exported.h"
+#include "lib/metadata/metadata-exported.h"
 
 struct lv_segment *alloc_lv_segment(const struct segment_type *segtype,
 				    struct logical_volume *lv,
lib/metadata/lv_manip.c +17 -17
index 8c76a38..affc50b 100644
@@ -13,24 +13,24 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "metadata.h"
-#include "locking.h"
+#include "lib/misc/lib.h"
+#include "lib/metadata/metadata.h"
+#include "lib/locking/locking.h"
 #include "pv_map.h"
-#include "lvm-string.h"
-#include "toolcontext.h"
-#include "lv_alloc.h"
-#include "pv_alloc.h"
-#include "display.h"
-#include "segtype.h"
-#include "archiver.h"
-#include "activate.h"
-#include "str_list.h"
-#include "defaults.h"
-#include "lvm-exec.h"
-#include "memlock.h"
-#include "lvmlockd.h"
-#include "label.h"
+#include "lib/misc/lvm-string.h"
+#include "lib/commands/toolcontext.h"
+#include "lib/metadata/lv_alloc.h"
+#include "lib/metadata/pv_alloc.h"
+#include "lib/display/display.h"
+#include "lib/metadata/segtype.h"
+#include "lib/format_text/archiver.h"
+#include "lib/activate/activate.h"
+#include "lib/datastruct/str_list.h"
+#include "lib/config/defaults.h"
+#include "lib/misc/lvm-exec.h"
+#include "lib/mm/memlock.h"
+#include "lib/locking/lvmlockd.h"
+#include "lib/label/label.h"
 
 typedef enum {
 	PREFERRED,
lib/metadata/merge.c +7 -7
index 7299620..cf8789c 100644
@@ -13,13 +13,13 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include <defaults.h>
-#include "metadata.h"
-#include "lv_alloc.h"
-#include "pv_alloc.h"
-#include "str_list.h"
-#include "segtype.h"
+#include "lib/misc/lib.h"
+#include "lib/config/defaults.h"
+#include "lib/metadata/metadata.h"
+#include "lib/metadata/lv_alloc.h"
+#include "lib/metadata/pv_alloc.h"
+#include "lib/datastruct/str_list.h"
+#include "lib/metadata/segtype.h"
 
 /*
  * Attempt to merge two adjacent segments.
lib/metadata/metadata-exported.h +5 -5
index 97184ed..b09c0e6 100644
@@ -21,11 +21,11 @@
 #ifndef _LVM_METADATA_EXPORTED_H
 #define _LVM_METADATA_EXPORTED_H
 
-#include "uuid.h"
-#include "pv.h"
-#include "vg.h"
-#include "lv.h"
-#include "lvm-percent.h"
+#include "lib/uuid/uuid.h"
+#include "lib/metadata/pv.h"
+#include "lib/metadata/vg.h"
+#include "lib/metadata/lv.h"
+#include "lib/misc/lvm-percent.h"
 
 #define MAX_STRIPES 128U
 #define SECTOR_SHIFT 9L
lib/metadata/metadata-liblvm.c +8 -8
index f7a07a5..cd34724 100644
@@ -18,14 +18,14 @@
  * Ideally this file should be empty as liblvm and toollib should be doing identical things.
  * FIXME Merge all the code into different parts of the tree.
  */
-#include "lib.h"
-#include "toolcontext.h"
-#include "lvm-string.h"
-#include "metadata.h"
-#include "label.h"
-#include "lvm-signal.h"
-#include "lvmcache.h"
-#include "lvmetad.h"
+#include "lib/misc/lib.h"
+#include "lib/commands/toolcontext.h"
+#include "lib/misc/lvm-string.h"
+#include "lib/metadata/metadata.h"
+#include "lib/label/label.h"
+#include "lib/misc/lvm-signal.h"
+#include "lib/cache/lvmcache.h"
+#include "lib/cache/lvmetad.h"
 
 int vg_reduce(struct volume_group *vg, const char *pv_name)
 {
lib/metadata/metadata.c +19 -19
index b8f1b97..ddb0fd7 100644
@@ -13,26 +13,26 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "device.h"
-#include "metadata.h"
-#include "toolcontext.h"
-#include "lvm-string.h"
-#include "lvm-file.h"
-#include "lvmcache.h"
-#include "lvmetad.h"
-#include "memlock.h"
-#include "str_list.h"
-#include "pv_alloc.h"
-#include "segtype.h"
-#include "activate.h"
-#include "display.h"
-#include "locking.h"
-#include "archiver.h"
-#include "defaults.h"
-#include "lvmlockd.h"
+#include "lib/misc/lib.h"
+#include "lib/device/device.h"
+#include "lib/metadata/metadata.h"
+#include "lib/commands/toolcontext.h"
+#include "lib/misc/lvm-string.h"
+#include "lib/misc/lvm-file.h"
+#include "lib/cache/lvmcache.h"
+#include "lib/cache/lvmetad.h"
+#include "lib/mm/memlock.h"
+#include "lib/datastruct/str_list.h"
+#include "lib/metadata/pv_alloc.h"
+#include "lib/metadata/segtype.h"
+#include "lib/activate/activate.h"
+#include "lib/display/display.h"
+#include "lib/locking/locking.h"
+#include "lib/format_text/archiver.h"
+#include "lib/config/defaults.h"
+#include "lib/locking/lvmlockd.h"
 #include "time.h"
-#include "lvmnotify.h"
+#include "lib/notify/lvmnotify.h"
 
 #include <math.h>
 #include <sys/param.h>
lib/metadata/metadata.h +3 -3
index 1e3dd1b..3d6750f 100644
@@ -22,9 +22,9 @@
 #define _LVM_METADATA_H
 
 #include "ctype.h"
-#include "dev-cache.h"
-#include "lvm-string.h"
-#include "metadata-exported.h"
+#include "lib/device/dev-cache.h"
+#include "lib/misc/lvm-string.h"
+#include "lib/metadata/metadata-exported.h"
 
 //#define MAX_STRIPES 128U
 //#define SECTOR_SHIFT 9L
lib/metadata/mirror.c +14 -14
index 054ca99..807259f 100644
@@ -13,22 +13,22 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "metadata.h"
-#include "toolcontext.h"
-#include "segtype.h"
-#include "display.h"
-#include "archiver.h"
-#include "activate.h"
-#include "lv_alloc.h"
-#include "lvm-string.h"
-#include "str_list.h"
-#include "locking.h"	/* FIXME Should not be used in this file */
-
-#include "defaults.h" /* FIXME: should this be defaults.h? */
+#include "lib/misc/lib.h"
+#include "lib/metadata/metadata.h"
+#include "lib/commands/toolcontext.h"
+#include "lib/metadata/segtype.h"
+#include "lib/display/display.h"
+#include "lib/format_text/archiver.h"
+#include "lib/activate/activate.h"
+#include "lib/metadata/lv_alloc.h"
+#include "lib/misc/lvm-string.h"
+#include "lib/datastruct/str_list.h"
+#include "lib/locking/locking.h"
+
+#include "lib/config/defaults.h"
 
 /* These are necessary for _write_log_header() */
-#include "xlate.h"
+#include "lib/mm/xlate.h"
 #define MIRROR_MAGIC 0x4D695272
 #define MIRROR_DISK_VERSION 2
 
lib/metadata/pool_manip.c +10 -10
index b832db7..20224d1 100644
@@ -16,16 +16,16 @@
  * This file holds common pool functions.
  */
 
-#include "lib.h"
-#include "activate.h"
-#include "locking.h"
-#include "metadata.h"
-#include "segtype.h"
-#include "lv_alloc.h"
-#include "defaults.h"
-#include "dev-type.h"
-#include "display.h"
-#include "toolcontext.h"
+#include "lib/misc/lib.h"
+#include "lib/activate/activate.h"
+#include "lib/locking/locking.h"
+#include "lib/metadata/metadata.h"
+#include "lib/metadata/segtype.h"
+#include "lib/metadata/lv_alloc.h"
+#include "lib/config/defaults.h"
+#include "lib/device/dev-type.h"
+#include "lib/display/display.h"
+#include "lib/commands/toolcontext.h"
 #include <stddef.h>
 
 int attach_pool_metadata_lv(struct lv_segment *pool_seg,
lib/metadata/pv.c +3 -3
index 9bf6075..7b6f778 100644
@@ -13,9 +13,9 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "metadata.h"
-#include "lvmcache.h"
+#include "lib/misc/lib.h"
+#include "lib/metadata/metadata.h"
+#include "lib/cache/lvmcache.h"
 
 /*
  * FIXME: Check for valid handle before dereferencing field or log error?
lib/metadata/pv.h +2 -2
index e452ece..23d2bd7 100644
@@ -15,8 +15,8 @@
 #ifndef _LVM_PV_H
 #define _LVM_PV_H
 
-#include "uuid.h"
-#include "libdevmapper.h"
+#include "lib/uuid/uuid.h"
+#include "libdm/libdevmapper.h"
 
 struct device;
 struct format_type;
lib/metadata/pv_manip.c +8 -8
index e75be76..eaaa5e6 100644
@@ -13,14 +13,14 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "metadata.h"
-#include "pv_alloc.h"
-#include "toolcontext.h"
-#include "locking.h"
-#include "defaults.h"
-#include "display.h"
-#include "archiver.h"
+#include "lib/misc/lib.h"
+#include "lib/metadata/metadata.h"
+#include "lib/metadata/pv_alloc.h"
+#include "lib/commands/toolcontext.h"
+#include "lib/locking/locking.h"
+#include "lib/config/defaults.h"
+#include "lib/display/display.h"
+#include "lib/format_text/archiver.h"
 
 static struct pv_segment *_alloc_pv_segment(struct dm_pool *mem,
 					    struct physical_volume *pv,
lib/metadata/pv_map.c +1 -1
index 3707643..3ddb5c8 100644
@@ -13,7 +13,7 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
+#include "lib/misc/lib.h"
 #include "pv_map.h"
 
 #include <assert.h>
lib/metadata/pv_map.h +1 -1
index 4f8d0aa..6ffe36d 100644
@@ -16,7 +16,7 @@
 #ifndef _LVM_PV_MAP_H
 #define _LVM_PV_MAP_H
 
-#include "metadata.h"
+#include "lib/metadata/metadata.h"
 
 /*
  * The in core rep. only stores a mapping from
lib/metadata/raid_manip.c +9 -9
index 703f285..cef0427 100644
@@ -12,15 +12,15 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "archiver.h"
-#include "metadata.h"
-#include "toolcontext.h"
-#include "segtype.h"
-#include "display.h"
-#include "activate.h"
-#include "lv_alloc.h"
-#include "lvm-string.h"
+#include "lib/misc/lib.h"
+#include "lib/format_text/archiver.h"
+#include "lib/metadata/metadata.h"
+#include "lib/commands/toolcontext.h"
+#include "lib/metadata/segtype.h"
+#include "lib/display/display.h"
+#include "lib/activate/activate.h"
+#include "lib/metadata/lv_alloc.h"
+#include "lib/misc/lvm-string.h"
 
 typedef int (*fn_on_lv_t)(struct logical_volume *lv, void *data);
 static int _eliminate_extracted_lvs_optional_write_vg(struct volume_group *vg,
lib/metadata/segtype.c +3 -3
index d0508ca..2fdbaa3 100644
@@ -13,9 +13,9 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "toolcontext.h"
-#include "segtype.h"
+#include "lib/misc/lib.h"
+#include "lib/commands/toolcontext.h"
+#include "lib/metadata/segtype.h"
 
 struct segment_type *get_segtype_from_string(struct cmd_context *cmd,
 					     const char *str)
lib/metadata/segtype.h +1 -1
index 40b41ec..fe19b34 100644
@@ -16,7 +16,7 @@
 #ifndef _SEGTYPES_H
 #define _SEGTYPES_H
 
-#include "metadata-exported.h"
+#include "lib/metadata/metadata-exported.h"
 
 struct segtype_handler;
 struct cmd_context;
lib/metadata/snapshot_manip.c +7 -7
index 76d78f3..e3669ef 100644
@@ -13,13 +13,13 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "metadata.h"
-#include "segtype.h"
-#include "locking.h"
-#include "toolcontext.h"
-#include "lv_alloc.h"
-#include "activate.h"
+#include "lib/misc/lib.h"
+#include "lib/metadata/metadata.h"
+#include "lib/metadata/segtype.h"
+#include "lib/locking/locking.h"
+#include "lib/commands/toolcontext.h"
+#include "lib/metadata/lv_alloc.h"
+#include "lib/activate/activate.h"
 
 #define SNAPSHOT_MIN_CHUNKS	3       /* Minimum number of chunks in snapshot */
 
lib/metadata/thin_manip.c +8 -8
index 3dfbcc1..c5d2ffd 100644
@@ -12,14 +12,14 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "activate.h"
-#include "locking.h"
-#include "memlock.h"
-#include "metadata.h"
-#include "segtype.h"
-#include "defaults.h"
-#include "display.h"
+#include "lib/misc/lib.h"
+#include "lib/activate/activate.h"
+#include "lib/locking/locking.h"
+#include "lib/mm/memlock.h"
+#include "lib/metadata/metadata.h"
+#include "lib/metadata/segtype.h"
+#include "lib/config/defaults.h"
+#include "lib/display/display.h"
 
 /* TODO: drop unused no_update */
 int attach_pool_message(struct lv_segment *pool_seg, dm_thin_message_t type,
lib/metadata/vg.c +8 -8
index b8b1501..71f6e14 100644
@@ -13,14 +13,14 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "metadata.h"
-#include "display.h"
-#include "activate.h"
-#include "toolcontext.h"
-#include "lvmcache.h"
-#include "archiver.h"
-#include "lvmetad.h"
+#include "lib/misc/lib.h"
+#include "lib/metadata/metadata.h"
+#include "lib/display/display.h"
+#include "lib/activate/activate.h"
+#include "lib/commands/toolcontext.h"
+#include "lib/cache/lvmcache.h"
+#include "lib/format_text/archiver.h"
+#include "lib/cache/lvmetad.h"
 
 struct volume_group *alloc_vg(const char *pool_name, struct cmd_context *cmd,
 			      const char *vg_name)
lib/metadata/vg.h +2 -2
index 7ecfafe..b37c01d 100644
@@ -15,8 +15,8 @@
 #ifndef _LVM_VG_H
 #define _LVM_VG_H
 
-#include "uuid.h"
-#include "libdevmapper.h"
+#include "lib/uuid/uuid.h"
+#include "libdm/libdevmapper.h"
 
 struct cmd_context;
 struct format_instance;
lib/mirror/mirrored.c +12 -12
index 7c5c0a6..6746b1a 100644
@@ -13,18 +13,18 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "toolcontext.h"
-#include "metadata.h"
-#include "segtype.h"
-#include "display.h"
-#include "text_export.h"
-#include "text_import.h"
-#include "config.h"
-#include "lvm-string.h"
-#include "targets.h"
-#include "activate.h"
-#include "str_list.h"
+#include "lib/misc/lib.h"
+#include "lib/commands/toolcontext.h"
+#include "lib/metadata/metadata.h"
+#include "lib/metadata/segtype.h"
+#include "lib/display/display.h"
+#include "lib/format_text/text_export.h"
+#include "lib/format_text/text_import.h"
+#include "lib/config/config.h"
+#include "lib/misc/lvm-string.h"
+#include "lib/activate/targets.h"
+#include "lib/activate/activate.h"
+#include "lib/datastruct/str_list.h"
 
 #include <sys/utsname.h>
 
lib/misc/crc.c +3 -3
index aacd82d..8dc107f 100644
@@ -13,10 +13,10 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
+#include "lib/misc/lib.h"
 
-#include "crc.h"
-#include "xlate.h"
+#include "lib/misc/crc.h"
+#include "lib/mm/xlate.h"
 
 /* Calculate an endian-independent CRC of supplied buffer */
 #ifndef DEBUG_CRC32
lib/misc/crc_gen.c +1 -1
index 1ed0186..56f2d25 100644
@@ -15,7 +15,7 @@
 /*
  * Helper program to generate table included in crc.c.
  */
-#include "lib.h"
+#include "lib/misc/lib.h"
 
 int main(int argc, char **argv)
 {
lib/misc/lib.h +8 -8
index d7fa5c7..13c7110 100644
@@ -78,17 +78,17 @@
 #endif
 
 
-#include "intl.h"
-#include "libdevmapper.h"
-#include "util.h"
+#include "lib/misc/intl.h"
+#include "libdm/libdevmapper.h"
+#include "lib/misc/util.h"
 
 #ifdef DM
-#  include "dm-logging.h"
+#  include "libdm/misc/dm-logging.h"
 #else
-#  include "lvm-logging.h"
-#  include "lvm-globals.h"
-#  include "lvm-wrappers.h"
-#  include "lvm-maths.h"
+#  include "lib/log/lvm-logging.h"
+#  include "lib/misc/lvm-globals.h"
+#  include "lib/misc/lvm-wrappers.h"
+#  include "lib/misc/lvm-maths.h"
 #endif
 
 #include <unistd.h>
lib/misc/lvm-exec.c +5 -5
index 190d426..aea2abb 100644
@@ -13,11 +13,11 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "device.h"
-#include "locking.h"
-#include "lvm-exec.h"
-#include "toolcontext.h"
+#include "lib/misc/lib.h"
+#include "lib/device/device.h"
+#include "lib/locking/locking.h"
+#include "lib/misc/lvm-exec.h"
+#include "lib/commands/toolcontext.h"
 
 #include <unistd.h>
 #include <sys/wait.h>
lib/misc/lvm-exec.h +1 -1
index 43c5a42..8db9a35 100644
@@ -16,7 +16,7 @@
 #ifndef _LVM_EXEC_H
 #define _LVM_EXEC_H
 
-#include "lib.h"
+#include "lib/misc/lib.h"
 
 struct cmd_context;
 
lib/misc/lvm-file.c +2 -2
index 36caaa7..5c23b0a 100644
@@ -13,8 +13,8 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "lvm-file.h"
+#include "lib/misc/lib.h"
+#include "lib/misc/lvm-file.h"
 
 #include <unistd.h>
 #include <sys/stat.h>
lib/misc/lvm-flock.c +5 -5
index 4196313..00d74de 100644
@@ -13,11 +13,11 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "config.h"
-#include "lvm-flock.h"
-#include "lvm-signal.h"
-#include "locking.h"
+#include "lib/misc/lib.h"
+#include "lib/config/config.h"
+#include "lib/misc/lvm-flock.h"
+#include "lib/misc/lvm-signal.h"
+#include "lib/locking/locking.h"
 
 #include <sys/file.h>
 #include <fcntl.h>
lib/misc/lvm-globals.c +5 -5
index 9941489..b76ddb9 100644
@@ -13,11 +13,11 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "device.h"
-#include "lvm-string.h"
-#include "defaults.h"
-#include "metadata-exported.h"
+#include "lib/misc/lib.h"
+#include "lib/device/device.h"
+#include "lib/misc/lvm-string.h"
+#include "lib/config/defaults.h"
+#include "lib/metadata/metadata-exported.h"
 
 #include <stdarg.h>
 
lib/misc/lvm-maths.c +1 -1
index df3aa0a..ede073b 100644
@@ -12,7 +12,7 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
+#include "lib/misc/lib.h"
 
 /* Greatest common divisor */
 unsigned long gcd(unsigned long n1, unsigned long n2)
lib/misc/lvm-percent.c +2 -2
index 30238f3..f76ae81 100644
@@ -12,8 +12,8 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "lvm-percent.h"
+#include "lib/misc/lib.h"
+#include "lib/misc/lvm-percent.h"
 
 uint32_t percent_of_extents(uint32_t percents, uint32_t count, int roundup)
 {
lib/misc/lvm-signal.c +3 -3
index 8a4ead4..b90a2db 100644
@@ -13,9 +13,9 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "lvm-signal.h"
-#include "memlock.h"
+#include "lib/misc/lib.h"
+#include "lib/misc/lvm-signal.h"
+#include "lib/mm/memlock.h"
 
 #include <signal.h>
 
lib/misc/lvm-string.c +4 -4
index a2098fd..1e9af66 100644
@@ -13,10 +13,10 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "lvm-string.h"
-#include "metadata-exported.h"
-#include "display.h"
+#include "lib/misc/lib.h"
+#include "lib/misc/lvm-string.h"
+#include "lib/metadata/metadata-exported.h"
+#include "lib/display/display.h"
 
 #include <ctype.h>
 #include <stdarg.h>
lib/misc/lvm-wrappers.c +1 -1
index e2b14aa..c36e2cf 100644
@@ -12,7 +12,7 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
+#include "lib/misc/lib.h"
 
 #include <unistd.h>
 #include <fcntl.h>
lib/misc/sharedlib.c +4 -4
index 2532f79..d594470 100644
@@ -13,10 +13,10 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "config.h"
-#include "sharedlib.h"
-#include "toolcontext.h"
+#include "lib/misc/lib.h"
+#include "lib/config/config.h"
+#include "lib/misc/sharedlib.h"
+#include "lib/commands/toolcontext.h"
 
 #include <limits.h>
 #include <sys/stat.h>
lib/misc/sharedlib.h +1 -1
index 825482d..5ff2dcb 100644
@@ -16,7 +16,7 @@
 #ifndef _LVM_SHAREDLIB_H
 #define _LVM_SHAREDLIB_H
 
-#include "config.h"
+#include "lib/config/config.h"
 #include <dlfcn.h>
 
 void get_shared_library_path(struct cmd_context *cmd, const char *libname,
lib/mm/memlock.c +5 -5
index b15058e..571caab 100644
@@ -13,11 +13,11 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "memlock.h"
-#include "defaults.h"
-#include "config.h"
-#include "toolcontext.h"
+#include "lib/misc/lib.h"
+#include "lib/mm/memlock.h"
+#include "lib/config/defaults.h"
+#include "lib/config/config.h"
+#include "lib/commands/toolcontext.h"
 
 #include <limits.h>
 #include <fcntl.h>
lib/notify/lvmnotify.c +3 -3
index 1daee1e..e24b0ac 100644
@@ -8,9 +8,9 @@
  * of the GNU Lesser General Public License v.2.1.
  */
 
-#include "lib.h"
-#include "toolcontext.h"
-#include "lvmnotify.h"
+#include "lib/misc/lib.h"
+#include "lib/commands/toolcontext.h"
+#include "lib/notify/lvmnotify.h"
 
 #define LVM_DBUS_DESTINATION "com.redhat.lvmdbus1"
 #define LVM_DBUS_PATH        "/com/redhat/lvmdbus1/Manager"
lib/properties/prop_common.c +2 -2
index 3fd9697..f8b63d6 100644
@@ -12,8 +12,8 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "prop_common.h"
+#include "lib/misc/lib.h"
+#include "lib/properties/prop_common.h"
 
 int prop_not_implemented_get(const void *obj, struct lvm_property_type *prop)
 {
lib/raid/raid.c +11 -11
index e926ae1..2efaf19 100644
@@ -12,17 +12,17 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "segtype.h"
-#include "display.h"
-#include "text_export.h"
-#include "config.h"
-#include "str_list.h"
-#include "targets.h"
-#include "lvm-string.h"
-#include "activate.h"
-#include "metadata.h"
-#include "lv_alloc.h"
+#include "lib/misc/lib.h"
+#include "lib/metadata/segtype.h"
+#include "lib/display/display.h"
+#include "lib/format_text/text_export.h"
+#include "lib/config/config.h"
+#include "lib/datastruct/str_list.h"
+#include "lib/activate/targets.h"
+#include "lib/misc/lvm-string.h"
+#include "lib/activate/activate.h"
+#include "lib/metadata/metadata.h"
+#include "lib/metadata/lv_alloc.h"
 
 static int _raid_target_present(struct cmd_context *cmd,
 				const struct lv_segment *seg __attribute__((unused)),
lib/report/properties.c +4 -4
index 8e86b7a..d944750 100644
@@ -12,10 +12,10 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "properties.h"
-#include "activate.h"
-#include "metadata.h"
+#include "lib/misc/lib.h"
+#include "lib/report/properties.h"
+#include "lib/activate/activate.h"
+#include "lib/metadata/metadata.h"
 
 
 #define GET_VG_NUM_PROPERTY_FN(NAME, VALUE) \
lib/report/properties.h +4 -4
index 6b9ab40..f52705e 100644
@@ -14,10 +14,10 @@
 #ifndef _LVM_PROPERTIES_H
 #define _LVM_PROPERTIES_H
 
-#include "libdevmapper.h"
-#include "metadata.h"
-#include "report.h"
-#include "prop_common.h"
+#include "libdm/libdevmapper.h"
+#include "lib/metadata/metadata.h"
+#include "lib/report/report.h"
+#include "lib/properties/prop_common.h"
 
 int lvseg_get_property(const struct lv_segment *lvseg,
 		       struct lvm_property_type *prop);
lib/report/report.c +11 -11
index 01ab627..ad54ea7 100644
@@ -13,17 +13,17 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "metadata.h"
-#include "report.h"
-#include "toolcontext.h"
-#include "lvm-string.h"
-#include "display.h"
-#include "activate.h"
-#include "segtype.h"
-#include "lvmcache.h"
-#include "device-types.h"
-#include "str_list.h"
+#include "lib/misc/lib.h"
+#include "lib/metadata/metadata.h"
+#include "lib/report/report.h"
+#include "lib/commands/toolcontext.h"
+#include "lib/misc/lvm-string.h"
+#include "lib/display/display.h"
+#include "lib/activate/activate.h"
+#include "lib/metadata/segtype.h"
+#include "lib/cache/lvmcache.h"
+#include "lib/device/device-types.h"
+#include "lib/datastruct/str_list.h"
 
 #include <stddef.h> /* offsetof() */
 #include <float.h> /* DBL_MAX */
lib/report/report.h +3 -3
index c787f56..380538a 100644
@@ -16,9 +16,9 @@
 #ifndef _LVM_REPORT_H
 #define _LVM_REPORT_H
 
-#include "metadata-exported.h"
-#include "label.h"
-#include "activate.h"
+#include "lib/metadata/metadata-exported.h"
+#include "lib/label/label.h"
+#include "lib/activate/activate.h"
 
 typedef enum {
 	CMDLOG		= 1,
lib/snapshot/snapshot.c +7 -7
index 5fd39e9..4d9cd7e 100644
@@ -13,13 +13,13 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "metadata.h"
-#include "segtype.h"
-#include "text_export.h"
-#include "config.h"
-#include "activate.h"
-#include "str_list.h"
+#include "lib/misc/lib.h"
+#include "lib/metadata/metadata.h"
+#include "lib/metadata/segtype.h"
+#include "lib/format_text/text_export.h"
+#include "lib/config/config.h"
+#include "lib/activate/activate.h"
+#include "lib/datastruct/str_list.h"
 
 #define SEG_LOG_ERROR(t, p...) \
 	log_error(t " segment %s of logical volume %s.", ## p, \
lib/striped/striped.c +13 -13
index bca4c2c..9c8408c 100644
@@ -13,19 +13,19 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "toolcontext.h"
-#include "segtype.h"
-#include "display.h"
-#include "text_export.h"
-#include "text_import.h"
-#include "config.h"
-#include "str_list.h"
-#include "targets.h"
-#include "lvm-string.h"
-#include "activate.h"
-#include "pv_alloc.h"
-#include "metadata.h"
+#include "lib/misc/lib.h"
+#include "lib/commands/toolcontext.h"
+#include "lib/metadata/segtype.h"
+#include "lib/display/display.h"
+#include "lib/format_text/text_export.h"
+#include "lib/format_text/text_import.h"
+#include "lib/config/config.h"
+#include "lib/datastruct/str_list.h"
+#include "lib/activate/targets.h"
+#include "lib/misc/lvm-string.h"
+#include "lib/activate/activate.h"
+#include "lib/metadata/pv_alloc.h"
+#include "lib/metadata/metadata.h"
 
 static const char *_striped_name(const struct lv_segment *seg)
 {
lib/thin/thin.c +8 -8
index b6eb3aa..3c62008 100644
@@ -12,14 +12,14 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "display.h"
-#include "metadata.h"
-#include "segtype.h"
-#include "text_export.h"
-#include "config.h"
-#include "activate.h"
-#include "str_list.h"
+#include "lib/misc/lib.h"
+#include "lib/display/display.h"
+#include "lib/metadata/metadata.h"
+#include "lib/metadata/segtype.h"
+#include "lib/format_text/text_export.h"
+#include "lib/config/config.h"
+#include "lib/activate/activate.h"
+#include "lib/datastruct/str_list.h"
 
 /* Dm kernel module name for thin provisiong */
 static const char _thin_pool_module[] = "thin-pool";
lib/unknown/unknown.c +5 -5
index 7728545..7c2a54c 100644
@@ -12,11 +12,11 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "toolcontext.h"
-#include "segtype.h"
-#include "text_export.h"
-#include "config.h"
+#include "lib/misc/lib.h"
+#include "lib/commands/toolcontext.h"
+#include "lib/metadata/segtype.h"
+#include "lib/format_text/text_export.h"
+#include "lib/config/config.h"
 
 static int _unknown_text_import(struct lv_segment *seg, const struct dm_config_node *sn,
 				struct dm_hash_table *pv_hash)
lib/uuid/uuid.c +3 -3
index 1833f2c..be4cbc3 100644
@@ -13,9 +13,9 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "uuid.h"
-#include "lvm-wrappers.h"
+#include "lib/misc/lib.h"
+#include "lib/uuid/uuid.h"
+#include "lib/misc/lvm-wrappers.h"
 
 #include <assert.h>
 #include <sys/stat.h>
lib/zero/zero.c +4 -4
index fc021cd..f1e4831 100644
@@ -12,10 +12,10 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
-#include "segtype.h"
-#include "str_list.h"
-#include "activate.h"
+#include "lib/misc/lib.h"
+#include "lib/metadata/segtype.h"
+#include "lib/datastruct/str_list.h"
+#include "lib/activate/activate.h"
 
 static int _zero_merge_segments(struct lv_segment *seg1, struct lv_segment *seg2)
 {
libdaemon/client/config-util.c +3 -3
index 32f36f6..12baa99 100644
@@ -14,10 +14,10 @@
 
 #define _REENTRANT
 
-#include "tool.h"
+#include "tools/tool.h"
 
-#include "daemon-io.h"
-#include "dm-logging.h"
+#include "libdaemon/client/daemon-io.h"
+#include "libdm/misc/dm-logging.h"
 
 #include <math.h>  /* fabs() */
 #include <float.h> /* DBL_EPSILON */
libdaemon/client/daemon-client.c +4 -4
index 5ce1fc0..b5dfbf1 100644
@@ -14,11 +14,11 @@
 
 #define _REENTRANT
 
-#include "tool.h"
+#include "tools/tool.h"
 
-#include "daemon-io.h"
-#include "daemon-client.h"
-#include "dm-logging.h"
+#include "libdaemon/client/daemon-io.h"
+#include "libdaemon/client/daemon-client.h"
+#include "libdm/misc/dm-logging.h"
 
 #include <sys/un.h>
 #include <sys/socket.h>
libdaemon/client/daemon-client.h +1 -1
index 5235bea..e1671a7 100644
@@ -15,7 +15,7 @@
 #ifndef _LVM_DAEMON_CLIENT_H
 #define _LVM_DAEMON_CLIENT_H
 
-#include "config-util.h"
+#include "libdaemon/client/config-util.h"
 
 typedef struct {
 	int socket_fd; /* the fd we use to talk to the daemon */
libdaemon/client/daemon-io.c +2 -2
index 5419d40..bd24cdb 100644
@@ -14,9 +14,9 @@
 
 #define _REENTRANT
 
-#include "tool.h"
+#include "tools/tool.h"
 
-#include "daemon-io.h"
+#include "libdaemon/client/daemon-io.h"
 
 #include <errno.h>
 
libdaemon/client/daemon-io.h +1 -1
index 013b0c8..761d468 100644
@@ -15,7 +15,7 @@
 #ifndef _LVM_DAEMON_IO_H
 #define _LVM_DAEMON_IO_H
 
-#include "config-util.h"
+#include "libdaemon/client/config-util.h"
 
 /* TODO function names */
 
libdaemon/server/daemon-log.c +1 -1
index 3be5573..8c2a208 100644
@@ -12,7 +12,7 @@
 
 #define _REENTRANT
 
-#include "tool.h"
+#include "tools/tool.h"
 
 #include "daemon-server.h"
 #include "daemon-log.h"
libdaemon/server/daemon-server.c +2 -2
index 3b19883..4acb00e 100644
@@ -12,9 +12,9 @@
 
 #define _REENTRANT
 
-#include "tool.h"
+#include "tools/tool.h"
 
-#include "daemon-io.h"
+#include "libdaemon/client/daemon-io.h"
 #include "daemon-server.h"
 #include "daemon-log.h"
 
libdaemon/server/daemon-server.h +1 -1
index 2b9ceac..f8c0ca6 100644
@@ -15,7 +15,7 @@
 #ifndef _LVM_DAEMON_SERVER_H
 #define _LVM_DAEMON_SERVER_H
 
-#include "daemon-client.h"
+#include "libdaemon/client/daemon-client.h"
 
 typedef struct {
 	int socket_fd; /* the fd we use to talk to the client */
libdm/datastruct/bitset.c +1 -1
index b0826e1..06bd31a 100644
@@ -13,7 +13,7 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "dmlib.h"
+#include "libdm/misc/dmlib.h"
 
 #include <ctype.h>
 
libdm/datastruct/hash.c +1 -1
index fb153ce..4c94003 100644
@@ -13,7 +13,7 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "dmlib.h"
+#include "libdm/misc/dmlib.h"
 
 struct dm_hash_node {
 	struct dm_hash_node *next;
libdm/datastruct/list.c +1 -1
index bdd3b19..d80cb9a 100644
@@ -13,7 +13,7 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "lib.h"
+#include "lib/misc/lib.h"
 #include <assert.h>
 
 /*
libdm/ioctl/libdm-iface.c +3 -3
index 769b69c..e775da7 100644
@@ -13,7 +13,7 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "dmlib.h"
+#include "libdm/misc/dmlib.h"
 #include "libdm-targets.h"
 #include "libdm-common.h"
 
@@ -25,7 +25,7 @@
 #include <limits.h>
 
 #ifdef __linux__
-#  include "kdev_t.h"
+#  include "libdm/misc/kdev_t.h"
 #  include <linux/limits.h>
 #else
 #  define MAJOR(x) major((x))
@@ -33,7 +33,7 @@
 #  define MKDEV(x,y) makedev((x),(y))
 #endif
 
-#include "dm-ioctl.h"
+#include "libdm/misc/dm-ioctl.h"
 
 /*
  * Ensure build compatibility.  
libdm/libdm-common.c +3 -3
index 094e618..7c740d8 100644
@@ -13,11 +13,11 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "dmlib.h"
+#include "libdm/misc/dmlib.h"
 #include "libdm-targets.h"
 #include "libdm-common.h"
-#include "kdev_t.h"
-#include "dm-ioctl.h"
+#include "libdm/misc/kdev_t.h"
+#include "libdm/misc/dm-ioctl.h"
 
 #include <stdarg.h>
 #include <sys/param.h>
libdm/libdm-common.h +1 -1
index 010d876..30adac0 100644
@@ -16,7 +16,7 @@
 #ifndef LIB_DMCOMMON_H
 #define LIB_DMCOMMON_H
 
-#include "libdevmapper.h"
+#include "libdm/libdevmapper.h"
 
 #define DM_DEFAULT_NAME_MANGLING_MODE_ENV_VAR_NAME "DM_DEFAULT_NAME_MANGLING_MODE"
 
libdm/libdm-config.c +1 -1
index 3f0d251..3666fc9 100644
@@ -13,7 +13,7 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "dmlib.h"
+#include "libdm/misc/dmlib.h"
 
 #include <sys/stat.h>
 #include <sys/mman.h>
libdm/libdm-deptree.c +3 -3
index ab05456..3e602e2 100644
@@ -12,11 +12,11 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "dmlib.h"
+#include "libdm/misc/dmlib.h"
 #include "libdm-targets.h"
 #include "libdm-common.h"
-#include "kdev_t.h"
-#include "dm-ioctl.h"
+#include "libdm/misc/kdev_t.h"
+#include "libdm/misc/dm-ioctl.h"
 
 #include <stdarg.h>
 #include <sys/param.h>
libdm/libdm-file.c +1 -1
index e7416f1..fc93dda 100644
@@ -13,7 +13,7 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "dmlib.h"
+#include "libdm/misc/dmlib.h"
 
 #include <sys/file.h>
 #include <fcntl.h>
libdm/libdm-report.c +1 -1
index 6d140af..01255b4 100644
@@ -13,7 +13,7 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "dmlib.h"
+#include "libdm/misc/dmlib.h"
 
 #include <ctype.h>
 #include <math.h>  /* fabs() */
libdm/libdm-stats.c +2 -2
index 94ad380..e9bfa9d 100644
@@ -15,8 +15,8 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "dmlib.h"
-#include "kdev_t.h"
+#include "libdm/misc/dmlib.h"
+#include "libdm/misc/kdev_t.h"
 
 #include "math.h" /* log10() */
 
libdm/libdm-string.c +1 -1
index cf9690c..1542229 100644
@@ -12,7 +12,7 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "dmlib.h"
+#include "libdm/misc/dmlib.h"
 
 #include <ctype.h>
 #include <stdarg.h>
libdm/libdm-targets.c +1 -1
index 8766789..f2bac51 100644
@@ -12,7 +12,7 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "dmlib.h"
+#include "libdm/misc/dmlib.h"
 #include "libdm-common.h"
 
 int dm_get_status_snapshot(struct dm_pool *mem, const char *params,
libdm/libdm-timestamp.c +1 -1
index 6164885..04b1006 100644
@@ -18,7 +18,7 @@
  * the results of these routines should stay in-core.  
  */
 
-#include "dmlib.h"
+#include "libdm/misc/dmlib.h"
 
 #include <stdlib.h>
 
libdm/misc/dm-log-userspace.h +1 -1
index a770ae6..b243194 100644
@@ -9,7 +9,7 @@
 
 #include <inttypes.h>
 
-#include "dm-ioctl.h" /* For DM_UUID_LEN */
+#include "libdm/misc/dm-ioctl.h"
 
 /*
  * The device-mapper userspace log module consists of a kernel component and
libdm/misc/dm-logging.h +2 -2
index 083664d..5bf16a7 100644
@@ -16,7 +16,7 @@
 #ifndef _DM_LOGGING_H
 #define _DM_LOGGING_H
 
-#include "libdevmapper.h"
+#include "libdm/libdevmapper.h"
 
 extern dm_log_with_errno_fn dm_log_with_errno;
 
@@ -29,6 +29,6 @@ extern dm_log_with_errno_fn dm_log_with_errno;
 /* Debug messages may have a type instead of an errno */
 #define LOG_LINE_WITH_CLASS(l, c, x...) LOG_MESG(l, __FILE__, __LINE__, c, ## x)
 
-#include "log.h"
+#include "lib/log/log.h"
 
 #endif
libdm/misc/dmlib.h +1 -1
index 7d73657..bc14ece 100644
@@ -21,6 +21,6 @@
 
 #define DM
 
-#include "lib.h"
+#include "lib/misc/lib.h"
 
 #endif
libdm/mm/dbg_malloc.c +1 -1
index 280213b..d8799d7 100644
@@ -13,7 +13,7 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "dmlib.h"
+#include "libdm/misc/dmlib.h"
 
 #ifdef VALGRIND_POOL
 #include "memcheck.h"
libdm/mm/pool-debug.c +1 -1
index c523238..170c51d 100644
@@ -13,7 +13,7 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "dmlib.h"
+#include "libdm/misc/dmlib.h"
 #include <assert.h>
 
 struct block {
libdm/mm/pool-fast.c +1 -1
index 614e903..7be0788 100644
@@ -17,7 +17,7 @@
 #include "memcheck.h"
[… more lines in the raw message]

Lines of this file are not shown. View the raw message.

libdm/mm/pool.c +1 -1
index 1321cc7..a8fe732 100644

Lines of this file are not shown. View the raw message.

libdm/regex/matcher.c +1 -1
index a837162..459ed2e 100644

Lines of this file are not shown. View the raw message.

libdm/regex/parse_rx.c +1 -1
index 80e97a4..fb5233f 100644

Lines of this file are not shown. View the raw message.

libdm/regex/ttree.c +1 -1
index 0f54d04..0eb51fe 100644

Lines of this file are not shown. View the raw message.

liblvm/lvm_base.c +5 -5
index fce994c..791c629 100644

Lines of this file are not shown. View the raw message.

liblvm/lvm_lv.c +8 -8
index e5a35c4..48774df 100644

Lines of this file are not shown. View the raw message.

liblvm/lvm_misc.c +3 -3
index 373ccde..2b24de2 100644

Lines of this file are not shown. View the raw message.

liblvm/lvm_misc.h +4 -4
index 0a3fd73..62f91ce 100644

Lines of this file are not shown. View the raw message.

liblvm/lvm_prop.c +2 -2
index d5b1493..1997596 100644

Lines of this file are not shown. View the raw message.

liblvm/lvm_prop.h +1 -1
index 00e7e48..5a30a76 100644

Lines of this file are not shown. View the raw message.

liblvm/lvm_pv.c +8 -8
index 143545b..bd6ee4f 100644

Lines of this file are not shown. View the raw message.

liblvm/lvm_vg.c +10 -10
index 616c78f..e8354e5 100644

Lines of this file are not shown. View the raw message.

make.tmpl.in +3 -5
index d3a80ef..7e3f4a4 100644

Lines of this file are not shown. View the raw message.

python/liblvm.c +2 -2
index 06120e6..ea9697a 100644

Lines of this file are not shown. View the raw message.

scripts/lvm2_activation_generator_systemd_red_hat.c +2 -2
index 0f7f89c..551b29a 100644

Lines of this file are not shown. View the raw message.

test/api/lvtest.c +1 -1
index 081c946..9a5fc22 100644

Lines of this file are not shown. View the raw message.

test/api/pe_start.c +1 -1
index 5e36c45..16b4c0d 100644

Lines of this file are not shown. View the raw message.

test/api/percent.c +1 -1
index d0d1606..afc361c 100644

Lines of this file are not shown. View the raw message.

test/api/test.c +1 -1
index a79afc1..a4d200b 100644

Lines of this file are not shown. View the raw message.

test/api/thin_percent.c +1 -1
index fdb48c3..7f99abf 100644

Lines of this file are not shown. View the raw message.

test/api/vglist.c +1 -1
index f9cd59c..daa21c2 100644

Lines of this file are not shown. View the raw message.

test/api/vgtest.c +1 -1
index da04dda..ffc4ee1 100644

Lines of this file are not shown. View the raw message.

test/unit/bcache_t.c +1 -1
index e1c0e85..fcd121c 100644

Lines of this file are not shown. View the raw message.

test/unit/bcache_utils_t.c +1 -1
index 4f15591..2c3bb0e 100644

Lines of this file are not shown. View the raw message.

test/unit/bitset_t.c +1 -1
index 106f60f..66e0d32 100644

Lines of this file are not shown. View the raw message.

test/unit/config_t.c +1 -1
index 5331f79..e988706 100644

Lines of this file are not shown. View the raw message.

test/unit/dmlist_t.c +1 -1
index 82789ba..5a4951e 100644

Lines of this file are not shown. View the raw message.

test/unit/dmstatus_t.c +1 -1
index ae185ca..43fb0bf 100644

Lines of this file are not shown. View the raw message.

test/unit/framework.h +1 -1
index 5a33ca6..a90a6e2 100644

Lines of this file are not shown. View the raw message.

test/unit/io_engine_t.c +1 -1
index 01f659e..7eded30 100644

Lines of this file are not shown. View the raw message.

test/unit/matcher_t.c +1 -1
index 31109d2..8405a34 100644

Lines of this file are not shown. View the raw message.

test/unit/percent_t.c +1 -1
index 84dd3bd..fc168d4 100644

Lines of this file are not shown. View the raw message.

test/unit/string_t.c +1 -1
index 2af0f37..74886f0 100644

Lines of this file are not shown. View the raw message.

tools/dmsetup.c +3 -3
index 95a15dd..d3080bb 100644

Lines of this file are not shown. View the raw message.

tools/lvchange.c +1 -1
index 0aac5ac..0f53d8a 100644

Lines of this file are not shown. View the raw message.

tools/lvconvert.c +2 -2
index 72f840a..c44f3aa 100644

Lines of this file are not shown. View the raw message.

tools/lvconvert_poll.h +1 -1
index 7fdcb14..dcbc16b 100644

Lines of this file are not shown. View the raw message.

tools/lvm2cmd-static.c +1 -1
index 4fb109c..2b5f300 100644

Lines of this file are not shown. View the raw message.

tools/lvm2cmd.c +1 -1
index 235540c..54090ca 100644

Lines of this file are not shown. View the raw message.

tools/lvmcmdlib.c +3 -3
index 5944576..9f94b5c 100644

Lines of this file are not shown. View the raw message.

tools/lvmcmdline.c +4 -4
index 0dd24ec..be2a31b 100644

Lines of this file are not shown. View the raw message.

tools/lvpoll.c +2 -2
index 8b4580f..a4a698b 100644

Lines of this file are not shown. View the raw message.

tools/polldaemon.c +2 -2
index 5b5f57f..f2578ad 100644

Lines of this file are not shown. View the raw message.

tools/pvmove.c +3 -3
index 754bd58..2f7bf60 100644

Lines of this file are not shown. View the raw message.

tools/pvscan.c +2 -2
index 8493eaa..e31c7f9 100644

Lines of this file are not shown. View the raw message.

tools/reporter.c +1 -1
index 98e3d12..7f5ad56 100644

Lines of this file are not shown. View the raw message.

tools/tool.h +2 -2
index a2c8572..656234c 100644

Lines of this file are not shown. View the raw message.

tools/toollib.c +1 -1
index e633cdd..464dfff 100644

Lines of this file are not shown. View the raw message.

tools/toollib.h +2 -2
index 0c9404c..9102f55 100644

Lines of this file are not shown. View the raw message.

tools/tools.h +22 -22

44 lines not on this page · raw message

tools/vgcfgrestore.c +1 -1
index e9f1a4c..adcd45a 100644

Lines of this file are not shown. View the raw message.

tools/vgimportclone.c +3 -3
index 224d0b5..d1509bf 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Part of the diff is not shown here. View the raw message.