linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Albert Pauw <albert.pauw@gmail.com>
To: NeilBrown <neilb@suse.de>, linux-raid@vger.kernel.org
Subject: -Y option patch
Date: Thu, 24 Feb 2011 15:31:16 +0100	[thread overview]
Message-ID: <4D666BB4.20100@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 242 bytes --]

  Hi Neil,

I noticed that the -Y option, as in mdadm -D -Y /dev/md0, doesn't work 
but used as --export it works.

So I made a little patch to fix it, but it is simply sticking a Y in the 
list of short_options in ReadMe.c.

Cheers,

Albert

[-- Attachment #2: Y-option.patch --]
[-- Type: text/plain, Size: 506 bytes --]

--- ReadMe.c	2011-02-24 15:22:48.252985600 +0100
+++ ReadMe.c.me	2011-02-24 15:22:35.110625216 +0100
@@ -86,7 +86,7 @@
  *     At the time if writing, there is only minimal support.
  */
 
-char short_options[]="-ABCDEFGIQhVXWZ:vqbc:i:l:p:m:n:x:u:c:d:z:U:N:sarfRSow1tye:";
+char short_options[]="-ABCDEFGIQhVXYWZ:vqbc:i:l:p:m:n:x:u:c:d:z:U:N:sarfRSow1tye:";
 char short_bitmap_options[]=
                    "-ABCDEFGIQhVXWZ:vqb:c:i:l:p:m:n:x:u:c:d:z:U:N:sarfRSow1tye:";
 char short_bitmap_auto_options[]=

                 reply	other threads:[~2011-02-24 14:31 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=4D666BB4.20100@gmail.com \
    --to=albert.pauw@gmail.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=neilb@suse.de \
    /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).