From dff224669d075625d4d5210c9808b6c22a4830ba Mon Sep 17 00:00:00 2001 From: Mike Snitzer Date: Thu, 12 Aug 2010 04:08:59 +0000 Subject: Require --restorefile when using pvcreate --uuid. Introduce --norestorefile to allow user to override the new requirement. This can also be overridden with "devices/require_restorefile_with_uuid" in lvm.conf -- however the default is 1. Signed-off-by: Mike Snitzer --- doc/example.conf.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc/example.conf.in') diff --git a/doc/example.conf.in b/doc/example.conf.in index 850b7e23..73832d98 100644 --- a/doc/example.conf.in +++ b/doc/example.conf.in @@ -130,6 +130,9 @@ devices { # Set this to 1 to skip such devices. This should only be needed # in recovery situations. ignore_suspended_devices = 0 + + # Allow use of pvcreate --uuid without requiring --restorefile. + require_restorefile_with_uuid = 1 } # This section that allows you to configure the nature of the -- cgit