~psusi/ubuntu/precise/dmraid/fix-gpt

« back to all changes in this revision

Viewing changes to debian/patches/03_fix_hyphen-used-as-minus-sign.patch

  • Committer: Bazaar Package Importer
  • Author(s): Giuseppe Iuculano, 6af052c
  • Date: 2009-03-25 22:34:59 UTC
  • mfrom: (2.1.9 sid)
  • mto: (2.4.1 squeeze)
  • mto: This revision was merged to the branch mainline in revision 39.
  • Revision ID: james.westby@ubuntu.com-20090325223459-y54f0rmxem7htn6r
Tags: 1.0.0.rc15-6
[6af052c] Remove 15_isw_incorrect_status_fix.patch, it causes a
segfault. (Closes: #521104)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 
6
 .SH SYNOPSIS
 
7
 .B dmraid
 
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]
 
16
- [-t|--test]
 
17
+ [\-p|--no_partitions]
 
18
+ [\--separator SEPARATOR]
 
19
+ [\-t|--test]
 
20
  [RAID-set...]
 
21
 
 
22
 .B dmraid
 
23
  {-b|--block_devices}
 
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]
 
30
  [device-path...]
 
31
 
 
32
 .B dmraid
 
33
@@ -24,60 +24,60 @@ dmraid \- discover, configure and activa
 
34
 
 
35
 .B dmraid
 
36
  {-l|--list_formats}
 
37
- [-d|--debug]... [-v|--verbose]...
 
38
+ [\-d|--debug]... [\-v|--verbose]...
 
39
 
 
40
 .B dmraid
 
41
  {-n|--native_log}
 
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]
 
48
  [device-path...]
 
49
 
 
50
 .B dmraid
 
51
- {-R| --rebuild}
 
52
+ {-R| \--rebuild}
 
53
  RAID-set
 
54
  [device-path]
 
55
 
 
56
 .B dmraid
 
57
- {-x| --remove}
 
58
+ {-x| \--remove}
 
59
  [RAID-set]
 
60
 
 
61
 .B dmraid
 
62
- -f FORMAT-handler
 
63
-{-C| --create} set 
 
64
- --type raidlevel
 
65
- [--size=setsize --strip stridesize] 
 
66
- --disk "device-path, device-path [, device-path ...]"
 
67
+ \-f FORMAT-handler
 
68
+{-C| \--create} set 
 
69
+ \--type raidlevel
 
70
+ [\--size=setsize \--strip stridesize] 
 
71
+ \--disk "device-path, device-path [, device-path ...]"
 
72
 
 
73
 .B dmraid
 
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"
 
80
 
 
81
 .B dmraid
 
82
  {-r|--raid_devices}
 
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]
 
93
  [device-path...]
 
94
 
 
95
 .B dmraid
 
96
  {-r|--raid_devices}
 
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]
 
105
  [device-path...]
 
106
 
 
107
 .B dmraid
 
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]
 
119
  [RAID-set...]
 
120
 
 
121
 .B dmraid
 
122
@@ -112,7 +112,7 @@ When activating RAID sets,
 
123
 .B -p
 
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
 
128
 RAID sets).
 
129
 
 
130
 .TP
 
131
@@ -129,7 +129,7 @@ See description of
 
132
 below for FIELD identifiers.
 
133
 
 
134
 .TP
 
135
-.I [-d|--debug]...
 
136
+.I [\-d|--debug]...
 
137
 Enable debugging output. Opion can be given multiple times
 
138
 increasing the debug output level.
 
139
 
 
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.
 
143
 
 
144
-    Example: dmraid -R raid_set 
 
145
+    Example: dmraid \-R raid_set 
 
146
 
 
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.
 
150
 
 
151
-    Example: dmraid -R raid_set /dev/sdc
 
152
+    Example: dmraid \-R raid_set /dev/sdc
 
153
 
 
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.
 
157
 
 
158
-    Example: dmraid -R raid_set
 
159
+    Example: dmraid \-R raid_set
 
160
 
 
161
 .TP
 
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:
 
166
 
 
167
--f FORMAT-handler
 
168
+\-f FORMAT-handler
 
