martin f. krafft: revert accidentally applied conffile-location patch

Martin F. Krafft madduck at alioth.debian.org
Sun Sep 11 09:14:41 UTC 2011


Module: mdadm
Branch: build
Commit: 33a23f5028ef09822232c0109d0e2242748c4e30
URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git;a=commit;h=33a23f5028ef09822232c0109d0e2242748c4e30

Author: martin f. krafft <madduck at debian.org>
Date:   Sun Sep 11 11:07:01 2011 +0200

revert accidentally applied conffile-location patch

---

 Makefile     |    4 ++--
 ReadMe.c     |    2 +-
 mdadm.8.in   |   14 ++++++++------
 mdadm.conf.5 |    2 +-
 mdassemble.8 |    2 +-
 5 files changed, 13 insertions(+), 11 deletions(-)

diff --git a/Makefile b/Makefile
index 1aab163..0cc9a87 100644
--- a/Makefile
+++ b/Makefile
@@ -60,8 +60,8 @@ else
 endif
 
 SYSCONFDIR = /etc
-CONFFILE = $(SYSCONFDIR)/mdadm/mdadm.conf
-CONFFILE2 = $(SYSCONFDIR)/mdadm.conf
+CONFFILE = $(SYSCONFDIR)/mdadm.conf
+CONFFILE2 = $(SYSCONFDIR)/mdadm/mdadm.conf
 MAILCMD =/usr/sbin/sendmail -t
 CONFFILEFLAGS = -DCONFFILE=\"$(CONFFILE)\" -DCONFFILE2=\"$(CONFFILE2)\"
 # Both MAP_DIR and MDMON_DIR should be somewhere that persists across the
diff --git a/ReadMe.c b/ReadMe.c
index aa26032..b97c55e 100644
--- a/ReadMe.c
+++ b/ReadMe.c
@@ -560,7 +560,7 @@ char Help_incr[] =
 ;
 
 char Help_config[] =
-"The /etc/mdadm/mdadm.conf config file:\n\n"
+"The /etc/mdadm.conf config file:\n\n"
 " The config file contains, apart from blank lines and comment lines that\n"
 " start with a hash(#), four sorts of configuration lines: array lines, \n"
 " device lines, mailaddr lines and program lines.\n"
diff --git a/mdadm.8.in b/mdadm.8.in
index d267b8c..cbf2823 100644
--- a/mdadm.8.in
+++ b/mdadm.8.in
@@ -261,9 +261,9 @@ the exact meaning of this option in different contexts.
 .TP
 .BR \-c ", " \-\-config=
 Specify the config file.  Default is to use
-.BR /etc/mdadm/mdadm.conf ,
-or if that is missing, then
-.BR /etc/mdadm.conf .
+.BR /etc/mdadm.conf ,
+or if that is missing then
+.BR /etc/mdadm/mdadm.conf .
 If the config file given is
 .B "partitions"
 then nothing will be read, but
@@ -1429,6 +1429,8 @@ The config file is only used if explicitly named with
 or requested with (a possibly implicit)
 .BR \-\-scan .
 In the later case,
+.B /etc/mdadm.conf
+or
 .B /etc/mdadm/mdadm.conf
 is used.
 
@@ -1769,7 +1771,7 @@ or
 .B \-\-scan
 will cause the output to be less detailed and the format to be
 suitable for inclusion in
-.BR /etc/mdadm/mdadm.conf .
+.BR mdadm.conf .
 The exit status of
 .I mdadm
 will normally be 0 unless
@@ -1846,7 +1848,7 @@ or
 is given, then multiple devices that are components of the one array
 are grouped together and reported in a single entry suitable
 for inclusion in
-.BR /etc/mdadm/mdadm.conf .
+.BR mdadm.conf .
 
 Having
 .B \-\-scan
@@ -2543,7 +2545,7 @@ uses this to find arrays when
 is given in Misc mode, and to monitor array reconstruction
 on Monitor mode.
 
-.SS /etc/mdadm/mdadm.conf
+.SS /etc/mdadm.conf
 
 The config file lists which devices may be scanned to see if
 they contain MD super block, and gives identifying information
diff --git a/mdadm.conf.5 b/mdadm.conf.5
index 648d26a..e677ba9 100644
--- a/mdadm.conf.5
+++ b/mdadm.conf.5
@@ -8,7 +8,7 @@
 .SH NAME
 mdadm.conf \- configuration for management of Software RAID with mdadm
 .SH SYNOPSIS
-/etc/mdadm/mdadm.conf
+/etc/mdadm.conf
 .SH DESCRIPTION
 .PP
 .I mdadm
diff --git a/mdassemble.8 b/mdassemble.8
index d06c201..986432c 100644
--- a/mdassemble.8
+++ b/mdassemble.8
@@ -40,7 +40,7 @@ There are no options to
 
 .SH FILES
 
-.SS /etc/mdadm/mdadm.conf
+.SS /etc/mdadm.conf
 
 The config file lists which devices may be scanned to see if
 they contain MD super block, and gives identifying information




More information about the pkg-mdadm-commits mailing list