X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=ReadMe.c;h=d3fcb6132fe97f24292aef9c6c1faf3d3339e9c0;hb=d31d0f5218e96a2a3a0c9b4418bb387ec211dd0d;hp=0aa8cbd70be181aae9c36ad67c80bf5386bd381e;hpb=70c55e36b73827579fcb2dadbb6359ef605191ff;p=thirdparty%2Fmdadm.git diff --git a/ReadMe.c b/ReadMe.c index 0aa8cbd7..d3fcb613 100644 --- a/ReadMe.c +++ b/ReadMe.c @@ -1,7 +1,7 @@ /* * mdadm - manage Linux "md" devices aka RAID arrays. * - * Copyright (C) 2001-2012 Neil Brown + * Copyright (C) 2001-2016 Neil Brown * * * This program is free software; you can redistribute it and/or modify @@ -24,7 +24,13 @@ #include "mdadm.h" -char Version[] = Name " - v3.2.5 - 18th May 2012\n"; +#ifndef VERSION +#define VERSION "3.4" +#endif +#ifndef VERS_DATE +#define VERS_DATE "28th January 2016" +#endif +char Version[] = "mdadm - v" VERSION " - " VERS_DATE "\n"; /* * File: ReadMe.c @@ -95,6 +101,10 @@ struct option long_options[] = { {"update-subarray", 1, 0, UpdateSubarray}, {"udev-rules", 2, 0, UdevRules}, {"offroot", 0, 0, OffRootOpt}, + {"examine-badblocks", 0, 0, ExamineBB}, + + {"dump", 1, 0, Dump}, + {"restore", 1, 0, Restore}, /* synonyms */ {"monitor", 0, 0, 'F'}, @@ -130,6 +140,9 @@ struct option long_options[] = { {"homehost", 1, 0, HomeHost}, {"symlinks", 1, 0, Symlinks}, {"data-offset",1, 0, DataOffset}, + {"nodes",1, 0, Nodes}, /* also for --assemble */ + {"home-cluster",1, 0, ClusterName}, + {"write-journal",1, 0, WriteJournal}, /* For assemble */ {"uuid", 1, 0, 'u'}, @@ -143,6 +156,8 @@ struct option long_options[] = { /* Management */ {"add", 0, 0, Add}, + {"add-spare", 0, 0, AddSpare}, + {"add-journal", 0, 0, AddJournal}, {"remove", 0, 0, Remove}, {"fail", 0, 0, Fail}, {"set-faulty",0, 0, Fail}, @@ -155,6 +170,8 @@ struct option long_options[] = { {"no-degraded",0,0, NoDegraded }, {"wait", 0, 0, WaitOpt}, {"wait-clean", 0, 0, Waitclean }, + {"action", 1, 0, Action }, + {"cluster-confirm", 0, 0, ClusterConfirm}, /* For Detail/Examine */ {"brief", 0, 0, Brief}, @@ -251,16 +268,13 @@ char OptionHelp[] = " --detail -D : Display details of an array\n" " --examine -E : Examine superblock on an array component\n" " --examine-bitmap -X: Display the detail of a bitmap file\n" +" --examine-badblocks: Display list of known bad blocks on device\n" " --monitor -F : monitor (follow) some arrays\n" " --grow -G : resize/ reshape and array\n" " --incremental -I : add/remove a single device to/from an array as appropriate\n" " --query -Q : Display general information about how a\n" " device relates to the md driver\n" " --auto-detect : Start arrays auto-detected by the kernel\n" -" --offroot : Set first character of argv[0] to @ to indicate the\n" -" application was launched from initrd/initramfs and\n" -" should not be shutdown by systemd as part of the\n" -" regular shutdown process.\n" ; /* "\n" @@ -363,6 +377,7 @@ char Help_create[] = " --name= -N : Textual name for array - max 32 characters\n" " --bitmap-chunk= : bitmap chunksize in Kilobytes.\n" " --delay= -d : bitmap update delay in seconds.\n" +" --write-journal= : Specify journal device for RAID-4/5/6 array\n" "\n" ; @@ -490,6 +505,7 @@ char Help_misc[] = " --detail-platform : Display hardware/firmware details\n" " --examine -E : Examine superblock on an array component\n" " --examine-bitmap -X: Display contents of a bitmap file\n" +" --examine-badblocks: Display list of known bad blocks on device\n" " --zero-superblock : erase the MD superblock from a device.\n" " --run -R : start a partially built array\n" " --stop -S : deactivate array, releasing all resources\n" @@ -497,6 +513,7 @@ char Help_misc[] = " --readwrite -w : mark array as readwrite\n" " --test -t : exit status 0 if ok, 1 if degrade, 2 if dead, 4 if missing\n" " --wait -W : wait for resync/rebuild/recovery to finish\n" +" --action= : initiate or abort ('idle' or 'frozen') a 'check' or 'repair'.\n" ; char Help_monitor[] =