From: Neil Brown Date: Fri, 14 Nov 2008 05:20:51 +0000 (+1100) Subject: Describe the HOMEHOST entry in the mdadm.conf man page. X-Git-Tag: mdadm-2.6.7.2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=257abe70415427f471ad245f202f153c0aa6d1f5;p=thirdparty%2Fmdadm.git Describe the HOMEHOST entry in the mdadm.conf man page. --- diff --git a/mdadm.conf.5 b/mdadm.conf.5 index 456aa0c3..40295bee 100644 --- a/mdadm.conf.5 +++ b/mdadm.conf.5 @@ -289,6 +289,24 @@ Give to suppress this symlink creation. .RE +.TP +.B HOMEHOST +The +.B homehost +line gives a default value for the +.B --homehost= +option to mdadm. There should be exactly one other word on the line. +It should either exactly +.B +or a host name. +If +.B +is given, then the +.BR gethostname ( 2 ) +systemcall is used to get the host name. +When arrays are created, this host name will be stored in the +metadata. When arrays are assembled using auto-assembly, only arrays +with this host name stored in the metadata will be considered. .SH EXAMPLE DEVICE /dev/sd[bcdjkl]1