public inbox for lvm2-cvs@sourceware.org help / color / mirror / Atom feed
From: wysochanski@sourceware.org To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org Subject: LVM2/tools pvchange.c vgextend.c Date: Wed, 07 Jul 2010 21:30:00 -0000 [thread overview] Message-ID: <20100707213009.27381.qmail@sourceware.org> (raw) CVSROOT: /cvs/lvm2 Module name: LVM2 Changes by: wysochanski@sourceware.org 2010-07-07 21:30:08 Modified files: tools : pvchange.c vgextend.c Log message: Shorten prompt for pvchange and vgextend. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/pvchange.c.diff?cvsroot=lvm2&r1=1.81&r2=1.82 http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/vgextend.c.diff?cvsroot=lvm2&r1=1.58&r2=1.59 --- LVM2/tools/pvchange.c 2010/07/07 19:14:58 1.81 +++ LVM2/tools/pvchange.c 2010/07/07 21:30:07 1.82 @@ -124,10 +124,9 @@ } else if (arg_count(cmd, metadataignore_ARG)) { if ((vg_mda_copies(vg) != VGMETADATACOPIES_UNMANAGED) && (arg_count(cmd, force_ARG) == PROMPT) && - yes_no_prompt("Setting metadataignore on %s will override " - "preferred number of copies of VG %s " - "metadata.\nAre you sure? [y/n]: ", - pv_name, pv_vg_name(pv)) == 'n') { + yes_no_prompt("Override preferred number of copies " + "of VG %s metadata? [y/n]: ", + pv_vg_name(pv)) == 'n') { log_error("Physical volume %s not changed", pv_name); goto out; } --- LVM2/tools/vgextend.c 2010/07/07 19:14:58 1.58 +++ LVM2/tools/vgextend.c 2010/07/07 21:30:07 1.59 @@ -62,9 +62,8 @@ if (arg_count(cmd, metadataignore_ARG) && (vg_mda_copies(vg) != VGMETADATACOPIES_UNMANAGED) && (pp.force == PROMPT) && - yes_no_prompt("Setting metadataignore will override " - "preferred number of copies of VG %s " - "metadata.\nAre you sure? [y/n]: ", + yes_no_prompt("Override preferred number of copies " + "of VG %s metadata? [y/n]: ", vg_name) == 'n') { log_error("Volume group %s not changed", vg_name); goto_bad;
reply other threads:[~2010-07-07 21:30 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20100707213009.27381.qmail@sourceware.org \ --to=wysochanski@sourceware.org \ --cc=lvm-devel@redhat.com \ --cc=lvm2-cvs@sourceware.org \ /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: linkBe 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 read-only IMAP folder(s) and NNTP newsgroup(s).