linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* -Y option patch
@ 2011-02-24 14:31 Albert Pauw
  0 siblings, 0 replies; only message in thread
From: Albert Pauw @ 2011-02-24 14:31 UTC (permalink / raw)
  To: NeilBrown, linux-raid

[-- 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[]=

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-02-24 14:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-24 14:31 -Y option patch Albert Pauw

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).