Alternatively, a
.B device
-line can contain either of both of the words
+line can contain either or both of the words
.B containers
and
.BR partitions .
.B \-\-homehost=
option to mdadm. There should normally be only one other word on the line.
It should either be a host name, or one of the special words
-.B <system>
+.BR <system>,
+.B <none>
and
.BR <ignore> .
If
.B <system>
is given, then the
.BR gethostname ( 2 )
-systemcall is used to get the host name.
+systemcall is used to get the host name. This is the default.
If
.B <ignore>
.B HOMEHOST
line.
+If
+.B <none>
+is given, then the default of using
+.BR gethostname ( 2 )
+is over-ridden and no homehost name is assumed.
+
When arrays are created, this host name will be stored in the
metadata. When arrays are assembled using auto-assembly, arrays which
do not record the correct homehost name in their metadata will be
of domains of all devices in that array. A spare can be automatically
moved from one array to another if the set of the destination array's
.I domains
-contains all the
+ppcontains all the
.I domains
of the new disk or if both arrays have the same
.IR spare-group .
.B path=
file glob matching anything from
.B /dev/disk/by-path
+.TP
.B type=
either
.B disk
.TP
.B action=
include, re-add, spare, spare-same-slot, or force-spare
+.B auto=
+yes, no, or homehost.
.P
The
.B include
allows adding a disk to an array if metadata on that disk matches that array
.TP
-.B re-add
+.B re\-add
will include the device in the array if it appears to be a current member
-or a member that was recently removed
+or a member that was recently removed and the array has a
+write-intent-bitmap to allow the
+.B re\-add
+functionality.
.TP
.B spare
as above and additionally: if the device is bare it can
degraded recently and the device plugged in has no metadata then it will
be automatically added to that array (or it's container)
.TP
-.B force-spare
+.B force\-spare
as above and the disk will become a spare in remaining cases
.RE
.br
HOMEHOST <system>
.br
-AUTO +1.x homehost -all
+AUTO +1.x homehost \-all
.SH SEE ALSO
.BR mdadm (8),