Remove hard coded "Linux" OS from manpages

The recommended practice for `.Os` on FreeBSD is to not specify any
arguments.  The correct OS name is used automatically.

Oddly enough, on the Linux distro I tested this on (CentOS 7), the man
pager defaulted to displaying "BSD" as the OS rather than "Linux".  To
accommodate this, tack " Linux" back on in an install hook on Linux.
This is much simpler than removing it for FreeBSD when vendored in the
base system.

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #10760
This commit is contained in:
Ryan Moeller
2020-08-21 14:55:47 -04:00
committed by GitHub
parent 64025fa3a1
commit 6706552ea6
65 changed files with 92 additions and 62 deletions
+1 -1
View File
@@ -29,7 +29,7 @@
.\"
.Dd August 9, 2019
.Dt ZPOOL-INITIALIZE 8
.Os Linux
.Os
.Sh NAME
.Nm zpool Ns Pf - Cm initialize
.Nd Write to all unallocated regions of eligible devices in a ZFS storage pool