5e9760974a
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
28 lines
717 B
Diff
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:
|
|
;
|
|
}
|