summaryrefslogtreecommitdiff
path: root/libmultipath/defaults.h
diff options
context:
space:
mode:
authorBenjamin Marzinski <bmarzins@redhat.com>2010-03-26 17:10:24 -0500
committerChristophe Varoqui <christophe.varoqui@opensvc.com>2010-03-28 12:55:33 +0200
commit8ee04831d2535a5afcf5dd40a27e2645ec0b7ffa (patch)
treed0f7acaa31a61d5005d08efbdfc49a302d94cf09 /libmultipath/defaults.h
parentef4e0c9938c7307da39bfd02a0d646e7b38c95c0 (diff)
downloadmultipath-tools-8ee04831d2535a5afcf5dd40a27e2645ec0b7ffa.tar.gz
multipath-tools-8ee04831d2535a5afcf5dd40a27e2645ec0b7ffa.tar.bz2
multipath-tools-8ee04831d2535a5afcf5dd40a27e2645ec0b7ffa.zip
multipath: move bindings file location
The current bindings file location (/var/lib/multipath/bindings) can be problematic, since multipath can start up before /var/lib is mounted yet in late boot. In this case, multipath will create it's own bindings file which will be covered up by /var when it is mounted. This means that the device names that you get on startup might be different from the device names that you get when you run multipath on a system during normal operation. Since /etc is always available when multipath starts up in late boot, moving the bindings file there fixes the problem. Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
Diffstat (limited to 'libmultipath/defaults.h')
-rw-r--r--libmultipath/defaults.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmultipath/defaults.h b/libmultipath/defaults.h
index 84e5d6b..5a38d25 100644
--- a/libmultipath/defaults.h
+++ b/libmultipath/defaults.h
@@ -19,6 +19,6 @@
#define DEFAULT_PIDFILE "/var/run/multipathd.pid"
#define DEFAULT_SOCKET "/var/run/multipathd.sock"
#define DEFAULT_CONFIGFILE "/etc/multipath.conf"
-#define DEFAULT_BINDINGS_FILE "/var/lib/multipath/bindings"
+#define DEFAULT_BINDINGS_FILE "/etc/multipath/bindings"
char * set_default (char * str);