linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Zdenek Kabelac <zkabelac@redhat.com>
To: "heming.zhao@suse.com" <heming.zhao@suse.com>,
	LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] discuss: about master branch vgcreate parameter "--clustered"
Date: Tue, 29 Dec 2020 20:03:05 +0100	[thread overview]
Message-ID: <ef6aad1d-4041-2e4d-846d-00ca2f60662b@redhat.com> (raw)
In-Reply-To: <5ecbb2ae-0378-1891-80d0-791a525f0ae2@suse.com>

Dne 28. 12. 20 v 9:35 heming.zhao@suse.com napsal(a):
> Hello,
> 
> On master branch, clvmd had been removed, the "-c | --clustered" is deprecated.
> 
> ```
> ~> sudo vgcreate -c n vg1 /dev/sda
> The clustered option is deprecated, see --shared.
> Run `vgcreate --help' for more information.
> ~> echo $?
> 3
> ```
> 
> It looks the -c is useless, it only shows deprecated info and exit.
> Is it possible to remove the -c from lvm code?
> 


Command keeps this option for backward compatibility.
So when the option is no longer supported - it should print the 'old usage'
was replaced with something else.

I don't quite understand why would you want to remove this logic
since we would report 'Invalid argument' anyway?

Zdenek

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/


  reply	other threads:[~2020-12-29 19:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-28  8:35 [linux-lvm] discuss: about master branch vgcreate parameter "--clustered" heming.zhao
2020-12-29 19:03 ` Zdenek Kabelac [this message]
2020-12-30  4:51   ` heming.zhao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ef6aad1d-4041-2e4d-846d-00ca2f60662b@redhat.com \
    --to=zkabelac@redhat.com \
    --cc=heming.zhao@suse.com \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).