]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
Describe the HOMEHOST entry in the mdadm.conf man page.
authorNeil Brown <neilb@suse.de>
Mon, 7 Jul 2008 01:30:26 +0000 (11:30 +1000)
committerNeil Brown <neilb@suse.de>
Mon, 7 Jul 2008 01:30:26 +0000 (11:30 +1000)
mdadm.conf.5

index 456aa0c38a2154b655d75993ef54b79f32cfafc4..40295bee675288f2bfd990a5129f13a7f9087b06 100644 (file)
@@ -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 <system>
+or a host name.
+If
+.B <system>
+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