From 618a65cd7a77b0b5a27ccdd3e0ff4f80cd14404f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= Date: Mon, 10 May 2021 17:24:59 +0200 Subject: [PATCH] Widen mancheck target to all pages, fix them MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit mandoc: ./man/man8/zfs-mount-generator.8.in:188:2: ERROR: skipping end of block that is not open: RE mandoc: ./man/man8/zfs_ids_to_path.8:38:2: ERROR: skipping unknown macro: .LP mandoc: ./man/man8/zfs_ids_to_path.8:48:2: ERROR: inserting missing end of block: Sh breaks Bl mandoc: ./man/man8/zfs-wait.8:69:2: ERROR: skipping end of block that is not open: El mandoc: ./man/man8/zfs-program.8:460:2: ERROR: inserting missing end of block: It breaks Bd mandoc: ./man/man8/zfs-mount-generator.8:188:2: ERROR: skipping end of block that is not open: RE mandoc: ./man/man8/zstream.8:43:2: ERROR: skipping unknown macro: .LP mandoc: ./man/man8/zstream.8:107:2: ERROR: inserting missing end of block: Sh breaks Bl mandoc: ./man/man8/zstream.8:107:2: ERROR: inserting missing end of block: Sh breaks Bl make: *** [Makefile:1529: mancheck] Error 1 Reviewed-by: Brian Behlendorf Signed-off-by: Ahelenia ZiemiaƄska Issue #12017 --- Makefile.am | 6 ++---- man/man8/zfs-mount-generator.8.in | 1 - man/man8/zfs-program.8 | 1 + man/man8/zfs-wait.8 | 1 - man/man8/zfs_ids_to_path.8 | 2 +- man/man8/zstream.8 | 3 ++- 6 files changed, 6 insertions(+), 8 deletions(-) diff --git a/Makefile.am b/Makefile.am index 30c61dda2..c44d64df0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -169,10 +169,8 @@ checkbashisms: PHONY += mancheck mancheck: @if type mandoc > /dev/null 2>&1; then \ - find ${top_srcdir}/man/man8 -type f -name 'zfs.8' \ - -o -name 'zpool.8' -o -name 'zdb.8' \ - -o -name 'zgenhostid.8' | \ - xargs mandoc -Tlint -Werror; \ + find ${top_srcdir}/man/man8 -type f -name '*[1-9]*' \ + -exec mandoc -Tlint -Werror {} \+; \ else \ echo "skipping mancheck because mandoc is not installed"; \ fi diff --git a/man/man8/zfs-mount-generator.8.in b/man/man8/zfs-mount-generator.8.in index 3b8c9c3ae..96fee4291 100644 --- a/man/man8/zfs-mount-generator.8.in +++ b/man/man8/zfs-mount-generator.8.in @@ -185,7 +185,6 @@ If set to .BR on , do not generate a mount unit for this dataset. -.RE See also .BR systemd.mount (5) diff --git a/man/man8/zfs-program.8 b/man/man8/zfs-program.8 index de708e12c..02251ae7c 100644 --- a/man/man8/zfs-program.8 +++ b/man/man8/zfs-program.8 @@ -457,6 +457,7 @@ newbookmark (string) .Bd -ragged -compact -offset "xxxx" Full name of the new bookmark. .El +.Ed .It Sy zfs.check submodule For each function in the zfs.sync submodule, there is a corresponding zfs.check function which performs a "dry run" of the same operation. diff --git a/man/man8/zfs-wait.8 b/man/man8/zfs-wait.8 index de78a5092..9213fa20f 100644 --- a/man/man8/zfs-wait.8 +++ b/man/man8/zfs-wait.8 @@ -66,6 +66,5 @@ Note that the internal delete queue does not finish draining until all large files have had time to be fully destroyed and all open file handles to unlinked files are closed. .El -.El .Sh SEE ALSO .Xr lsof 8 diff --git a/man/man8/zfs_ids_to_path.8 b/man/man8/zfs_ids_to_path.8 index 9d6a4976e..4f7b8429e 100644 --- a/man/man8/zfs_ids_to_path.8 +++ b/man/man8/zfs_ids_to_path.8 @@ -35,7 +35,6 @@ .Nm .Sh DESCRIPTION .Pp -.LP The .Sy zfs_ids_to_path utility converts a provided objset and object id into a path to the file that @@ -45,6 +44,7 @@ those ids refer to. Verbose. Print the dataset name and the file path within the dataset separately. This will work correctly even if the dataset is not mounted. +.El .Sh SEE ALSO .Xr zfs 8 , .Xr zdb 8 diff --git a/man/man8/zstream.8 b/man/man8/zstream.8 index 6056e097b..2912f10c6 100644 --- a/man/man8/zstream.8 +++ b/man/man8/zstream.8 @@ -40,7 +40,6 @@ .Ar resume_token .Sh DESCRIPTION .sp -.LP The .Sy zstream utility manipulates zfs send streams, which are the output of the @@ -104,6 +103,8 @@ Therefore, a deduplicated send stream can be received by running: .It Fl v Verbose. Print summary of converted records. +.El +.El .Sh SEE ALSO .Xr zfs 8 , .Xr zfs-send 8 ,