1
Author: Giuseppe Iuculano <giuseppe@iuculano.it>
2
Description: Fix hyphen-used-as-minus-sign
3
--- a/1.0.0.rc15/man/dmraid.8
4
+++ b/1.0.0.rc15/man/dmraid.8
5
@@ -4,19 +4,19 @@ dmraid \- discover, configure and activa
8
{-a|--activate} {y|n|yes|no}
9
- [-d|--debug]... [-v|--verbose]... [-i|--ignorelocking]
10
- [-f|--format FORMAT[,FORMAT...]]
11
+ [\-d|--debug]... [\-v|--verbose]... [\-i|--ignorelocking]
12
+ [\-f|--format FORMAT[,FORMAT...]]
13
[{-P|--partchar} CHAR]
14
- [-p|--no_partitions]
15
- [--separator SEPARATOR]
17
+ [\-p|--no_partitions]
18
+ [\--separator SEPARATOR]
24
- [-c|--display_columns][FIELD[,FIELD...]]...
25
- [-d|--debug]... [-v|--verbose]...
26
- [--separator SEPARATOR]
27
+ [\-c|--display_columns][FIELD[,FIELD...]]...
28
+ [\-d|--debug]... [\-v|--verbose]...
29
+ [\--separator SEPARATOR]
33
@@ -24,60 +24,60 @@ dmraid \- discover, configure and activa
37
- [-d|--debug]... [-v|--verbose]...
38
+ [\-d|--debug]... [\-v|--verbose]...
42
- [-d|--debug]... [-v|--verbose]... [-i|--ignorelocking]
43
- [-f|--format FORMAT[,FORMAT...]]
44
- [--separator SEPARATOR]
45
+ [\-d|--debug]... [\-v|--verbose]... [\-i|--ignorelocking]
46
+ [\-f|--format FORMAT[,FORMAT...]]
47
+ [\--separator SEPARATOR]
65
- [--size=setsize --strip stridesize]
66
- --disk "device-path, device-path [, device-path ...]"
70
+ [\--size=setsize \--strip stridesize]
71
+ \--disk "device-path, device-path [, device-path ...]"
74
-[ -f|--format FORMAT-handler]
75
--S|--spare [RAID-set]
76
--M|--media "device-path"
77
+[ \-f|--format FORMAT-handler]
78
+\-S|--spare [RAID-set]
79
+\-M|--media "device-path"
83
- [-c|--display_columns][FIELD[,FIELD...]]...
84
- [-d|--debug]... [-v|--verbose]... [-i|--ignorelocking]
85
- [-D|--dump_metadata]
86
- [-f|--format FORMAT[,FORMAT...]]
87
- [--separator SEPARATOR]
88
+ [\-c|--display_columns][FIELD[,FIELD...]]...
89
+ [\-d|--debug]... [\-v|--verbose]... [\-i|--ignorelocking]
90
+ [\-D|--dump_metadata]
91
+ [\-f|--format FORMAT[,FORMAT...]]
92
+ [\--separator SEPARATOR]
97
- [-d|--debug]... [-v|--verbose]... [-i|--ignorelocking]
98
- [-E|--erase_metadata]
99
- [-f|--format FORMAT[,FORMAT...]]
100
- [--separator SEPARATOR]
101
+ [\-d|--debug]... [\-v|--verbose]... [\-i|--ignorelocking]
102
+ [\-E|--erase_metadata]
103
+ [\-f|--format FORMAT[,FORMAT...]]
104
+ [\--separator SEPARATOR]
108
{-s|--sets}...[a|i|active|inactive]
109
- [-c|--display_columns][FIELD[,FIELD...]]...
110
- [-d|--debug]... [-v|--verbose]... [-i|--ignorelocking]
111
- [-f|--format FORMAT[,FORMAT...]]
112
- [-g|--display_group]
113
- [--separator SEPARATOR]
114
+ [\-c|--display_columns][FIELD[,FIELD...]]...
115
+ [\-d|--debug]... [\-v|--verbose]... [\-i|--ignorelocking]
116
+ [\-f|--format FORMAT[,FORMAT...]]
117
+ [\-g|--display_group]
118
+ [\--separator SEPARATOR]
122
@@ -112,7 +112,7 @@ When activating RAID sets,
124
disables the activation of partitions on them.
125
RAID set names given on command line don't need to be fully specified
126
-(eg, "dmraid -ay sil" would activate all discovered Silicon Image Medley
127
+(eg, "dmraid \-ay sil" would activate all discovered Silicon Image Medley
131
@@ -129,7 +129,7 @@ See description of
132
below for FIELD identifiers.
137
Enable debugging output. Opion can be given multiple times
138
increasing the debug output level.
140
@@ -209,18 +209,18 @@ is added to the system.
141
During system reboot, enter OROM and mark the new drive as the rebuild drive.
142
After booting to the OS, use the dmraid command to rebuild.
144
- Example: dmraid -R raid_set
145
+ Example: dmraid \-R raid_set
147
2. Using dmraid to identify a new drive
148
Boot to the OS and use the dmraid command with the new drive as
149
the second parameter.
151
- Example: dmraid -R raid_set /dev/sdc
152
+ Example: dmraid \-R raid_set /dev/sdc
154
3. Using hot spare drive
155
- Mark a drive as hot spare using the "dmraid -f isw -S" command. Then use the dmraid command to start the rebuild.
156
+ Mark a drive as hot spare using the "dmraid \-f isw \-S" command. Then use the dmraid command to start the rebuild.
158
- Example: dmraid -R raid_set
159
+ Example: dmraid \-R raid_set
162
.I {-x|--remove} [RAID-set]
163
@@ -230,11 +230,11 @@ Delete one or all existing software RAID
164
.I -f FORMAT-handler {-C|--create} --type raidlevel [--size=setsize --strip stripsize] --disk "device-path, device-path [,device-path]"
165
Delete one or all existing Configure a software RAID device and store the configuration data in a group of hard drive devices consisting of this array. This command requires the following options:
170
- metadata format (see "dmraid -l")
171
+ metadata format (see "dmraid \-l")
173
---type digit[digit...]
174
+\--type digit[digit...]
176
specify the raid level of the software RAID set.
178
@@ -246,7 +246,7 @@ Delete one or all existing Configure a s
180
01: raid01 (isw raid10)
182
---size: [digits[k|K|m|M|g|G][b|B]]
183
+\--size: [digits[k|K|m|M|g|G][b|B]]
185
specify the size of the RAID set.The number is an integer followed by [kKmMgG] and/or [bB].
187
@@ -262,11 +262,11 @@ Delete one or all existing Configure a s
189
If this option is missing, it's set to the default value pre-configured by the vendor. Note that different vendors may apply different constraints on the granularity of the size or the minimal value.
191
---strip: [digits[k|K|m|M|g|G][b|B]]
192
+\--strip: [digits[k|K|m|M|g|G][b|B]]
194
specify the strip size of a RAID1, RAID5, and RAID10 RAID set (as above)
196
---disk: device-path[{,| }device-path...]
197
+\--disk: device-path[{,| }device-path...]
199
specify the array of the hard drives, e.g. /dev/sda.
201
@@ -344,7 +344,7 @@ Use SEPARATOR as a delimiter for all opt
203
.I -s... [a|i] [RAID-set...]
204
Display properties of RAID sets. Multiple RAID set names can be given
205
-on the command line which don't need to be fully specified (eg, "dmraid -s hpt"
206
+on the command line which don't need to be fully specified (eg, "dmraid \-s hpt"
207
would display all discovered Highpoint RAID sets). Enter
209
twice to display RAID subsets too.
210
@@ -372,7 +372,7 @@ Enable verbose runtime information outpu
211
increasing the verbosity level.
214
-"dmraid -l" lists all supported metadata formats with their names along with
215
+"dmraid \-l" lists all supported metadata formats with their names along with
216
some descriptive information, eg:
218
hpt37x : (+) Highpoint HPT37X
219
@@ -395,16 +395,16 @@ dos : (+) DOS partitions on SW RAIDs
221
(0): Discover, (+): Discover+Activate
223
-"dmraid -ay" activates all software RAID sets discovered.
224
+"dmraid \-ay" activates all software RAID sets discovered.
226
-"dmraid -an" deactivates all active software RAID sets which are not open
227
+"dmraid \-an" deactivates all active software RAID sets which are not open
228
(eg, mounted filesystem on them).
230
-"dmraid -ay -f pdc" (pdc looked up from "dmraid -l") activates all
231
+"dmraid \-ay \-f pdc" (pdc looked up from "dmraid \-l") activates all
232
software RAID sets with Promise format discovered and ignores all other
235
-"dmraid -r" discovers all software RAID devices supported on your system, eg:
236
+"dmraid \-r" discovers all software RAID devices supported on your system, eg:
238
/dev/dm-46: hpt45x, "hpt45x_chidjhaiaa-0", striped, ok, 320172928 sectors, data@ 0
240
@@ -415,7 +415,7 @@ supported formats.
241
/dev/dm-58: hpt45x, "hpt45x_chidjhaiaa-1", striped, ok, 320172928 sectors, data@ 0
244
-"dmraid -s -s hpt45x_chidjhaiaa" displays properties of
245
+"dmraid \-s \-s hpt45x_chidjhaiaa" displays properties of
246
set "hpt45x_chidjhaiaa", eg:
249
@@ -473,7 +473,7 @@ dev : 2
253
-"dmraid -s -ccs hpt45" displays properties in column format of all sets
254
+"dmraid \-s \-ccs hpt45" displays properties in column format of all sets
255
and subsets with hpt45* format, eg:
257
hpt45x_chidjhaiaa,640345856,128,raid10,ok,4,0
258
@@ -482,7 +482,7 @@ hpt45x_chidjhaiaa-a,640345856,128,stripe
260
hpt45x_chidjhaiaa-b,640345856,128,stripe,ok,2,0
262
-"dmraid -r --sep : -cpath:size" display paths and sizes in sectors for
263
+"dmraid \-r \--sep : \-cpath:size" display paths and sizes in sectors for
264
RAID devices in column format using ':' as a delimiter, eg:
267
@@ -513,18 +513,18 @@ RAID devices in column format using ':'
271
-"dmraid -f isw -C Raid0 --type 0 --strip 8k --size 20g --disk "/dev/sdb /dev/sdc"" creates an ISW volume with
272
+"dmraid \-f isw \-C Raid0 \--type 0 \--strip 8k \--size 20g \--disk "/dev/sdb /dev/sdc"" creates an ISW volume with
273
a name of "Raid0", 20Gig bytes in total, and 8kilo bytes strip size on two disks.
275
-"dmraid -f isw -C Test0 --type 0 --disk "/dev/sdd /dev/sde"" creates an ISW volume with the default size and strip size.
276
+"dmraid \-f isw \-C Test0 \--type 0 \--disk "/dev/sdd /dev/sde"" creates an ISW volume with the default size and strip size.
278
-"dmraid -f isw -C Test10 --type 01 --strip 128B --disk "/dev/sda /dev/sdb /dev/sdc /dev/sdd" creates a stacked
279
+"dmraid \-f isw \-C Test10 \--type 01 \--strip 128B \--disk "/dev/sda /dev/sdb /dev/sdc /dev/sdd" creates a stacked
280
RAID device, RAID10 (isw format), with a name of "Test10", 128 blocks (512bytes) strip size , and the default volume size on
283
-"dmraid -f isw -S -M /dev/sde" marks the device /dev/sde as a hot spare for rebuild
284
+"dmraid \-f isw \-S \-M /dev/sde" marks the device /dev/sde as a hot spare for rebuild
286
-"dmraid -R isw_djaggchdde_RAID1 /dev/sde" starts rebuild of the RAID volume on device /dev/sde
287
+"dmraid \-R isw_djaggchdde_RAID1 /dev/sde" starts rebuild of the RAID volume on device /dev/sde
290
dmraid returns an exit code of 0 for success or 1 for error.