diff options
author | Antonio Russo <[email protected]> | 2018-06-07 12:38:39 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2018-06-07 09:38:39 -0700 |
commit | 7106b23640e8fba33df09b160f366918dcb79021 (patch) | |
tree | b0960ad92d552a6f4ea163eb3fa2f7edeadf19f1 /etc | |
parent | b405837a6cf74165316bf996b4b79d171b19c211 (diff) |
Minor documentation, logging, and testing typos
This patch collects some minor inconsistencies and typos in the
documentation, logging and testing infrastructure.
Reviewed-by: George Melikov <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Antonio Russo <[email protected]>
Closes #7608
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/systemd/system-generators/zfs-mount-generator.in | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/etc/systemd/system-generators/zfs-mount-generator.in b/etc/systemd/system-generators/zfs-mount-generator.in index 08d0e1a55..2c93111f3 100755 --- a/etc/systemd/system-generators/zfs-mount-generator.in +++ b/etc/systemd/system-generators/zfs-mount-generator.in @@ -29,7 +29,7 @@ FSLIST="@sysconfdir@/zfs/zfs-list.cache" [ -d "${FSLIST}" ] || exit 0 do_fail() { - printf 'zfs-mount-generator.sh: %s\n' "$*" > /dev/kmsg + printf 'zfs-mount-generator: %s\n' "$*" > /dev/kmsg exit 1 } @@ -103,13 +103,13 @@ process_line() { elif [ "${p_relatime}" = off ] ; then opts="${opts},atime,strictatime" else - printf 'zfs-mount-generator.sh: (%s) invalid relatime\n' \ + printf 'zfs-mount-generator: (%s) invalid relatime\n' \ "${dataset}" >/dev/kmsg fi elif [ "${p_atime}" = off ] ; then opts="${opts},noatime" else - printf 'zfs-mount-generator.sh: (%s) invalid atime\n' \ + printf 'zfs-mount-generator: (%s) invalid atime\n' \ "${dataset}" >/dev/kmsg fi @@ -119,7 +119,7 @@ process_line() { elif [ "${p_devices}" = off ] ; then opts="${opts},nodev" else - printf 'zfs-mount-generator.sh: (%s) invalid devices\n' \ + printf 'zfs-mount-generator: (%s) invalid devices\n' \ "${dataset}" >/dev/kmsg fi @@ -129,7 +129,7 @@ process_line() { elif [ "${p_exec}" = off ] ; then opts="${opts},noexec" else - printf 'zfs-mount-generator.sh: (%s) invalid exec\n' \ + printf 'zfs-mount-generator: (%s) invalid exec\n' \ "${dataset}" >/dev/kmsg fi @@ -139,7 +139,7 @@ process_line() { elif [ "${p_readonly}" = off ] ; then opts="${opts},rw" else - printf 'zfs-mount-generator.sh: (%s) invalid readonly\n' \ + printf 'zfs-mount-generator: (%s) invalid readonly\n' \ "${dataset}" >/dev/kmsg fi @@ -149,7 +149,7 @@ process_line() { elif [ "${p_setuid}" = off ] ; then opts="${opts},nosuid" else - printf 'zfs-mount-generator.sh: (%s) invalid setuid\n' \ + printf 'zfs-mount-generator: (%s) invalid setuid\n' \ "${dataset}" >/dev/kmsg fi @@ -159,13 +159,13 @@ process_line() { elif [ "${p_nbmand}" = off ] ; then opts="${opts},nomand" else - printf 'zfs-mount-generator.sh: (%s) invalid nbmand\n' \ + printf 'zfs-mount-generator: (%s) invalid nbmand\n' \ "${dataset}" >/dev/kmsg fi # If the mountpoint has already been created, give it precedence. if [ -e "${dest_norm}/${mountfile}" ] ; then - printf 'zfs-mount-generator.sh: %s already exists\n' "${mountfile}" \ + printf 'zfs-mount-generator: %s already exists\n' "${mountfile}" \ >/dev/kmsg return fi |