Skip to contentSkip to conversation

multipath can't be run with -S, so don't try

PATCH Applied Benjamin Marzinski 2 participants 2 messages May 3, 2005 Device mapper

lore
Share & tools
lore

Benjamin Marzinski

author maintainer
#0 lore raw

This is a patch clean up the references to -S in multipath, multipathd, and the conf files.

-Ben

multipath/main.c +1 -1
diff -urN multipath-tools-0.4.5-pre2/multipath/main.c multipath-tools-patched/multipath/main.c
@@ -761,7 +761,7 @@
 usage (char * progname)
 {
 	fprintf (stderr, VERSION_STRING);
-	fprintf (stderr, "Usage: %s\t[-v level] [-d] [-l] [-S]\n",
+	fprintf (stderr, "Usage: %s\t[-v level] [-d] [-l]\n",
 		progname);
 	fprintf (stderr,
 		"\t\t\t[-p failover|multibus|group_by_serial|group_by_prio]\n" \
multipath.conf.annotated +2 -2
diff -urN multipath-tools-0.4.5-pre2/multipath.conf.annotated multipath-tools-patched/multipath.conf.annotated
@@ -7,9 +7,9 @@
 	# name    : multipath_tool
 	# scope   : multipathd
 	# desc    : the tool in charge of configuring the multipath device maps
-	# default : "/sbin/multipath -v 0 -S"
+	# default : "/sbin/multipath -v 0"
 	#
-	multipath_tool	"/sbin/multipath -v 0 -S"
+	multipath_tool	"/sbin/multipath -v 0"
 
 	#
 	# name    : udev_dir
multipath.conf.synthetic +1 -1
diff -urN multipath-tools-0.4.5-pre2/multipath.conf.synthetic multipath-tools-patched/multipath.conf.synthetic
@@ -1,5 +1,5 @@
 defaults {
-	multipath_tool	"/sbin/multipath -v 0 -S"
+	multipath_tool	"/sbin/multipath -v 0"
 	udev_dir	/dev
 	polling_interval 10
 	default_selector	"round-robin 0"
multipathd/main.h +1 -1
diff -urN multipath-tools-0.4.5-pre2/multipathd/main.h multipath-tools-patched/multipathd/main.h
@@ -3,6 +3,6 @@
 
 #define DAEMON 1
 #define CHECKINT 5
-#define MULTIPATH "/sbin/multipath -v0 -S"
+#define MULTIPATH "/sbin/multipath -v0"
 
 #endif
#1 lore raw

Applied, thanks.

It will appear as commit f849af142710ddfab9d29533be30bbf23dcd5a55 in the git korg repository, when updated.

Shall I understand you approve the design evolution ?

Quoted 3 lines · Benjamin Marzinski

This is a patch clean up the references to -S in multipath, multipathd, and the conf files.

Signature · 1 line
christophe varoqui <[email protected]>