Skip to contentSkip to conversation

mkfs: document sample configuration file location

PATCH Darrick J. Wong 2 participants 3 messages Dec 17, 2021

lore
Share & tools
lore
#0 lore raw

From: Darrick J. Wong <[email protected]>

Update the documentation to note where one can find sample configuration files.

---
 man/man8/mkfs.xfs.8 |    1 +
 1 file changed, 1 insertion(+)
man/man8/mkfs.xfs.8 +1 -0
index 4d292dbe..7984f818 100644
@@ -159,6 +159,7 @@ The configuration options will be sourced from the file specified by the
 option string.
 This option can be use either an absolute or relative path to the configuration
 file to be read.
+Sample configuration files can be found in /usr/share/xfsprogs/mkfs/.
 .RE
 .PP
 .PD 0
#1 lore raw
Quoted 15 lines · Darrick J. Wong

From: Darrick J. Wong <[email protected]>

Update the documentation to note where one can find sample configuration files.

---
  man/man8/mkfs.xfs.8 |    1 +
  1 file changed, 1 insertion(+)
man/man8/mkfs.xfs.8 +0 -0
index 4d292dbe..7984f818 100644

man/man8/mkfs.xfs.8 The configuration options will be sourced from the file specified by the · line 162

Quoted 4 lines
man/man8/mkfs.xfs.8 +1 -0
@@ -159,6 +159,7 @@ The configuration options will be sourced from the file specified by the
  option string.
  This option can be use either an absolute or relative path to the configuration
  file to be read.
+Sample configuration files can be found in /usr/share/xfsprogs/mkfs/.

That path is actually configure-time configurable, right, so ... sorry for being a PITA but I'm not sure we should cite a definitive location like that in the manpage ..?

Quoted 4 lines
man/man8/mkfs.xfs.8 +0 -0
  .RE
  .PP
  .PD 0
#2 lore raw
Quoted 13 lines · Eric Sandeen
Quoted 10 lines · Darrick J. Wong

From: Darrick J. Wong <[email protected]>

Update the documentation to note where one can find sample configuration files.

---
  man/man8/mkfs.xfs.8 |    1 +
  1 file changed, 1 insertion(+)
Quoted 13 lines

man/man8/mkfs.xfs.8 The configuration options will be sourced from the file specified by the · line 162

Quoted 9 lines
man/man8/mkfs.xfs.8 +1 -0
index 4d292dbe..7984f818 100644
@@ -159,6 +159,7 @@ The configuration options will be sourced from the file specified by the
  option string.
  This option can be use either an absolute or relative path to the configuration
  file to be read.
+Sample configuration files can be found in /usr/share/xfsprogs/mkfs/.

That path is actually configure-time configurable, right, so ... sorry for being a PITA but I'm not sure we should cite a definitive location like that in the manpage ..?

Yeah, you're right, this should be autogenerated via sed or something.

--D

Quoted 5 lines
Quoted 5 lines
man/man8/mkfs.xfs.8 +0 -0
  .RE
  .PP
  .PD 0