Skip to content
Permalink
Browse files

Revert `.Os` macro changes

`.Os` macro parsing behavior differs between mandoc from
the "BSD" mandoc package (available on Ubuntu) and
man from Ubuntu's man-db package, which calls groff
to format the manpages.

Groff handles the `.Os` macro differently and wrongly,
defaulting it to "BSD" in `/usr/share/groff/*/tmac/mdoc/doc-common`,
instead of getting the default from `uname`.

A future set of changes will introduce build-time
preprocessing of manpages for platform-specific documentation
and can insert the correct operating system name.
  • Loading branch information...
overhacked committed Nov 7, 2019
1 parent a4fc031 commit 3d9ea05dfec1a492a01466d4e9b4e7b8570e2f88
@@ -32,7 +32,7 @@
.\"
.Dd June 30, 2019
.Dt ZFS-ALLOW 8
.Os
.Os Linux
.Sh NAME
.Nm zfs Ns Pf - Cm allow
.Nd Delegates ZFS administration permission for the file systems to non-privileged users.
@@ -32,7 +32,7 @@
.\"
.Dd June 30, 2019
.Dt ZFS-BOOKMARK 8 SMM
.Os
.Os Linux
.Sh NAME
.Nm zfs Ns Pf - Cm bookmark
.Nd Creates a bookmark of the given snapshot.
@@ -32,7 +32,7 @@
.\"
.Dd June 30, 2019
.Dt ZFS-CLONE 8
.Os
.Os Linux
.Sh NAME
.Nm zfs Ns Pf - Cm clone
.Nd Creates a clone of the given snapshot.
@@ -32,7 +32,7 @@
.\"
.Dd June 30, 2019
.Dt ZFS-CREATE 8
.Os
.Os Linux
.Sh NAME
.Nm zfs Ns Pf - Cm create
.Nd Creates a new ZFS file system.
@@ -32,7 +32,7 @@
.\"
.Dd June 30, 2019
.Dt ZFS-DESTROY 8
.Os
.Os Linux
.Sh NAME
.Nm zfs Ns Pf - Cm destroy
.Nd Destroys the given dataset(s), snapshot(s), or bookmark.
@@ -32,7 +32,7 @@
.\"
.Dd June 30, 2019
.Dt ZFS-DIFF 8
.Os
.Os Linux
.Sh NAME
.Nm zfs Ns Pf - Cm diff
.Nd Display the difference between two snapshots of a given filesystem.
@@ -32,7 +32,7 @@
.\"
.Dd June 30, 2019
.Dt ZFS-HOLD 8
.Os
.Os Linux
.Sh NAME
.Nm zfs Ns Pf - Cm hold
.Nd Hold a snapshot to prevent it being removed with the zfs destroy command.
@@ -32,7 +32,7 @@
.\"
.Dd June 30, 2019
.Dt ZFS-LIST 8
.Os
.Os Linux
.Sh NAME
.Nm zfs Ns Pf - Cm list
.Nd Lists the property information for the given datasets in tabular form.
@@ -32,7 +32,7 @@
.\"
.Dd June 30, 2019
.Dt ZFS-LOAD-KEY 8
.Os
.Os Linux
.Sh NAME
.Nm zfs Ns Pf - Cm load-key
.Nd Load, unload, or change the encryption key used to access a dataset.
@@ -32,7 +32,7 @@
.\"
.Dd June 30, 2019
.Dt ZFS-MOUNT 8
.Os
.Os Linux
.Sh NAME
.Nm zfs Ns Pf - Cm mount
.Nd Manage mount state of ZFS file systems.
@@ -32,7 +32,7 @@
.\"
.Dd June 30, 2019
.Dt ZFS-PROJECT 8
.Os
.Os Linux
.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.
@@ -32,7 +32,7 @@
.\"
.Dd June 30, 2019
.Dt ZFS-PROMOTE 8
.Os
.Os Linux
.Sh NAME
.Nm zfs Ns Pf - Cm promote
.Nd Promotes a clone file system to no longer be dependent on its origin snapshot.
@@ -32,7 +32,7 @@
.\"
.Dd June 30, 2019
.Dt ZFS-RECEIVE 8
.Os
.Os Linux
.Sh NAME
.Nm zfs Ns Pf - Cm receive
.Nd Creates a snapshot whose contents are as specified in the stream provided on standard input.
@@ -32,7 +32,7 @@
.\"
.Dd June 30, 2019
.Dt ZFS-RENAME 8
.Os
.Os Linux
.Sh NAME
.Nm zfs Ns Pf - Cm rename
.Nd Renames the given dataset (filesystem or snapshot).
@@ -32,7 +32,7 @@
.\"
.Dd June 30, 2019
.Dt ZFS-ROLLBACK 8
.Os
.Os Linux
.Sh NAME
.Nm zfs Ns Pf - Cm rollback
.Nd Roll back the given dataset to a previous snapshot.
@@ -32,7 +32,7 @@
.\"
.Dd June 30, 2019
.Dt ZFS-SEND 8
.Os
.Os Linux
.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.
@@ -32,7 +32,7 @@
.\"
.Dd June 30, 2019
.Dt ZFS-SET 8
.Os
.Os Linux
.Sh NAME
.Nm zfs Ns Pf - Cm set
.Nd Sets the property or list of properties to the given value(s) for each dataset.
@@ -32,7 +32,7 @@
.\"
.Dd June 30, 2019
.Dt ZFS-SHARE 8
.Os
.Os Linux
.Sh NAME
.Nm zfs Ns Pf - Cm share
.Nd Shares and unshares available ZFS filesystems.
@@ -32,7 +32,7 @@
.\"
.Dd June 30, 2019
.Dt ZFS-SNAPSHOT 8
.Os
.Os Linux
.Sh NAME
.Nm zfs Ns Pf - Cm snapshot
.Nd Creates snapshots with the given names.
@@ -32,7 +32,7 @@
.\"
.Dd June 30, 2019
.Dt ZFS-UPGRADE 8
.Os
.Os Linux
.Sh NAME
.Nm zfs Ns Pf - Cm upgrade
.Nd Manage upgrading the on-disk version of filesystems.
@@ -32,7 +32,7 @@
.\"
.Dd June 30, 2019
.Dt ZFS-USERSPACE 8
.Os
.Os Linux
.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.
@@ -32,7 +32,7 @@
.\"
.Dd June 30, 2019
.Dt ZFS 8
.Os
.Os Linux
.Sh NAME
.Nm zfs
.Nd configures ZFS file systems
@@ -32,7 +32,7 @@
.\"
.Dd June 30, 2019
.Dt ZFSCONCEPTS 8
.Os
.Os Linux
.Sh NAME
.Nm zfsconcepts
.Nd An overview of ZFS concepts.
@@ -32,7 +32,7 @@
.\"
.Dd June 30, 2019
.Dt ZFSPROPS 8
.Os
.Os Linux
.Sh NAME
.Nm zfsprops
.Nd Native properties and user-defined of ZFS datasets.

0 comments on commit 3d9ea05

Please sign in to comment.
You can’t perform that action at this time.