All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] lvcreate: support --force option
@ 2015-10-10 10:39 Lidong Zhong
  2015-10-10 13:17 ` Zdenek Kabelac
  0 siblings, 1 reply; 7+ messages in thread
From: Lidong Zhong @ 2015-10-10 10:39 UTC (permalink / raw)
  To: lvm-devel

The option is supported in the logic of lvcreate but is omitted in
commands.h.

Signed-off-by: Lidong Zhong <lzhong@suse.com>
---
 WHATS_NEW        | 1 +
 tools/commands.h | 4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/WHATS_NEW b/WHATS_NEW
index 9af759e..274af43 100644
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -1,5 +1,6 @@
 Version 2.02.133 - 
 ======================================
+  Make lvcreate support --force option
   Cleanup vgimportclone script and remove dependency on awk, grep, cut and tr.
   Add vg_missing_pv_count report field to report number of missing PVs in a VG.
   Properly identify internal LV holding sanlock locks within lv_role field.
diff --git a/tools/commands.h b/tools/commands.h
index 92d13fd..7695498 100644
--- a/tools/commands.h
+++ b/tools/commands.h
@@ -311,6 +311,7 @@ xx(lvcreate,
    "\t[-C|--contiguous {y|n}]\n"
    "\t[--commandprofile ProfileName]\n"
    "\t[-d|--debug]\n"
+   "\t[-f|--force]\n"
    "\t[-h|-?|--help]\n"
    "\t[--errorwhenfull {y|n}]\n"
    "\t[--ignoremonitoring]\n"
@@ -360,6 +361,7 @@ xx(lvcreate,
    "\t[--commandprofile ProfileName]\n"
    "\t[-d|--debug]\n"
    "\t[--discards {ignore|nopassdown|passdown}]\n"
+   "\t[-f|--force]\n"
    "\t[-h|-?|--help]\n"
    "\t[--ignoremonitoring]\n"
    "\t[--monitor {y|n}]\n"
@@ -386,7 +388,7 @@ xx(lvcreate,
    addtag_ARG, alloc_ARG, autobackup_ARG, activate_ARG, available_ARG,
    cache_ARG, cachemode_ARG, cachepool_ARG, cachepolicy_ARG, cachesettings_ARG,
    chunksize_ARG, contiguous_ARG, corelog_ARG, discards_ARG, errorwhenfull_ARG,
-   extents_ARG, ignoreactivationskip_ARG, ignoremonitoring_ARG, major_ARG,
+   extents_ARG, force_ARG, ignoreactivationskip_ARG, ignoremonitoring_ARG, major_ARG,
    metadataprofile_ARG, minor_ARG, mirrorlog_ARG, mirrors_ARG, monitor_ARG,
    minrecoveryrate_ARG, maxrecoveryrate_ARG, name_ARG, nosync_ARG,
    noudevsync_ARG, permission_ARG, persistent_ARG,
-- 
1.8.1.4



^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-10-27  2:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-10 10:39 [PATCH] lvcreate: support --force option Lidong Zhong
2015-10-10 13:17 ` Zdenek Kabelac
2015-10-12  2:26   ` Lidong Zhong
2015-10-12  9:02     ` Zdenek Kabelac
2015-10-26 10:07       ` Lidong Zhong
2015-10-26 13:42         ` Zdenek Kabelac
2015-10-27  2:29           ` Lidong Zhong

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.