1
0
Fork 0
mdadm/debian/patches/debian/0001-fix-manpages.patch
Daniel Baumann 13a1db4ad2
Refreshing fix-manpages.patch.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-14 06:02:00 +01:00

171 lines
5.5 KiB
Diff

Author: Felix Lechner <felix.lechner@lease-up.com>
Description: Fix typos and macro issues in manpages
(Closes: #915182, #916946, #962946, #933773).
diff -Naurp mdadm.orig/md.4 mdadm/md.4
--- mdadm.orig/md.4
+++ mdadm/md.4
@@ -363,9 +363,9 @@ tab(;);
;Device #1;Device #2;Device #3;Device #4
0x00;0;0;1;1
0x01;2;2;3;3
-\.\.\.;\.\.\.;\.\.\.;\.\.\.;\.\.\.
+;\.\.\.;\.\.\.;\.\.\.;\.\.\.;\.\.\.
:;:;:;:;:
-\.\.\.;\.\.\.;\.\.\.;\.\.\.;\.\.\.
+;\.\.\.;\.\.\.;\.\.\.;\.\.\.;\.\.\.
0x80;254;254;255;255
;\\---------v---------/;\\---------v---------/
;RAID1;RAID1
@@ -392,9 +392,9 @@ C.
;Dev #1;Dev #2;Dev #3;Dev #4;Dev #5
0x00;0;0;1;1;2
0x01;2;3;3;4;4
-\.\.\.;\.\.\.;\.\.\.;\.\.\.;\.\.\.;\.\.\.
+;\.\.\.;\.\.\.;\.\.\.;\.\.\.;\.\.\.;\.\.\.
:;:;:;:;:;:
-\.\.\.;\.\.\.;\.\.\.;\.\.\.;\.\.\.;\.\.\.
+;\.\.\.;\.\.\.;\.\.\.;\.\.\.;\.\.\.;\.\.\.
0x80;317;318;318;319;319
;
.TE
@@ -454,15 +454,15 @@ C.
;
0x00;0;1;2;3;\\
0x01;4;5;6;7;> [#]
-\.\.\.;\.\.\.;\.\.\.;\.\.\.;\.\.\.;:
+;\.\.\.;\.\.\.;\.\.\.;\.\.\.;\.\.\.;:
:;:;:;:;:;:
-\.\.\.;\.\.\.;\.\.\.;\.\.\.;\.\.\.;:
+;\.\.\.;\.\.\.;\.\.\.;\.\.\.;\.\.\.;:
0x40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;) EX
0x80;254;251;252;253;) EX~
;
@@ -605,9 +605,9 @@ C.
0x01;4;0;1;2;3;) AA~
0x02;5;6;7;8;9;) AB
0x03;9;5;6;7;8;) AB~
-\.\.\.;\.\.\.;\.\.\.;\.\.\.;\.\.\.;\.\.\.;) \.\.\.
+;\.\.\.;\.\.\.;\.\.\.;\.\.\.;\.\.\.;\.\.\.;) \.\.\.
:;:;:;:;:;:; :
-\.\.\.;\.\.\.;\.\.\.;\.\.\.;\.\.\.;\.\.\.;) \.\.\.
+;\.\.\.;\.\.\.;\.\.\.;\.\.\.;\.\.\.;\.\.\.;) \.\.\.
0x79;314;315;316;317;318;) EX
0x80;318;314;315;316;317;) EX~
;
@@ -987,7 +987,7 @@ other device(s).
.I md
cannot control the timeout that the underlying devices use to
determine failure. Any changes desired to that timeout must be set
-explictly on the underlying device, separately from using
+explicitly on the underlying device, separately from using
.IR mdadm .
If a FAILFAST request does fail, and if it is still safe to mark the
diff -Naurp mdadm.orig/mdadm.8.in mdadm/mdadm.8.in
--- mdadm.orig/mdadm.8.in
+++ mdadm/mdadm.8
@@ -459,11 +459,10 @@ number of spare devices.
Amount (in Kilobytes) of space to use from each drive in RAID levels 1/4/5/6/10
and for RAID 0 on external metadata.
This must be a multiple of the chunk size, and must leave about 128Kb
-of space at the end of the drive for the RAID superblock.
-If this is not specified
-(as it normally is not) the smallest drive (or partition) sets the
-size, though if there is a variance among the drives of greater than 1%, a warning is
-issued.
+of space at the end of the drive for the RAID superblock. When specified as
+\(acmax\(ac (as it often is) the smallest drive (or partition) sets the size.
+In that case, a warning will follow if the drives, as a group, have sizes that
+differ by more than one percent.
A suffix of 'K', 'M', 'G' or 'T' can be given to indicate Kilobytes,
Megabytes, Gigabytes or Terabytes respectively.
@@ -927,6 +926,7 @@ the
.B name
will default to
.IR home .
+(Does not work in Grow mode.)
.TP
.BR \-R ", " \-\-run
@@ -1131,7 +1131,7 @@ out-of-date. If
cannot find enough working devices to start the array, but can find
some devices that are recorded as having failed, then it will mark
those devices as working so that the array can be started. This works only for
-native. For external metadata it allows to start dirty degraded RAID 4, 5, 6.
+native. For external metadata it allows one to start dirty degraded RAID 4, 5, 6.
An array which requires
.B \-\-force
to be started may contain data corruption. Use it carefully.
@@ -1814,7 +1814,7 @@ Details of
.B check
and
.B repair
-can be found it
+can be found in
.IR md (4)
under
.BR "SCRUBBING AND MISMATCHES" .
@@ -2957,7 +2957,8 @@ option in Grow mode. Currently this work
.B ppl
and
.B resync
-policies and allows to enable or disable the RAID5 Partial Parity Log (PPL).
+policies and allows one to enable or disable the RAID5 Partial Parity
+Log (PPL).
.SH INCREMENTAL MODE
diff -Naurp mdadm.orig/mdmon.8 mdadm/mdmon.8
--- mdadm.orig/mdmon.8
+++ mdadm/mdmon.8
@@ -115,7 +115,7 @@ container. Some array management comman
add are now only valid at the container level. Attempts to perform
these actions on member arrays are blocked with error messages like:
.IP
-"mdadm: Cannot remove disks from a \'member\' array, perform this
+"mdadm: Cannot remove disks from a \(aqmember\(aq array, perform this
operation on the parent container"
.P
Containers are identified in /proc/mdstat with a metadata version string