summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Moeller <[email protected]>2020-08-21 14:55:47 -0400
committerGitHub <[email protected]>2020-08-21 11:55:47 -0700
commit6706552ea6bdc74122b530ba5e8a6956f5160428 (patch)
tree826d23b023b7676ff90e202455ed25c5d233d7c8
parent64025fa3a1f0f710f7f8678f2ac459b07ed9f88f (diff)
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 <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ryan Moeller <[email protected]> Closes #10760
-rw-r--r--man/man1/Makefile.am10
-rw-r--r--man/man1/zvol_wait.12
-rw-r--r--man/man5/Makefile.am10
-rw-r--r--man/man8/Makefile.am10
-rw-r--r--man/man8/zdb.82
-rw-r--r--man/man8/zfs-allow.82
-rw-r--r--man/man8/zfs-bookmark.82
-rw-r--r--man/man8/zfs-clone.82
-rw-r--r--man/man8/zfs-create.82
-rw-r--r--man/man8/zfs-destroy.82
-rw-r--r--man/man8/zfs-diff.82
-rw-r--r--man/man8/zfs-hold.82
-rw-r--r--man/man8/zfs-list.82
-rw-r--r--man/man8/zfs-load-key.82
-rw-r--r--man/man8/zfs-mount.82
-rw-r--r--man/man8/zfs-project.82
-rw-r--r--man/man8/zfs-promote.82
-rw-r--r--man/man8/zfs-receive.82
-rw-r--r--man/man8/zfs-rename.82
-rw-r--r--man/man8/zfs-rollback.82
-rw-r--r--man/man8/zfs-send.82
-rw-r--r--man/man8/zfs-set.82
-rw-r--r--man/man8/zfs-share.82
-rw-r--r--man/man8/zfs-snapshot.82
-rw-r--r--man/man8/zfs-upgrade.82
-rw-r--r--man/man8/zfs-userspace.82
-rw-r--r--man/man8/zfs-wait.82
-rw-r--r--man/man8/zfs.82
-rw-r--r--man/man8/zfs_ids_to_path.82
-rw-r--r--man/man8/zfsconcepts.82
-rw-r--r--man/man8/zfsprops.82
-rw-r--r--man/man8/zgenhostid.82
-rw-r--r--man/man8/zpool-add.82
-rw-r--r--man/man8/zpool-attach.82
-rw-r--r--man/man8/zpool-checkpoint.82
-rw-r--r--man/man8/zpool-clear.82
-rw-r--r--man/man8/zpool-create.82
-rw-r--r--man/man8/zpool-destroy.82
-rw-r--r--man/man8/zpool-detach.82
-rw-r--r--man/man8/zpool-events.82
-rw-r--r--man/man8/zpool-export.82
-rw-r--r--man/man8/zpool-get.82
-rw-r--r--man/man8/zpool-history.82
-rw-r--r--man/man8/zpool-import.82
-rw-r--r--man/man8/zpool-initialize.82
-rw-r--r--man/man8/zpool-iostat.82
-rw-r--r--man/man8/zpool-labelclear.82
-rw-r--r--man/man8/zpool-list.82
-rw-r--r--man/man8/zpool-offline.82
-rw-r--r--man/man8/zpool-reguid.82
-rw-r--r--man/man8/zpool-remove.82
-rw-r--r--man/man8/zpool-reopen.82
-rw-r--r--man/man8/zpool-replace.82
-rw-r--r--man/man8/zpool-resilver.82
-rw-r--r--man/man8/zpool-scrub.82
-rw-r--r--man/man8/zpool-split.82
-rw-r--r--man/man8/zpool-status.82
-rw-r--r--man/man8/zpool-sync.82
-rw-r--r--man/man8/zpool-trim.82
-rw-r--r--man/man8/zpool-upgrade.82
-rw-r--r--man/man8/zpool-wait.82
-rw-r--r--man/man8/zpool.82
-rw-r--r--man/man8/zpoolconcepts.82
-rw-r--r--man/man8/zpoolprops.82
-rw-r--r--man/man8/zstream.82
65 files changed, 92 insertions, 62 deletions
diff --git a/man/man1/Makefile.am b/man/man1/Makefile.am
index cbfbcc0f3..8d7457a3e 100644
--- a/man/man1/Makefile.am
+++ b/man/man1/Makefile.am
@@ -1,2 +1,12 @@
dist_man_MANS = zhack.1 ztest.1 raidz_test.1 zvol_wait.1 arcstat.1
EXTRA_DIST = cstyle.1
+
+if BUILD_LINUX
+# The man pager in most Linux distros defaults to BSD instead of Linux
+# when .Os is blank, but leaving it blank makes things a lot easier on
+# FreeBSD when OpenZFS is vendored in the base system.
+install-data-hook:
+ cd $(DESTDIR)$(mandir)/man1; \
+ $(SED) ${ac_inplace} -e 's/^\.Os$$/.Os Linux/' \
+ $(dist_man_MANS)
+endif
diff --git a/man/man1/zvol_wait.1 b/man/man1/zvol_wait.1
index 0366da537..839e1f144 100644
--- a/man/man1/zvol_wait.1
+++ b/man/man1/zvol_wait.1
@@ -1,6 +1,6 @@
.Dd July 5, 2019
.Dt ZVOL_WAIT 1 SMM
-.Os Linux
+.Os
.Sh NAME
.Nm zvol_wait
.Nd Wait for ZFS volume links in
diff --git a/man/man5/Makefile.am b/man/man5/Makefile.am
index 08d04133b..9cbb2c08f 100644
--- a/man/man5/Makefile.am
+++ b/man/man5/Makefile.am
@@ -4,3 +4,13 @@ dist_man_MANS = \
spl-module-parameters.5 \
zfs-module-parameters.5 \
zfs-events.5
+
+if BUILD_LINUX
+# The man pager in most Linux distros defaults to BSD instead of Linux
+# when .Os is blank, but leaving it blank makes things a lot easier on
+# FreeBSD when OpenZFS is vendored in the base system.
+install-data-hook:
+ cd $(DESTDIR)$(mandir)/man5; \
+ $(SED) ${ac_inplace} -e 's/^\.Os$$/.Os Linux/' \
+ $(dist_man_MANS)
+endif
diff --git a/man/man8/Makefile.am b/man/man8/Makefile.am
index 366b4eb51..07f6aefa6 100644
--- a/man/man8/Makefile.am
+++ b/man/man8/Makefile.am
@@ -89,3 +89,13 @@ nodist_man_MANS = \
zfs-mount-generator.8
SUBSTFILES += $(nodist_man_MANS)
+
+if BUILD_LINUX
+# The man pager in most Linux distros defaults to BSD instead of Linux
+# when .Os is blank, but leaving it blank makes things a lot easier on
+# FreeBSD when OpenZFS is vendored in the base system.
+install-data-hook:
+ cd $(DESTDIR)$(mandir)/man8; \
+ $(SED) ${ac_inplace} -e 's/^\.Os$$/.Os Linux/' \
+ $(dist_man_MANS) $(nodist_man_MANS)
+endif
diff --git a/man/man8/zdb.8 b/man/man8/zdb.8
index 56cb02dce..79e42d29f 100644
--- a/man/man8/zdb.8
+++ b/man/man8/zdb.8
@@ -17,7 +17,7 @@
.\"
.Dd April 14, 2019
.Dt ZDB 8 SMM
-.Os Linux
+.Os
.Sh NAME
.Nm zdb
.Nd display zpool debugging and consistency information
diff --git a/man/man8/zfs-allow.8 b/man/man8/zfs-allow.8
index 2e1fc98e9..f32b29a72 100644
--- a/man/man8/zfs-allow.8
+++ b/man/man8/zfs-allow.8
@@ -32,7 +32,7 @@
.\"
.Dd June 30, 2019
.Dt ZFS-ALLOW 8
-.Os Linux
+.Os
.Sh NAME
.Nm zfs Ns Pf - Cm allow
.Nd Delegates ZFS administration permission for the file systems to non-privileged users.
diff --git a/man/man8/zfs-bookmark.8 b/man/man8/zfs-bookmark.8
index c1b48516d..3b2af8159 100644
--- a/man/man8/zfs-bookmark.8
+++ b/man/man8/zfs-bookmark.8
@@ -33,7 +33,7 @@
.\"
.Dd June 30, 2019
.Dt ZFS-BOOKMARK 8 SMM
-.Os Linux
+.Os
.Sh NAME
.Nm zfs Ns Pf - Cm bookmark
.Nd Creates a bookmark of the given snapshot.
diff --git a/man/man8/zfs-clone.8 b/man/man8/zfs-clone.8
index 5daf3bde2..352a2392f 100644
--- a/man/man8/zfs-clone.8
+++ b/man/man8/zfs-clone.8
@@ -32,7 +32,7 @@
.\"
.Dd June 30, 2019
.Dt ZFS-CLONE 8
-.Os Linux
+.Os
.Sh NAME
.Nm zfs Ns Pf - Cm clone
.Nd Creates a clone of the given snapshot.
diff --git a/man/man8/zfs-create.8 b/man/man8/zfs-create.8
index 24ad77d02..c37d63305 100644
--- a/man/man8/zfs-create.8
+++ b/man/man8/zfs-create.8
@@ -32,7 +32,7 @@
.\"
.Dd June 30, 2019
.Dt ZFS-CREATE 8
-.Os Linux
+.Os
.Sh NAME
.Nm zfs Ns Pf - Cm create
.Nd Creates a new ZFS file system.
diff --git a/man/man8/zfs-destroy.8 b/man/man8/zfs-destroy.8
index edd9ee809..99ae33d5e 100644
--- a/man/man8/zfs-destroy.8
+++ b/man/man8/zfs-destroy.8
@@ -32,7 +32,7 @@
.\"
.Dd June 30, 2019
.Dt ZFS-DESTROY 8
-.Os Linux
+.Os
.Sh NAME
.Nm zfs Ns Pf - Cm destroy
.Nd Destroys the given dataset(s), snapshot(s), or bookmark.
diff --git a/man/man8/zfs-diff.8 b/man/man8/zfs-diff.8
index e1c19df7d..bcc12f7cb 100644
--- a/man/man8/zfs-diff.8
+++ b/man/man8/zfs-diff.8
@@ -32,7 +32,7 @@
.\"
.Dd June 30, 2019
.Dt ZFS-DIFF 8
-.Os Linux
+.Os
.Sh NAME
.Nm zfs Ns Pf - Cm diff
.Nd Display the difference between two snapshots of a given filesystem.
diff --git a/man/man8/zfs-hold.8 b/man/man8/zfs-hold.8
index 200c17ebf..de30caab1 100644
--- a/man/man8/zfs-hold.8
+++ b/man/man8/zfs-hold.8
@@ -32,7 +32,7 @@
.\"
.Dd June 30, 2019
.Dt ZFS-HOLD 8
-.Os Linux
+.Os
.Sh NAME
.Nm zfs Ns Pf - Cm hold
.Nd Hold a snapshot to prevent it being removed with the zfs destroy command.
diff --git a/man/man8/zfs-list.8 b/man/man8/zfs-list.8
index 54292eb1c..ad2b57e6d 100644
--- a/man/man8/zfs-list.8
+++ b/man/man8/zfs-list.8
@@ -32,7 +32,7 @@
.\"
.Dd June 30, 2019
.Dt ZFS-LIST 8
-.Os Linux
+.Os
.Sh NAME
.Nm zfs Ns Pf - Cm list
.Nd Lists the property information for the given datasets in tabular form.
diff --git a/man/man8/zfs-load-key.8 b/man/man8/zfs-load-key.8
index 158f69b0a..72248b696 100644
--- a/man/man8/zfs-load-key.8
+++ b/man/man8/zfs-load-key.8
@@ -32,7 +32,7 @@
.\"
.Dd January 13, 2020
.Dt ZFS-LOAD-KEY 8
-.Os Linux
+.Os
.Sh NAME
.Nm zfs Ns Pf - Cm load-key
.Nd Load, unload, or change the encryption key used to access a dataset.
diff --git a/man/man8/zfs-mount.8 b/man/man8/zfs-mount.8
index 5e922f84b..feddafb28 100644
--- a/man/man8/zfs-mount.8
+++ b/man/man8/zfs-mount.8
@@ -32,7 +32,7 @@
.\"
.Dd February 16, 2019
.Dt ZFS-MOUNT 8
-.Os Linux
+.Os
.Sh NAME
.Nm zfs Ns Pf - Cm mount
.Nd Manage mount state of ZFS file systems.
diff --git a/man/man8/zfs-project.8 b/man/man8/zfs-project.8
index 3fd7f11e6..d3171c05c 100644
--- a/man/man8/zfs-project.8
+++ b/man/man8/zfs-project.8
@@ -32,7 +32,7 @@
.\"
.Dd June 30, 2019
.Dt ZFS-PROJECT 8
-.Os Linux
+.Os
.Sh NAME
.Nm zfs Ns Pf - Cm project
.Nd List, set, or clear project ID and/or inherit flag on the file(s) or directories.
diff --git a/man/man8/zfs-promote.8 b/man/man8/zfs-promote.8
index 9e1893f43..08cd8b2b9 100644
--- a/man/man8/zfs-promote.8
+++ b/man/man8/zfs-promote.8
@@ -32,7 +32,7 @@
.\"
.Dd June 30, 2019
.Dt ZFS-PROMOTE 8
-.Os Linux
+.Os
.Sh NAME
.Nm zfs Ns Pf - Cm promote
.Nd Promotes a clone file system to no longer be dependent on its origin snapshot.
diff --git a/man/man8/zfs-receive.8 b/man/man8/zfs-receive.8
index 2d799a2da..3cd17fea4 100644
--- a/man/man8/zfs-receive.8
+++ b/man/man8/zfs-receive.8
@@ -32,7 +32,7 @@
.\"
.Dd February 16, 2020
.Dt ZFS-RECEIVE 8
-.Os Linux
+.Os
.Sh NAME
.Nm zfs Ns Pf - Cm receive
.Nd Creates a snapshot whose contents are as specified in the stream provided on standard input.
diff --git a/man/man8/zfs-rename.8 b/man/man8/zfs-rename.8
index 272538398..9d650709a 100644
--- a/man/man8/zfs-rename.8
+++ b/man/man8/zfs-rename.8
@@ -32,7 +32,7 @@
.\"
.Dd June 30, 2019
.Dt ZFS-RENAME 8
-.Os Linux
+.Os
.Sh NAME
.Nm zfs Ns Pf - Cm rename
.Nd Renames the given dataset (filesystem or snapshot).
diff --git a/man/man8/zfs-rollback.8 b/man/man8/zfs-rollback.8
index 2100f595d..1078efd8a 100644
--- a/man/man8/zfs-rollback.8
+++ b/man/man8/zfs-rollback.8
@@ -32,7 +32,7 @@
.\"
.Dd June 30, 2019
.Dt ZFS-ROLLBACK 8
-.Os Linux
+.Os
.Sh NAME
.Nm zfs Ns Pf - Cm rollback
.Nd Roll back the given dataset to a previous snapshot.
diff --git a/man/man8/zfs-send.8 b/man/man8/zfs-send.8
index c1b2134d1..8b7f940eb 100644
--- a/man/man8/zfs-send.8
+++ b/man/man8/zfs-send.8
@@ -32,7 +32,7 @@
.\"
.Dd June 30, 2019
.Dt ZFS-SEND 8
-.Os Linux
+.Os
.Sh NAME
.Nm zfs Ns Pf - Cm send
.Nd Generate a send stream, which may be of a filesystem, and may be incremental from a bookmark.
diff --git a/man/man8/zfs-set.8 b/man/man8/zfs-set.8
index f1aeef15d..5b4348ba9 100644
--- a/man/man8/zfs-set.8
+++ b/man/man8/zfs-set.8
@@ -32,7 +32,7 @@
.\"
.Dd June 30, 2019
.Dt ZFS-SET 8
-.Os Linux
+.Os
.Sh NAME
.Nm zfs Ns Pf - Cm set
.Nd Sets the property or list of properties to the given value(s) for each dataset.
diff --git a/man/man8/zfs-share.8 b/man/man8/zfs-share.8
index 3b0ef791e..cb0131033 100644
--- a/man/man8/zfs-share.8
+++ b/man/man8/zfs-share.8
@@ -32,7 +32,7 @@
.\"
.Dd June 30, 2019
.Dt ZFS-SHARE 8
-.Os Linux
+.Os
.Sh NAME
.Nm zfs Ns Pf - Cm share
.Nd Shares and unshares available ZFS filesystems.
diff --git a/man/man8/zfs-snapshot.8 b/man/man8/zfs-snapshot.8
index b8d8367f8..618d41d22 100644
--- a/man/man8/zfs-snapshot.8
+++ b/man/man8/zfs-snapshot.8
@@ -32,7 +32,7 @@
.\"
.Dd June 30, 2019
.Dt ZFS-SNAPSHOT 8
-.Os Linux
+.Os
.Sh NAME
.Nm zfs Ns Pf - Cm snapshot
.Nd Creates snapshots with the given names.
diff --git a/man/man8/zfs-upgrade.8 b/man/man8/zfs-upgrade.8
index 6cd06e2c9..742d5d7bd 100644
--- a/man/man8/zfs-upgrade.8
+++ b/man/man8/zfs-upgrade.8
@@ -32,7 +32,7 @@
.\"
.Dd June 30, 2019
.Dt ZFS-UPGRADE 8
-.Os Linux
+.Os
.Sh NAME
.Nm zfs Ns Pf - Cm upgrade
.Nd Manage upgrading the on-disk version of filesystems.
diff --git a/man/man8/zfs-userspace.8 b/man/man8/zfs-userspace.8
index 50bca9115..a8477d16a 100644
--- a/man/man8/zfs-userspace.8
+++ b/man/man8/zfs-userspace.8
@@ -32,7 +32,7 @@
.\"
.Dd June 30, 2019
.Dt ZFS-USERSPACE 8
-.Os Linux
+.Os
.Sh NAME
.Nm zfs Ns Pf - Cm userspace
.Nd Displays space consumed by, and quotas on, each user or group in the specified filesystem or snapshot.
diff --git a/man/man8/zfs-wait.8 b/man/man8/zfs-wait.8
index dcc679bb0..e7e3decb9 100644
--- a/man/man8/zfs-wait.8
+++ b/man/man8/zfs-wait.8
@@ -29,7 +29,7 @@
.\"
.Dd August 9, 2019
.Dt ZFS-WAIT 8
-.Os Linux
+.Os
.Sh NAME
.Nm zfs Ns Pf - Cm wait
.Nd Wait for background activity to stop in a ZFS filesystem
diff --git a/man/man8/zfs.8 b/man/man8/zfs.8
index 47cf45a99..92135c986 100644
--- a/man/man8/zfs.8
+++ b/man/man8/zfs.8
@@ -39,7 +39,7 @@
.\"
.Dd June 30, 2019
.Dt ZFS 8
-.Os Linux
+.Os
.Sh NAME
.Nm zfs
.Nd configures ZFS file systems
diff --git a/man/man8/zfs_ids_to_path.8 b/man/man8/zfs_ids_to_path.8
index d97071599..9d6a4976e 100644
--- a/man/man8/zfs_ids_to_path.8
+++ b/man/man8/zfs_ids_to_path.8
@@ -22,7 +22,7 @@
.\" Copyright (c) 2020 by Delphix. All rights reserved.
.Dd April 17, 2020
.Dt ZFS_IDS_TO_PATH 8
-.Os Linux
+.Os
.Sh NAME
.Nm zfs_ids_to_path
.Nd convert objset and object ids to names and paths
diff --git a/man/man8/zfsconcepts.8 b/man/man8/zfsconcepts.8
index 6eeb897b4..8e0e68678 100644
--- a/man/man8/zfsconcepts.8
+++ b/man/man8/zfsconcepts.8
@@ -32,7 +32,7 @@
.\"
.Dd June 30, 2019
.Dt ZFSCONCEPTS 8
-.Os Linux
+.Os
.Sh NAME
.Nm zfsconcepts
.Nd An overview of ZFS concepts.
diff --git a/man/man8/zfsprops.8 b/man/man8/zfsprops.8
index 11ec29832..a4e2829e3 100644
--- a/man/man8/zfsprops.8
+++ b/man/man8/zfsprops.8
@@ -40,7 +40,7 @@
.\"
.Dd January 30, 2020
.Dt ZFSPROPS 8
-.Os Linux
+.Os
.Sh NAME
.Nm zfsprops
.Nd Native properties and user-defined of ZFS datasets.
diff --git a/man/man8/zgenhostid.8 b/man/man8/zgenhostid.8
index 607efe17f..ff3d2d960 100644
--- a/man/man8/zgenhostid.8
+++ b/man/man8/zgenhostid.8
@@ -23,7 +23,7 @@
.\"
.Dd September 16, 2017
.Dt ZGENHOSTID 8 SMM
-.Os Linux
+.Os
.Sh NAME
.Nm zgenhostid
.Nd generate and store a hostid in
diff --git a/man/man8/zpool-add.8 b/man/man8/zpool-add.8
index 1fceed5f0..e8adc353a 100644
--- a/man/man8/zpool-add.8
+++ b/man/man8/zpool-add.8
@@ -28,7 +28,7 @@
.\"
.Dd August 9, 2019
.Dt ZPOOL-ADD 8
-.Os Linux
+.Os
.Sh NAME
.Nm zpool Ns Pf - Cm add
.Nd Adds specified virtual devices to a ZFS storage pool
diff --git a/man/man8/zpool-attach.8 b/man/man8/zpool-attach.8
index 585357b96..03e04436d 100644
--- a/man/man8/zpool-attach.8
+++ b/man/man8/zpool-attach.8
@@ -29,7 +29,7 @@
.\"
.Dd May 15, 2020
.Dt ZPOOL-ATTACH 8
-.Os Linux
+.Os
.Sh NAME
.Nm zpool Ns Pf - Cm attach
.Nd Attach a new device to an existing ZFS virtual device (vdev).
diff --git a/man/man8/zpool-checkpoint.8 b/man/man8/zpool-checkpoint.8
index bcb01d2eb..df04c8819 100644
--- a/man/man8/zpool-checkpoint.8
+++ b/man/man8/zpool-checkpoint.8
@@ -29,7 +29,7 @@
.\"
.Dd August 9, 2019
.Dt ZPOOL-CHECKPOINT 8
-.Os Linux
+.Os
.Sh NAME
.Nm zpool Ns Pf - Cm checkpoint
.Nd Checkpoints the current state of a ZFS storage pool
diff --git a/man/man8/zpool-clear.8 b/man/man8/zpool-clear.8
index c8d16abb9..ee7a6a255 100644
--- a/man/man8/zpool-clear.8
+++ b/man/man8/zpool-clear.8
@@ -29,7 +29,7 @@
.\"
.Dd August 9, 2019
.Dt ZPOOL-CLEAR 8
-.Os Linux
+.Os
.Sh NAME
.Nm zpool Ns Pf - Cm clear
.Nd Clears device errors in a ZFS storage pool.
diff --git a/man/man8/zpool-create.8 b/man/man8/zpool-create.8
index 646c72dcc..0676a67f9 100644
--- a/man/man8/zpool-create.8
+++ b/man/man8/zpool-create.8
@@ -29,7 +29,7 @@
.\"
.Dd August 9, 2019
.Dt ZPOOL-CREATE 8
-.Os Linux
+.Os
.Sh NAME
.Nm zpool Ns Pf - Cm create
.Nd Creates a new ZFS storage pool
diff --git a/man/man8/zpool-destroy.8 b/man/man8/zpool-destroy.8
index 8f35f9f37..9eace1983 100644
--- a/man/man8/zpool-destroy.8
+++ b/man/man8/zpool-destroy.8
@@ -29,7 +29,7 @@
.\"
.Dd August 9, 2019
.Dt ZPOOL-DESTROY 8
-.Os Linux
+.Os
.Sh NAME
.Nm zpool Ns Pf - Cm destroy
.Nd Destroys the given ZFS storage pool, freeing up any devices for other use
diff --git a/man/man8/zpool-detach.8 b/man/man8/zpool-detach.8
index 2cd030c8e..dab8871ce 100644
--- a/man/man8/zpool-detach.8
+++ b/man/man8/zpool-detach.8
@@ -29,7 +29,7 @@
.\"
.Dd August 9, 2019
.Dt ZPOOL-DETACH 8
-.Os Linux
+.Os
.Sh NAME
.Nm zpool Ns Pf - Cm detach
.Nd Detaches a device from a ZFS mirror vdev (virtual device)
diff --git a/man/man8/zpool-events.8 b/man/man8/zpool-events.8
index 14886c3ca..e5887a1d8 100644
--- a/man/man8/zpool-events.8
+++ b/man/man8/zpool-events.8
@@ -29,7 +29,7 @@
.\"
.Dd August 9, 2019
.Dt ZPOOL-EVENTS 8
-.Os Linux
+.Os
.Sh NAME
.Nm zpool Ns Pf - Cm events
.Nd Lists all recent events generated by the ZFS kernel modules
diff --git a/man/man8/zpool-export.8 b/man/man8/zpool-export.8
index 32e36799c..afe185c98 100644
--- a/man/man8/zpool-export.8
+++ b/man/man8/zpool-export.8
@@ -29,7 +29,7 @@
.\"
.Dd February 16, 2020
.Dt ZPOOL-EXPORT 8
-.Os Linux
+.Os
.Sh NAME
.Nm zpool Ns Pf - Cm export
.Nd Exports the given ZFS storage pools from the system
diff --git a/man/man8/zpool-get.8 b/man/man8/zpool-get.8
index 235b7ed6f..fbe341a8c 100644
--- a/man/man8/zpool-get.8
+++ b/man/man8/zpool-get.8
@@ -29,7 +29,7 @@
.\"
.Dd August 9, 2019
.Dt ZPOOL-GET 8
-.Os Linux
+.Os
.Sh NAME
.Nm zpool Ns Pf - Cm get
.Nd Retrieves properties for the specified ZFS storage pool(s)
diff --git a/man/man8/zpool-history.8 b/man/man8/zpool-history.8
index b2ac93c1e..73fb27449 100644
--- a/man/man8/zpool-history.8
+++ b/man/man8/zpool-history.8
@@ -29,7 +29,7 @@
.\"
.Dd August 9, 2019
.Dt ZPOOL-HISTORY 8
-.Os Linux
+.Os
.Sh NAME
.Nm zpool Ns Pf - Cm history
.Nd Displays the command history of the specified ZFS storage pool(s)
diff --git a/man/man8/zpool-import.8 b/man/man8/zpool-import.8
index 3ff0d8ef3..6db5b0a45 100644
--- a/man/man8/zpool-import.8
+++ b/man/man8/zpool-import.8
@@ -29,7 +29,7 @@
.\"
.Dd August 9, 2019
.Dt ZPOOL-IMPORT 8
-.Os Linux
+.Os
.Sh NAME
.Nm zpool Ns Pf - Cm import
.Nd Lists ZFS storage pools available to import or import the specified pools
diff --git a/man/man8/zpool-initialize.8 b/man/man8/zpool-initialize.8
index 95231e3ea..e8bf656e4 100644
--- a/man/man8/zpool-initialize.8
+++ b/man/man8/zpool-initialize.8
@@ -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
diff --git a/man/man8/zpool-iostat.8 b/man/man8/zpool-iostat.8
index 52d800329..c318dcd74 100644
--- a/man/man8/zpool-iostat.8
+++ b/man/man8/zpool-iostat.8
@@ -29,7 +29,7 @@
.\"
.Dd August 9, 2019
.Dt ZPOOL-IOSTAT 8
-.Os Linux
+.Os
.Sh NAME
.Nm zpool Ns Pf - Cm iostat
.Nd Display logical I/O statistics for the given ZFS storage pools/vdevs
diff --git a/man/man8/zpool-labelclear.8 b/man/man8/zpool-labelclear.8
index ef6b92e82..52c800561 100644
--- a/man/man8/zpool-labelclear.8
+++ b/man/man8/zpool-labelclear.8
@@ -29,7 +29,7 @@
.\"
.Dd August 9, 2019
.Dt ZPOOL-LABELCLEAR 8
-.Os Linux
+.Os
.Sh NAME
.Nm zpool Ns Pf - Cm labelclear
.Nd Removes ZFS label information from the specified physical device
diff --git a/man/man8/zpool-list.8 b/man/man8/zpool-list.8
index 8e5c05df3..5e8c6fe5c 100644
--- a/man/man8/zpool-list.8
+++ b/man/man8/zpool-list.8
@@ -29,7 +29,7 @@
.\"
.Dd August 9, 2019
.Dt ZPOOL-LIST 8
-.Os Linux
+.Os
.Sh NAME
.Nm zpool Ns Pf - Cm list
.Nd Lists ZFS storage pools along with a health status and space usage
diff --git a/man/man8/zpool-offline.8 b/man/man8/zpool-offline.8
index 70aae190d..cdcda141f 100644
--- a/man/man8/zpool-offline.8
+++ b/man/man8/zpool-offline.8
@@ -29,7 +29,7 @@
.\"
.Dd August 9, 2019
.Dt ZPOOL-OFFLINE 8
-.Os Linux
+.Os
.Sh NAME
.Nm zpool Ns Pf - Cm offline
.Nd Take a physical device in a ZFS storage pool offline
diff --git a/man/man8/zpool-reguid.8 b/man/man8/zpool-reguid.8
index 422a82e57..e73f421ad 100644
--- a/man/man8/zpool-reguid.8
+++ b/man/man8/zpool-reguid.8
@@ -29,7 +29,7 @@
.\"
.Dd August 9, 2019
.Dt ZPOOL-REGUID 8
-.Os Linux
+.Os
.Sh NAME
.Nm zpool Ns Pf - Cm reguid
.Nd Generate a new unique identifier for a ZFS storage pool
diff --git a/man/man8/zpool-remove.8 b/man/man8/zpool-remove.8
index b85236840..055f852fc 100644
--- a/man/man8/zpool-remove.8
+++ b/man/man8/zpool-remove.8
@@ -29,7 +29,7 @@
.\"
.Dd August 9, 2019
.Dt ZPOOL-REMOVE 8
-.Os Linux
+.Os
.Sh NAME
.Nm zpool Ns Pf - Cm remove
.Nd Remove a device from a ZFS storage pool
diff --git a/man/man8/zpool-reopen.8 b/man/man8/zpool-reopen.8
index 72f976065..206fedcc5 100644
--- a/man/man8/zpool-reopen.8
+++ b/man/man8/zpool-reopen.8
@@ -29,7 +29,7 @@
.\"
.Dd August 9, 2019
.Dt ZPOOL-REOPEN 8
-.Os Linux
+.Os
.Sh NAME
.Nm zpool Ns Pf - Cm reopen
.Nd Reopen all virtual devices (vdevs) associated with a ZFS storage pool
diff --git a/man/man8/zpool-replace.8 b/man/man8/zpool-replace.8
index 5e639feaf..32eaf77c0 100644
--- a/man/man8/zpool-replace.8
+++ b/man/man8/zpool-replace.8
@@ -29,7 +29,7 @@
.\"
.Dd May 15, 2020
.Dt ZPOOL-REPLACE 8
-.Os Linux
+.Os
.Sh NAME
.Nm zpool Ns Pf - Cm replace
.Nd Replace one device with another in a ZFS storage pool
diff --git a/man/man8/zpool-resilver.8 b/man/man8/zpool-resilver.8
index 6ef70873f..a804bea4a 100644
--- a/man/man8/zpool-resilver.8
+++ b/man/man8/zpool-resilver.8
@@ -29,7 +29,7 @@
.\"
.Dd August 9, 2019
.Dt ZPOOL-RESILVER 8
-.Os Linux
+.Os
.Sh NAME
.Nm zpool Ns Pf - Cm resilver
.Nd Start a resilver of a device in a ZFS storage pool
diff --git a/man/man8/zpool-scrub.8 b/man/man8/zpool-scrub.8
index 1dfb19f6f..a56247955 100644
--- a/man/man8/zpool-scrub.8
+++ b/man/man8/zpool-scrub.8
@@ -29,7 +29,7 @@
.\"
.Dd August 9, 2019
.Dt ZPOOL-SCRUB 8
-.Os Linux
+.Os
.Sh NAME
.Nm zpool Ns Pf - Cm scrub
.Nd Begin a scrub or resume a paused scrub of a ZFS storage pool
diff --git a/man/man8/zpool-split.8 b/man/man8/zpool-split.8
index e3ca6fe9c..d2943e6e3 100644
--- a/man/man8/zpool-split.8
+++ b/man/man8/zpool-split.8
@@ -29,7 +29,7 @@
.\"
.Dd August 9, 2019
.Dt ZPOOL-SPLIT 8
-.Os Linux
+.Os
.Sh NAME
.Nm zpool Ns Pf - Cm split
.Nd Split devices off a ZFS storage pool creating a new pool
diff --git a/man/man8/zpool-status.8 b/man/man8/zpool-status.8
index 66e335995..c2fe76c03 100644
--- a/man/man8/zpool-status.8
+++ b/man/man8/zpool-status.8
@@ -29,7 +29,7 @@
.\"
.Dd May 15, 2020
.Dt ZPOOL-STATUS 8
-.Os Linux
+.Os
.Sh NAME
.Nm zpool Ns Pf - Cm status
.Nd Display detailed health status for the given ZFS storage pools
diff --git a/man/man8/zpool-sync.8 b/man/man8/zpool-sync.8
index e45531b7b..098fdde9e 100644
--- a/man/man8/zpool-sync.8
+++ b/man/man8/zpool-sync.8
@@ -29,7 +29,7 @@
.\"
.Dd August 9, 2019
.Dt ZPOOL-SYNC 8
-.Os Linux
+.Os
.Sh NAME
.Nm zpool Ns Pf - Cm sync
.Nd Force data to be written to primary storage of a ZFS storage pool and update reporting data
diff --git a/man/man8/zpool-trim.8 b/man/man8/zpool-trim.8
index 1a887bba5..eef58aae5 100644
--- a/man/man8/zpool-trim.8
+++ b/man/man8/zpool-trim.8
@@ -29,7 +29,7 @@
.\"
.Dd February 25, 2020
.Dt ZPOOL-TRIM 8
-.Os Linux
+.Os
.Sh NAME
.Nm zpool Ns Pf - Cm trim
.Nd Initiate immediate TRIM operations for all free space in a ZFS storage pool
diff --git a/man/man8/zpool-upgrade.8 b/man/man8/zpool-upgrade.8
index 99fe270cf..d23d0e0e6 100644
--- a/man/man8/zpool-upgrade.8
+++ b/man/man8/zpool-upgrade.8
@@ -29,7 +29,7 @@
.\"
.Dd August 9, 2019
.Dt ZPOOL-UPGRADE 8
-.Os Linux
+.Os
.Sh NAME
.Nm zpool Ns Pf - Cm upgrade
.Nd Manage version and feature flags of ZFS storage pools
diff --git a/man/man8/zpool-wait.8 b/man/man8/zpool-wait.8
index f035e3e7f..a3bdba669 100644
--- a/man/man8/zpool-wait.8
+++ b/man/man8/zpool-wait.8
@@ -29,7 +29,7 @@
.\"
.Dd February 25, 2020
.Dt ZPOOL-WAIT 8
-.Os Linux
+.Os
.Sh NAME
.Nm zpool Ns Pf - Cm wait
.Nd Wait for background activity to stop in a ZFS storage pool
diff --git a/man/man8/zpool.8 b/man/man8/zpool.8
index 505851bc4..c23fa0591 100644
--- a/man/man8/zpool.8
+++ b/man/man8/zpool.8
@@ -29,7 +29,7 @@
.\"
.Dd August 9, 2019
.Dt ZPOOL 8
-.Os Linux
+.Os
.Sh NAME
.Nm zpool
.Nd configure ZFS storage pools
diff --git a/man/man8/zpoolconcepts.8 b/man/man8/zpoolconcepts.8
index c2fc34971..f9c262f4b 100644
--- a/man/man8/zpoolconcepts.8
+++ b/man/man8/zpoolconcepts.8
@@ -29,7 +29,7 @@
.\"
.Dd August 9, 2019
.Dt ZPOOLCONCEPTS 8
-.Os Linux
+.Os
.Sh NAME
.Nm zpoolconcepts
.Nd overview of ZFS storage pools
diff --git a/man/man8/zpoolprops.8 b/man/man8/zpoolprops.8
index d85b6d436..5adbfb321 100644
--- a/man/man8/zpoolprops.8
+++ b/man/man8/zpoolprops.8
@@ -29,7 +29,7 @@
.\"
.Dd August 9, 2019
.Dt ZPOOLPROPS 8
-.Os Linux
+.Os
.Sh NAME
.Nm zpoolprops
.Nd available properties for ZFS storage pools
diff --git a/man/man8/zstream.8 b/man/man8/zstream.8
index f27d08c7b..6056e097b 100644
--- a/man/man8/zstream.8
+++ b/man/man8/zstream.8
@@ -22,7 +22,7 @@
.\" Copyright (c) 2020 by Delphix. All rights reserved.
.Dd March 25, 2020
.Dt ZSTREAM 8
-.Os Linux
+.Os
.Sh NAME
.Nm zstream
.Nd manipulate zfs send streams