From 6706552ea6bdc74122b530ba5e8a6956f5160428 Mon Sep 17 00:00:00 2001 From: Ryan Moeller Date: Fri, 21 Aug 2020 14:55:47 -0400 Subject: [PATCH] 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 Reviewed-by: Brian Behlendorf Signed-off-by: Ryan Moeller Closes #10760 --- man/man1/Makefile.am | 10 ++++++++++ man/man1/zvol_wait.1 | 2 +- man/man5/Makefile.am | 10 ++++++++++ man/man8/Makefile.am | 10 ++++++++++ man/man8/zdb.8 | 2 +- man/man8/zfs-allow.8 | 2 +- man/man8/zfs-bookmark.8 | 2 +- man/man8/zfs-clone.8 | 2 +- man/man8/zfs-create.8 | 2 +- man/man8/zfs-destroy.8 | 2 +- man/man8/zfs-diff.8 | 2 +- man/man8/zfs-hold.8 | 2 +- man/man8/zfs-list.8 | 2 +- man/man8/zfs-load-key.8 | 2 +- man/man8/zfs-mount.8 | 2 +- man/man8/zfs-project.8 | 2 +- man/man8/zfs-promote.8 | 2 +- man/man8/zfs-receive.8 | 2 +- man/man8/zfs-rename.8 | 2 +- man/man8/zfs-rollback.8 | 2 +- man/man8/zfs-send.8 | 2 +- man/man8/zfs-set.8 | 2 +- man/man8/zfs-share.8 | 2 +- man/man8/zfs-snapshot.8 | 2 +- man/man8/zfs-upgrade.8 | 2 +- man/man8/zfs-userspace.8 | 2 +- man/man8/zfs-wait.8 | 2 +- man/man8/zfs.8 | 2 +- man/man8/zfs_ids_to_path.8 | 2 +- man/man8/zfsconcepts.8 | 2 +- man/man8/zfsprops.8 | 2 +- man/man8/zgenhostid.8 | 2 +- man/man8/zpool-add.8 | 2 +- man/man8/zpool-attach.8 | 2 +- man/man8/zpool-checkpoint.8 | 2 +- man/man8/zpool-clear.8 | 2 +- man/man8/zpool-create.8 | 2 +- man/man8/zpool-destroy.8 | 2 +- man/man8/zpool-detach.8 | 2 +- man/man8/zpool-events.8 | 2 +- man/man8/zpool-export.8 | 2 +- man/man8/zpool-get.8 | 2 +- man/man8/zpool-history.8 | 2 +- man/man8/zpool-import.8 | 2 +- man/man8/zpool-initialize.8 | 2 +- man/man8/zpool-iostat.8 | 2 +- man/man8/zpool-labelclear.8 | 2 +- man/man8/zpool-list.8 | 2 +- man/man8/zpool-offline.8 | 2 +- man/man8/zpool-reguid.8 | 2 +- man/man8/zpool-remove.8 | 2 +- man/man8/zpool-reopen.8 | 2 +- man/man8/zpool-replace.8 | 2 +- man/man8/zpool-resilver.8 | 2 +- man/man8/zpool-scrub.8 | 2 +- man/man8/zpool-split.8 | 2 +- man/man8/zpool-status.8 | 2 +- man/man8/zpool-sync.8 | 2 +- man/man8/zpool-trim.8 | 2 +- man/man8/zpool-upgrade.8 | 2 +- man/man8/zpool-wait.8 | 2 +- man/man8/zpool.8 | 2 +- man/man8/zpoolconcepts.8 | 2 +- man/man8/zpoolprops.8 | 2 +- man/man8/zstream.8 | 2 +- 65 files changed, 92 insertions(+), 62 deletions(-) diff --git a/man/man1/Makefile.am b/man/man1/Makefile.am index cbfbcc0f36..8d7457a3e2 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 0366da5376..839e1f1447 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 08d04133bf..9cbb2c08f3 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 366b4eb510..07f6aefa68 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 56cb02dce7..79e42d29ff 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 2e1fc98e9c..f32b29a726 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 c1b48516da..3b2af81592 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 5daf3bde25..352a2392ff 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 24ad77d021..c37d63305a 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 edd9ee8094..99ae33d5ec 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 e1c19df7d5..bcc12f7cbb 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 200c17ebf2..de30caab15 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 54292eb1cb..ad2b57e6d6 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 158f69b0a8..72248b6962 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 5e922f84b0..feddafb28e 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 3fd7f11e6a..d3171c05c5 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 9e1893f43a..08cd8b2b94 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 2d799a2da6..3cd17fea4a 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 2725383989..9d650709a0 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 2100f595de..1078efd8a4 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 c1b2134d11..8b7f940eb7 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 f1aeef15d0..5b4348ba94 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 3b0ef791ef..cb01310337 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 b8d8367f80..618d41d22f 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 6cd06e2c92..742d5d7bd9 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 50bca91153..a8477d16a1 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 dcc679bb07..e7e3decb9d 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 47cf45a99e..92135c986e 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 d970715997..9d6a4976ef 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 6eeb897b47..8e0e686787 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 11ec29832c..a4e2829e3f 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 607efe17f8..ff3d2d960b 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 1fceed5f0d..e8adc353ac 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 585357b96d..03e04436df 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 bcb01d2eb7..df04c88191 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 c8d16abb92..ee7a6a2559 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 646c72dcce..0676a67f9f 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 8f35f9f377..9eace1983e 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 2cd030c8e7..dab8871cea 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 14886c3ca4..e5887a1d82 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 32e36799c6..afe185c98c 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 235b7ed6f7..fbe341a8cd 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 b2ac93c1e8..73fb27449d 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 3ff0d8ef36..6db5b0a455 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 95231e3ea8..e8bf656e4b 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 52d800329e..c318dcd747 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 ef6b92e82c..52c8005614 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 8e5c05df31..5e8c6fe5c9 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 70aae190d3..cdcda141f5 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 422a82e570..e73f421ade 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 b852368402..055f852fc7 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 72f9760653..206fedcc57 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 5e639feaf7..32eaf77c0c 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 6ef70873fe..a804bea4a3 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 1dfb19f6f4..a562479554 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 e3ca6fe9c9..d2943e6e37 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 66e3359957..c2fe76c038 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 e45531b7be..098fdde9e5 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 1a887bba5f..eef58aae5d 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 99fe270cf1..d23d0e0e6d 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 f035e3e7f1..a3bdba669e 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 505851bc4b..c23fa0591f 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 c2fc349710..f9c262f4be 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 d85b6d4362..5adbfb3211 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 f27d08c7b5..6056e097b0 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