diff mbox

[3/7] mkfs: parameterize sysconfdir in mkfs.xfs.8

Message ID 1528831883-21879-4-git-send-email-sandeen@sandeen.net (mailing list archive)
State New, archived
Headers show

Commit Message

Eric Sandeen June 12, 2018, 7:31 p.m. UTC
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
---
 man/man8/mkfs.xfs.8.in | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Comments

Darrick J. Wong June 12, 2018, 10:09 p.m. UTC | #1
On Tue, Jun 12, 2018 at 02:31:19PM -0500, Eric Sandeen wrote:
> Signed-off-by: Eric Sandeen <sandeen@redhat.com>
> Signed-off-by: Eric Sandeen <sandeen@sandeen.net>

Looks ok,
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>

--D

> ---
>  man/man8/mkfs.xfs.8.in | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/man/man8/mkfs.xfs.8.in b/man/man8/mkfs.xfs.8.in
> index dcd95ad..8ea2fe9 100644
> --- a/man/man8/mkfs.xfs.8.in
> +++ b/man/man8/mkfs.xfs.8.in
> @@ -131,7 +131,7 @@ contains built-in default values for every option as described in the sections
>  below.
>  These built-in defaults may evolve over time as new capabilities are added.
>  If the file
> -.B /etc/xfs/mkfs/defaults
> +.B @sysconfdir@/xfs/mkfs/defaults
>  exists, it will be parsed to override built-in defaults, and the defaults
>  described in sections below may no longer apply.
>  .PP
> @@ -143,7 +143,7 @@ as described in the OPTIONS section.
>  .TP
>  .BI \-c " configuration"
>  This option may be used to specify a configuration file other than
> -.B /etc/xfs/mkfs/defaults
> +.B @sysconfdir@/xfs/mkfs/defaults
>  to override selected built-in parameter defaults.
>  If
>  .B configuration
> @@ -155,7 +155,7 @@ Otherwise,
>  will search for
>  .B configuration
>  first in the current working directory, and then in the
> -.B /etc/xfs/mkfs/
> +.B @sysconfdir@/xfs/mkfs/
>  directory.
>  See also the CONFIGURATION FILE FORMAT section below.
>  .TP
> @@ -958,7 +958,7 @@ Do not attempt to discard blocks at mkfs time.
>  Prints the version number and exits.
>  .SH CONFIGURATION FILE FORMAT
>  The optional default configuration file in
> -.B /etc/xfs/mkfs/default
> +.B @sysconfdir@/xfs/mkfs/default
>  as well as any alternate configuration file specified via the
>  .B \-c
>  option follow a simple ini-style format as shown below.
> -- 
> 1.8.3.1
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-xfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-xfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/man/man8/mkfs.xfs.8.in b/man/man8/mkfs.xfs.8.in
index dcd95ad..8ea2fe9 100644
--- a/man/man8/mkfs.xfs.8.in
+++ b/man/man8/mkfs.xfs.8.in
@@ -131,7 +131,7 @@  contains built-in default values for every option as described in the sections
 below.
 These built-in defaults may evolve over time as new capabilities are added.
 If the file
-.B /etc/xfs/mkfs/defaults
+.B @sysconfdir@/xfs/mkfs/defaults
 exists, it will be parsed to override built-in defaults, and the defaults
 described in sections below may no longer apply.
 .PP
@@ -143,7 +143,7 @@  as described in the OPTIONS section.
 .TP
 .BI \-c " configuration"
 This option may be used to specify a configuration file other than
-.B /etc/xfs/mkfs/defaults
+.B @sysconfdir@/xfs/mkfs/defaults
 to override selected built-in parameter defaults.
 If
 .B configuration
@@ -155,7 +155,7 @@  Otherwise,
 will search for
 .B configuration
 first in the current working directory, and then in the
-.B /etc/xfs/mkfs/
+.B @sysconfdir@/xfs/mkfs/
 directory.
 See also the CONFIGURATION FILE FORMAT section below.
 .TP
@@ -958,7 +958,7 @@  Do not attempt to discard blocks at mkfs time.
 Prints the version number and exits.
 .SH CONFIGURATION FILE FORMAT
 The optional default configuration file in
-.B /etc/xfs/mkfs/default
+.B @sysconfdir@/xfs/mkfs/default
 as well as any alternate configuration file specified via the
 .B \-c
 option follow a simple ini-style format as shown below.