Remove bogus warnings from man page.

LANG=C man --warnings -l mdadm.8 > /dev/null

complains that '.XX' is an invalid macro.
This is not correct.  The sequence

   .ig XX
   anything can go here
   .XX

is correct and is ignored (see 'info groff' and the 'ig' index
entry).

However the same can be achieved with
   .ig
   anything can go there
   ..

and this produces no warnings, so use that instead.

Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
NeilBrown 2009-10-29 10:11:01 +11:00
parent d28c1a7383
commit d1302dd801
1 changed files with 6 additions and 6 deletions

12
mdadm.8
View File

@ -946,7 +946,7 @@ This will cause
to determine the maximum usable amount of space on each device and to determine the maximum usable amount of space on each device and
update the relevant field in the metadata. update the relevant field in the metadata.
.ig XX .ig
.TP .TP
.B \-\-auto\-update\-homehost .B \-\-auto\-update\-homehost
This flag is only meaningful with auto-assembly (see discussion below). This flag is only meaningful with auto-assembly (see discussion below).
@ -954,7 +954,7 @@ In that situation, if no suitable arrays are found for this homehost,
.I mdadm .I mdadm
will rescan for any arrays at all and will assemble them and update the will rescan for any arrays at all and will assemble them and update the
homehost to match the current host. homehost to match the current host.
.XX ..
.SH For Manage mode: .SH For Manage mode:
@ -1429,7 +1429,7 @@ from the superblock is used to similarly create a name in
.B /dev/md/ .B /dev/md/
(the name will have any 'host' prefix stripped first). (the name will have any 'host' prefix stripped first).
.ig XX .ig
If If
.I mdadm .I mdadm
cannot find any array for the given host at all, and if cannot find any array for the given host at all, and if
@ -1447,7 +1447,7 @@ homehost tagging.
The reason for requiring arrays to be tagged with the homehost for The reason for requiring arrays to be tagged with the homehost for
auto assembly is to guard against problems that can arise when moving auto assembly is to guard against problems that can arise when moving
devices from one host to another. devices from one host to another.
.XX ..
.SH BUILD MODE .SH BUILD MODE
@ -2093,7 +2093,7 @@ finds any known version of metadata. If no
.I md .I md
metadata is found, the device is rejected. metadata is found, the device is rejected.
.ig XX .ig
.IP + .IP +
Does the metadata match an expected array? Does the metadata match an expected array?
The metadata can match in two ways. Either there is an array listed The metadata can match in two ways. Either there is an array listed
@ -2111,7 +2111,7 @@ If
.I mdadm .I mdadm
is not able to positively identify the array as belonging to the is not able to positively identify the array as belonging to the
current host, the device will be rejected. current host, the device will be rejected.
.XX ..
.I mdadm .I mdadm
keeps a list of arrays that it has partially assembled in keeps a list of arrays that it has partially assembled in