From 25995f940669bc5a0e313a1305717fd2fa2e588a Mon Sep 17 00:00:00 2001 From: Serapheim Dimitropoulos Date: Tue, 29 Aug 2023 09:12:40 -0700 Subject: [PATCH] checkstyle: fix action failures Reviewed-by: Don Brady Reviewed-by: Tony Hutter Reviewed-by: Brian Behlendorf Signed-off-by: Serapheim Dimitropoulos Closes #15220 --- cmd/zed/zed.d/statechange-slot_off.sh | 1 + man/man8/zpool.8 | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/cmd/zed/zed.d/statechange-slot_off.sh b/cmd/zed/zed.d/statechange-slot_off.sh index 9d218ddaa640..150012abe71a 100755 --- a/cmd/zed/zed.d/statechange-slot_off.sh +++ b/cmd/zed/zed.d/statechange-slot_off.sh @@ -1,4 +1,5 @@ #!/bin/sh +# shellcheck disable=SC3014,SC2154,SC2086,SC2034 # # Turn off disk's enclosure slot if it becomes FAULTED. # diff --git a/man/man8/zpool.8 b/man/man8/zpool.8 index 4e45890f1e26..4c4020bdd810 100644 --- a/man/man8/zpool.8 +++ b/man/man8/zpool.8 @@ -110,9 +110,9 @@ Removes ZFS label information from the specified .It Xo .Xr zpool-attach 8 Ns / Ns Xr zpool-detach 8 .Xc -Converts a non-redundant disk into a mirror, or increases the redundancy level of an existing mirror -.Ns ( -.Cm attach Ns ), or performs the inverse operation ( +Converts a non-redundant disk into a mirror, or increases +the redundancy level of an existing mirror +.Cm ( attach Ns ), or performs the inverse operation ( .Cm detach Ns ). .It Xo .Xr zpool-add 8 Ns / Ns Xr zpool-remove 8 @@ -265,7 +265,7 @@ While not recommended, a pool based on files can be useful for experimental purposes. .Dl # Nm zpool Cm create Ar tank Pa /path/to/file/a /path/to/file/b . -.Ss Example 5 : No Making a non-mirrored ZFS Storage Pool mirrored. +.Ss Example 5 : No Making a non-mirrored ZFS Storage Pool mirrored The following command converts an existing single device .Ar sda into a mirror by attaching a second device to it,