diff options
author | Neil Brown <neilb@suse.de> | 2008-07-07 03:30:26 +0200 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2008-07-07 03:30:26 +0200 |
commit | 6d6de2ee68e013958066e97b5d51a730bac10108 (patch) | |
tree | fd2d54982d5c0f5183de414ab7c696ac45c5d4cc /mdadm.conf.5 | |
parent | Some more cleanup of tests. (diff) | |
download | mdadm-6d6de2ee68e013958066e97b5d51a730bac10108.tar.xz mdadm-6d6de2ee68e013958066e97b5d51a730bac10108.zip |
Describe the HOMEHOST entry in the mdadm.conf man page.
Diffstat (limited to 'mdadm.conf.5')
-rw-r--r-- | mdadm.conf.5 | 18 |
1 files changed, 18 insertions, 0 deletions
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 <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 |