mrc0mmand / rpms / lvm2

Forked from rpms/lvm2 3 years ago
Clone

Blame SOURCES/lvm2-set-default-preferred_names.patch

191583
 conf/example.conf.in | 4 ++--
191583
 1 file changed, 2 insertions(+), 2 deletions(-)
191583
191583
diff --git a/conf/example.conf.in b/conf/example.conf.in
191583
index 2032a81..0bd72f1 100644
191583
--- a/conf/example.conf.in
191583
+++ b/conf/example.conf.in
191583
@@ -53,10 +53,10 @@ devices {
191583
     # same block device and the tools need to display a name for device,
191583
     # all the pathnames are matched against each item in the following
191583
     # list of regular expressions in turn and the first match is used.
191583
-    preferred_names = [ ]
191583
+    # preferred_names = [ ]
191583
 
191583
     # Try to avoid using undescriptive /dev/dm-N names, if present.
191583
-    # preferred_names = [ "^/dev/mpath/", "^/dev/mapper/mpath", "^/dev/[hs]d" ]
191583
+    preferred_names = [ "^/dev/mpath/", "^/dev/mapper/mpath", "^/dev/[hs]d" ]
191583
 
191583
     # A filter that tells LVM2 to only use a restricted set of devices.
191583
     # The filter consists of an array of regular expressions.  These