From 0463c955011fc3913f9aaad6c686f48f118d2fef Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Fri, 30 Aug 2019 18:46:52 +0200 Subject: [PATCH] Fix typos in etc/ Reviewed-by: Ryan Moeller Reviewed-by: Richard Laager Reviewed-by: Brian Behlendorf Signed-off-by: Andrea Gelmini Closes #9236 --- etc/init.d/zfs-functions.in | 4 ++-- etc/init.d/zfs-import.in | 4 ++-- etc/zfs/vdev_id.conf.sas_direct.example | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/etc/init.d/zfs-functions.in b/etc/init.d/zfs-functions.in index d65c79dcf..043f1b073 100644 --- a/etc/init.d/zfs-functions.in +++ b/etc/init.d/zfs-functions.in @@ -72,7 +72,7 @@ elif type einfo > /dev/null 2>&1 ; then # zfs_log_progress_msg() { echo -n "$1"; } zfs_log_progress_msg() { echo -n; } else - # Unknown - simple substitues. + # Unknown - simple substitutes. zfs_log_begin_msg() { echo -n "$1"; } zfs_log_end_msg() { ret=$1 @@ -283,7 +283,7 @@ checksystem() # Called with zfs=(off|no|0) - bail because we don't # want anything import, mounted or shared. # HOWEVER, only do this if we're called at the boot up - # (from init), not if we're running interactivly (as in + # (from init), not if we're running interactively (as in # from the shell - we know what we're doing). [ -n "$init" ] && exit 3 fi diff --git a/etc/init.d/zfs-import.in b/etc/init.d/zfs-import.in index 420d2e8a7..47c957baa 100644 --- a/etc/init.d/zfs-import.in +++ b/etc/init.d/zfs-import.in @@ -90,7 +90,7 @@ do_import_all_visible() already_imported=$(find_pools "$ZPOOL" list -H -oname) available_pools=$(find_pools "$ZPOOL" import) - # Just in case - seen it happen (that a pool isn't visable/found + # Just in case - seen it happen (that a pool isn't visible/found # with a simple "zpool import" but only when using the "-d" # option or setting ZPOOL_IMPORT_PATH). if [ -d "/dev/disk/by-id" ] @@ -187,7 +187,7 @@ do_import_all_visible() # Needs to be exported for "zpool" to catch it. [ -n "$ZPOOL_IMPORT_PATH" ] && export ZPOOL_IMPORT_PATH - # Mount all availible pools (except those set in ZFS_POOL_EXCEPTIONS. + # Mount all available pools (except those set in ZFS_POOL_EXCEPTIONS. # # If not interactive (run from init - variable init='/sbin/init') # we get ONE line for all pools being imported, with just a dot diff --git a/etc/zfs/vdev_id.conf.sas_direct.example b/etc/zfs/vdev_id.conf.sas_direct.example index 0a6f130cb..d17ed149d 100644 --- a/etc/zfs/vdev_id.conf.sas_direct.example +++ b/etc/zfs/vdev_id.conf.sas_direct.example @@ -2,7 +2,7 @@ multipath no topology sas_direct phys_per_port 4 -# Additionally create /dev/by-enclousure/ symlinks for enclosure devices +# Additionally create /dev/by-enclosure/ symlinks for enclosure devices enclosure_symlinks yes # PCI_ID HBA PORT CHANNEL NAME -- 2.40.0