169
 .br
 
170
-       metadata format (see "dmraid -l")
 
171
+       metadata format (see "dmraid \-l")
 
172
 .br            
 
173
---type digit[digit...]
 
174
+\--type digit[digit...]
 
175
 .br
 
176
        specify the raid level of the software RAID set. 
 
177
 .br
 
178
@@ -246,7 +246,7 @@ Delete one or all existing Configure a s
 
179
 .br
 
180
                01: raid01 (isw raid10)
 
181
 .br
 
182
---size: [digits[k|K|m|M|g|G][b|B]]
 
183
+\--size: [digits[k|K|m|M|g|G][b|B]]
 
184
 .br
 
185
        specify the size of the RAID set.The number is an integer followed by [kKmMgG] and/or [bB].
 
186
 .br
 
187
@@ -262,11 +262,11 @@ Delete one or all existing Configure a s
 
188
 .br
 
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.
 
190
 .br
 
191
---strip: [digits[k|K|m|M|g|G][b|B]]
 
192
+\--strip: [digits[k|K|m|M|g|G][b|B]]
 
193
 .br
 
194
        specify the strip size of a RAID1, RAID5, and RAID10 RAID set (as above)
 
195
 .br
 
196
---disk: device-path[{,| }device-path...]
 
197
+\--disk: device-path[{,| }device-path...]
 
198
 .br
 
199
        specify the array of the hard drives, e.g. /dev/sda.
 
200
 
 
201
@@ -344,7 +344,7 @@ Use SEPARATOR as a delimiter for all opt
 
202
 .TP
 
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
 
208
 .B -s
 
209
 twice to display RAID subsets too.
 
210
@@ -372,7 +372,7 @@ Enable verbose runtime information outpu
 
211
 increasing the verbosity level.
 
212
 
 
213
 .SH EXAMPLES
 
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:
 
217
 .br
 
218
 hpt37x : (+) Highpoint HPT37X
 
219
@@ -395,16 +395,16 @@ dos    : (+) DOS partitions on SW RAIDs
 
220
 .br
 
221
 (0): Discover, (+): Discover+Activate
 
222
 
 
223
-"dmraid -ay" activates all software RAID sets discovered.
 
224
+"dmraid \-ay" activates all software RAID sets discovered.
 
225
 
 
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).
 
229
 
 
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
 
233
 supported formats.
 
234
 
 
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:
 
237
 .br
 
238
 /dev/dm-46: hpt45x, "hpt45x_chidjhaiaa-0", striped, ok, 320172928 sectors, data@ 0
 
239
 .br
 
240
@@ -415,7 +415,7 @@ supported formats.
 
241
 /dev/dm-58: hpt45x, "hpt45x_chidjhaiaa-1", striped, ok, 320172928 sectors, data@ 0
 
242
 
 
243
 
 
244
-"dmraid -s -s hpt45x_chidjhaiaa" displays properties of
 
245
+"dmraid \-s \-s hpt45x_chidjhaiaa" displays properties of
 
246
 set "hpt45x_chidjhaiaa", eg:
 
247
 .br
 
248
 *** Superset
 
249
@@ -473,7 +473,7 @@ dev    : 2
 
250
 spare  : 0
 
251
 .br
 
252
 
 
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:
 
256
 .br
 
257
 hpt45x_chidjhaiaa,640345856,128,raid10,ok,4,0
 
258
@@ -482,7 +482,7 @@ hpt45x_chidjhaiaa-a,640345856,128,stripe
 
259
 .br
 
260
 hpt45x_chidjhaiaa-b,640345856,128,stripe,ok,2,0
 
261
 
 
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:
 
265
 .br
 
266
 /dev/dm-8:320173055
 
267
@@ -513,18 +513,18 @@ RAID devices in column format using ':' 
 
268
 .br
 
269
 /dev/dm-66:390624896
 
270
 
 
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.
 
274
 
 
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.
 
277
 
 
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
 
281
 4 disks.
 
282
 
 
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
 
285
 
 
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
 
288
 
 
289
 .SH DIAGNOSTICS
 
290
 dmraid returns an exit code of 0 for success or 1 for error.