device-mapper-multipath/0109-RH-read-only-bindings.patch
Benjamin Marzinski 5e9760974a device-mapper-multipath-0.4.9-72
Modify 0107-RHBZ-1169935-no-new-devs.patch
  * instead of using "-n" there is now a new configuration option,
    'ignore_new_boot_devs'. If set to 'yes', multipath will ignore
    devices that aren't in /etc/multipath/wwids when running in the
    initramfs. This option does nothing while multipathd is running
    in the real root filesystem.
Update 0109-RH-read-only-bindings.patch
2014-12-18 17:08:30 -06:00

28 lines
717 B
Diff

---
multipathd/main.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
Index: multipath-tools-130222/multipathd/main.c
===================================================================
--- multipath-tools-130222.orig/multipathd/main.c
+++ multipath-tools-130222/multipathd/main.c
@@ -1879,7 +1879,7 @@ main (int argc, char *argv[])
if (!conf)
exit(1);
- while ((arg = getopt(argc, argv, ":dv:k::")) != EOF ) {
+ while ((arg = getopt(argc, argv, ":dv:k::B")) != EOF ) {
switch(arg) {
case 'd':
logsink = 0;
@@ -1895,6 +1895,9 @@ main (int argc, char *argv[])
case 'k':
uxclnt(optarg);
exit(0);
+ case 'B':
+ conf->bindings_read_only = 1;
+ break;
default:
;
}