~ubuntu-branches/ubuntu/lucid/mdadm/lucid

« back to all changes in this revision

Viewing changes to ReadMe.c

  • Committer: Package Import Robot
  • Author(s): Fabio M. Di Nitto
  • Date: 2006-11-15 12:35:19 UTC
  • mto: (1.1.8 lenny)
  • mto: This revision was merged to the branch mainline in revision 15.
  • Revision ID: package-import@ubuntu.com-20061115123519-k3ephnx6ifo1xebj
Tags: upstream-2.5.5
ImportĀ upstreamĀ versionĀ 2.5.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
1
/*
3
2
 * mdadm - manage Linux "md" devices aka RAID arrays.
4
3
 *
5
 
 * Copyright (C) 2001-2006 Neil Brown <neilb@cse.unsw.edu.au>
 
4
 * Copyright (C) 2001-2006 Neil Brown <neilb@suse.de>
6
5
 *
7
6
 *
8
7
 *    This program is free software; you can redistribute it and/or modify
30
29
 
31
30
#include "mdadm.h"
32
31
 
33
 
char Version[] = Name " - v2.4.1 -  4 April 2006\n";
 
32
char Version[] = Name " - v2.5.5 - 23 October 2006\n";
34
33
 
35
34
/*
36
35
 * File: ReadMe.c
131
130
    {"spare-devices",1,0, 'x'},
132
131
    {"size",      1, 0, 'z'},
133
132
    {"auto",      1, 0, 'a'}, /* also for --assemble */
134
 
    {"assume-clean",0,0, 3 },
 
133
    {"assume-clean",0,0, AssumeClean },
135
134
    {"metadata",  1, 0, 'e'}, /* superblock format */
136
135
    {"bitmap",    1, 0, 'b'},
137
 
    {"bitmap-chunk", 1, 0, 4},
138
 
    {"write-behind", 2, 0, 5},
 
136
    {"bitmap-chunk", 1, 0, BitmapChunk},
 
137
    {"write-behind", 2, 0, WriteBehind},
139
138
    {"write-mostly",0, 0, 'W'},
140
 
    {"re-add",    0, 0,  6},
 
139
    {"re-add",    0, 0,  ReAdd},
 
140
    {"homehost",  1, 0,  HomeHost},
 
141
    {"auto-update-homehost", 0, 0, AutoHomeHost},
 
142
    {"symlinks",  1, 0,  Symlinks},
141
143
 
142
144
    /* For assemble */
143
145
    {"uuid",      1, 0, 'u'},
157
159
    {"stop",      0, 0, 'S'},
158
160
    {"readonly",  0, 0, 'o'},
159
161
    {"readwrite", 0, 0, 'w'},
 
162
    {"no-degraded",0,0,  NoDegraded },
160
163
 
161
164
    /* For Detail/Examine */
162
165
    {"brief",     0, 0, 'b'},
163
 
    {"sparc2.2",  0, 0, 22},
 
166
    {"sparc2.2",  0, 0, Sparc22},
164
167
    {"test",      0, 0, 't'},
165
168
 
166
169
    /* For Follow/monitor */
173
176
    {"oneshot",   0, 0, '1'},
174
177
    {"pid-file",  1, 0, 'i'},
175
178
    /* For Grow */
176
 
    {"backup-file", 1,0, 7},
 
179
    {"backup-file", 1,0, BackupFile},
177
180
    
178
181
    {0, 0, 0, 0}
179
182
};
269
272
"  --config=     -c   : config file\n"
270
273
"  --scan        -s   : scan config file for missing information\n"
271
274
"  --force       -f   : Assemble the array even if some superblocks appear out-of-date\n"
272
 
"  --update=     -U   : Update superblock: one of sparc2.2, super-minor or summaries\n"
 
275
"  --update=     -U   : Update superblock: try '-A --update=?' for list of options.\n"
273
276
"  --auto(=p)    -a   : Automatically allocate new (partitioned) md array if needed.\n"
 
277
"  --no-degraded      : Do not start any degraded arrays - default unless --scan.\n"
274
278
"\n"
275
279
" For detail or examine:\n"
276
280
"  --brief       -b   : Just print device name and UUID\n"
389
393
" Those devices are md devices that are to be assembled.  Their identity\n"
390
394
" and components are determined from the config file.\n"
391
395
"\n"
 
396
" If mdadm can not find all of the components for an array, it will assemble\n"
 
397
" it but not activate it unless --run or --scan is given.  To preserve this\n"
 
398
" behaviour even with --scan, add --no-degraded.  Note that \"all of the\n"
 
399
" components\" means as many as were present the last time the array was running\n"
 
400
" as recorded in the superblock.  If the array was already degraded, and\n"
 
401
" the missing device is not a new problem, it will still be assembled.  It\n"
 
402
" is only newly missing devices that cause the array not to be started.\n"
 
403
"\n"
392
404
"Options that are valid with --assemble (-A) are:\n"
393
405
"  --bitmap=          : bitmap file to use wit the array\n"
394
406
"  --uuid=       -u   : uuid of array to assemble. Devices which don't\n"
402
414
"                       for a full array are present\n"
403
415
"  --force       -f   : Assemble the array even if some superblocks appear\n"
404
416
"                     : out-of-date.  This involves modifying the superblocks.\n"
405
 
"  --update=     -U   : Update superblock: one of sparc2.2, super-minor or summaries\n"
 
417
"  --update=     -U   : Update superblock: try '-A --update=?' for option list.\n"
 
418
"  --no-degraded      : Assemble but do not start degraded arrays.\n"
406
419
;
407
420
 
408
421
char Help_manage[] =