1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/misc
Peter Rajnoha 9a96f930a7 configure: run directory configuration cleanup
There were several hard-coded values for run directory around the code.
Also, some tools are DM specific only, others are LVM specific and there
was no distinction made here before. With this patch applied, we have
this cleaned up a bit (subsystem in brackets, defaults in parentheses):

          [common] configurable PID_DIR     (/var/run)

 lvm      [lvm]    configurable RUN_DIR     (/var/run/lvm)
                   configurable locking dir (/var/lock/lvm)

 clvmd    [lvm]    configurable pid file    (PID_DIR/clvmd.pid)
                   socket                   (RUN_DIR/clvmd.sock)

 lvmetad  [lvm]    configurable pid file    (PID_DIR/lvmetad.pid)
                   socket                   (RUN_DIR/lvmetad.socket)

 dm       [dm]     configurable DM_RUN_DIR  (/var/run)

 cmirrord [dm]     configurable pid file    (PID_DIR/cmirrord.pid)

 dmeventd [dm]     configurable pid file    (PID_DIR/dmeventd.pid)
                   server fifo              (DM_RUN_DIR/dmeventd-server)
                   client fifo              (DM_RUN_DIR/dmeventd-client)

The changes briefly:
  - added configure --with-default-pid-dir
  - added configure --with-default-dm-run-dir
  - added configure --with-lvmetad-pidfile
  - by default, using one common pid directory for everything
    (only lvmetad was not following this before)
2012-06-27 12:11:47 +02:00
..
.gitignore More .gitignore files for an in-source-tree build. 2012-06-08 16:34:43 +01:00
configure.h.in configure: run directory configuration cleanup 2012-06-27 12:11:47 +02:00
crc_gen.c was renamed 2010-09-27 19:10:46 +00:00
crc.c Fix CRC32 calculation on big endian CPU 2011-02-08 12:41:08 +00:00
crc.h Speed up CRC32 calculations by using a larger lookup table. 2010-09-27 19:09:34 +00:00
intl.h Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 2007-08-20 20:55:30 +00:00
last-path-component.h cleaner const char* usage for last_path_component() 2008-11-12 09:53:33 +00:00
lib.h more tweaking to get things to compile - dmlib.h for log fns, list.h 2008-11-03 18:59:59 +00:00
lvm-exec.c Just space moving 2012-03-02 22:58:23 +00:00
lvm-exec.h Add exec_cmd paramater sync_needed 2011-01-13 14:51:32 +00:00
lvm-file.c Add some log_sys_errors to close() call 2012-02-27 11:28:47 +00:00
lvm-file.h Make _init_rand() thread safe - use rand_r() instead of rand(). 2008-12-07 04:27:56 +00:00
lvm-globals.c Ensure strncpy() function always ends with '\0' 2012-02-08 11:05:04 +00:00
lvm-globals.h Avoid warning for small pv_min_size 2012-02-01 13:42:18 +00:00
lvm-percent.c Refactor the percent (mirror sync, snapshot usage) handling code to use 2010-11-30 11:53:31 +00:00
lvm-percent.h Differentiate between snapshot status of "Invalid" and "Merge failed". 2012-01-20 22:02:04 +00:00
lvm-string.c Some fixmes 2012-02-08 12:57:15 +00:00
lvm-string.h Move the core of the lib/config/config.c functionality into libdevmapper, 2011-08-30 14:55:15 +00:00
lvm-version.h.in Add an API version number, LVM_LIBAPI, to the VERSION string. 2009-07-22 20:01:28 +00:00
lvm-wrappers.c Remove unsupported udev_get_dev_path libudev call used for checking udev dir. 2012-05-29 08:09:10 +00:00
lvm-wrappers.h Remove unsupported udev_get_dev_path libudev call used for checking udev dir. 2012-05-29 08:09:10 +00:00
sharedlib.c Ensure strncpy() function always ends with '\0' 2012-02-08 11:05:04 +00:00
sharedlib.h Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 2007-08-20 20:55:30 +00:00
timestamp.c Skip NULL check before dm_free 2011-01-28 10:16:04 +00:00
timestamp.h Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 2007-08-20 20:55:30 +00:00
util.c Fix the fsadm build failure without using -llvm. 2007-10-03 16:10:04 +00:00
util.h Newer gcc doesn't need this trick 2011-04-08 14:11:40 +00:00