ReadMe.c (mdadm-4.1) | : | ReadMe.c (mdadm-4.2) | ||
---|---|---|---|---|
skipping to change at line 31 | skipping to change at line 31 | |||
* | * | |||
* Author: Neil Brown | * Author: Neil Brown | |||
* Email: <neilb@suse.de> | * Email: <neilb@suse.de> | |||
* Maintainer: Jes Sorensen | * Maintainer: Jes Sorensen | |||
* Email: <Jes.Sorensen@gmail.com> | * Email: <Jes.Sorensen@gmail.com> | |||
*/ | */ | |||
#include "mdadm.h" | #include "mdadm.h" | |||
#ifndef VERSION | #ifndef VERSION | |||
#define VERSION "4.1" | #define VERSION "4.2" | |||
#endif | #endif | |||
#ifndef VERS_DATE | #ifndef VERS_DATE | |||
#define VERS_DATE "2018-10-01" | #define VERS_DATE "2021-12-30" | |||
#endif | #endif | |||
char Version[] = "mdadm - v" VERSION " - " VERS_DATE "\n"; | #ifndef EXTRAVERSION | |||
#define EXTRAVERSION "" | ||||
#endif | ||||
char Version[] = "mdadm - v" VERSION " - " VERS_DATE EXTRAVERSION "\n"; | ||||
/* | /* | |||
* File: ReadMe.c | * File: ReadMe.c | |||
* | * | |||
* This file contains general comments about the implementation | * This file contains general comments about the implementation | |||
* and the various usage messages that can be displayed by mdadm | * and the various usage messages that can be displayed by mdadm | |||
* | * | |||
*/ | */ | |||
/* | /* | |||
skipping to change at line 81 | skipping to change at line 84 | |||
* 7/ Grow | * 7/ Grow | |||
* This mode allows for changing of key attributes of a raid array, such | * This mode allows for changing of key attributes of a raid array, such | |||
* as size, number of devices, and possibly even layout. | * as size, number of devices, and possibly even layout. | |||
* 8/ Incremental | * 8/ Incremental | |||
* Is assembles an array incrementally instead of all at once. | * Is assembles an array incrementally instead of all at once. | |||
* As devices are discovered they can be passed to "mdadm --incremental" | * As devices are discovered they can be passed to "mdadm --incremental" | |||
* which will collect them. When enough devices to for an array are | * which will collect them. When enough devices to for an array are | |||
* found, it is started. | * found, it is started. | |||
*/ | */ | |||
char short_options[]="-ABCDEFGIQhVXYWZ:vqbc:i:l:p:m:n:x:u:c:d:z:U:N:sarfRSow1tye :k:"; | char short_options[]="-ABCDEFGIQhVXYWZ:vqbc:i:l:p:m:r:n:x:u:c:d:z:U:N:safRSow1ty e:k"; | |||
char short_bitmap_options[]= | char short_bitmap_options[]= | |||
"-ABCDEFGIQhVXYWZ:vqb:c:i:l:p:m:n:x:u:c:d:z:U:N:sarfRSow1tye:k:"; | "-ABCDEFGIQhVXYWZ:vqb:c:i:l:p:m:r:n:x:u:c:d:z:U:N:sarfRSow1tye:k: "; | |||
char short_bitmap_auto_options[]= | char short_bitmap_auto_options[]= | |||
"-ABCDEFGIQhVXYWZ:vqb:c:i:l:p:m:n:x:u:c:d:z:U:N:sa:rfRSow1tye:k:" ; | "-ABCDEFGIQhVXYWZ:vqb:c:i:l:p:m:r:n:x:u:c:d:z:U:N:sa:rfRSow1tye:k :"; | |||
struct option long_options[] = { | struct option long_options[] = { | |||
{"manage", 0, 0, ManageOpt}, | {"manage", 0, 0, ManageOpt}, | |||
{"misc", 0, 0, MiscOpt}, | {"misc", 0, 0, MiscOpt}, | |||
{"assemble", 0, 0, 'A'}, | {"assemble", 0, 0, 'A'}, | |||
{"build", 0, 0, 'B'}, | {"build", 0, 0, 'B'}, | |||
{"create", 0, 0, 'C'}, | {"create", 0, 0, 'C'}, | |||
{"detail", 0, 0, 'D'}, | {"detail", 0, 0, 'D'}, | |||
{"examine", 0, 0, 'E'}, | {"examine", 0, 0, 'E'}, | |||
{"follow", 0, 0, 'F'}, | {"follow", 0, 0, 'F'}, | |||
skipping to change at line 184 | skipping to change at line 187 | |||
{"readonly", 0, 0, 'o'}, | {"readonly", 0, 0, 'o'}, | |||
{"readwrite", 0, 0, 'w'}, | {"readwrite", 0, 0, 'w'}, | |||
{"no-degraded",0,0, NoDegraded }, | {"no-degraded",0,0, NoDegraded }, | |||
{"wait", 0, 0, WaitOpt}, | {"wait", 0, 0, WaitOpt}, | |||
{"wait-clean", 0, 0, Waitclean }, | {"wait-clean", 0, 0, Waitclean }, | |||
{"action", 1, 0, Action }, | {"action", 1, 0, Action }, | |||
{"cluster-confirm", 0, 0, ClusterConfirm}, | {"cluster-confirm", 0, 0, ClusterConfirm}, | |||
/* For Detail/Examine */ | /* For Detail/Examine */ | |||
{"brief", 0, 0, Brief}, | {"brief", 0, 0, Brief}, | |||
{"no-devices",0, 0, NoDevices}, | ||||
{"export", 0, 0, 'Y'}, | {"export", 0, 0, 'Y'}, | |||
{"sparc2.2", 0, 0, Sparc22}, | {"sparc2.2", 0, 0, Sparc22}, | |||
{"test", 0, 0, 't'}, | {"test", 0, 0, 't'}, | |||
{"prefer", 1, 0, Prefer}, | {"prefer", 1, 0, Prefer}, | |||
/* For Follow/monitor */ | /* For Follow/monitor */ | |||
{"mail", 1, 0, EMail}, | {"mail", 1, 0, EMail}, | |||
{"program", 1, 0, ProgramOpt}, | {"program", 1, 0, ProgramOpt}, | |||
{"alert", 1, 0, ProgramOpt}, | {"alert", 1, 0, ProgramOpt}, | |||
{"increment", 1, 0, Increment}, | {"increment", 1, 0, Increment}, | |||
End of changes. 7 change blocks. | ||||
6 lines changed or deleted | 10 lines changed or added |