Fix typos in etc/

Reviewed-by: Ryan Moeller <ryan@ixsystems.com>
Reviewed-by: Richard Laager <rlaager@wiktel.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
Closes #9236
This commit is contained in:
Andrea Gelmini 2019-08-30 18:46:52 +02:00 committed by Brian Behlendorf
parent cd6b910b64
commit 0463c95501
3 changed files with 5 additions and 5 deletions

View File

@ -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 "$1"; }
zfs_log_progress_msg() { echo -n; } zfs_log_progress_msg() { echo -n; }
else else
# Unknown - simple substitues. # Unknown - simple substitutes.
zfs_log_begin_msg() { echo -n "$1"; } zfs_log_begin_msg() { echo -n "$1"; }
zfs_log_end_msg() { zfs_log_end_msg() {
ret=$1 ret=$1
@ -283,7 +283,7 @@ checksystem()
# Called with zfs=(off|no|0) - bail because we don't # Called with zfs=(off|no|0) - bail because we don't
# want anything import, mounted or shared. # want anything import, mounted or shared.
# HOWEVER, only do this if we're called at the boot up # 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). # from the shell - we know what we're doing).
[ -n "$init" ] && exit 3 [ -n "$init" ] && exit 3
fi fi

View File

@ -90,7 +90,7 @@ do_import_all_visible()
already_imported=$(find_pools "$ZPOOL" list -H -oname) already_imported=$(find_pools "$ZPOOL" list -H -oname)
available_pools=$(find_pools "$ZPOOL" import) 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" # with a simple "zpool import" but only when using the "-d"
# option or setting ZPOOL_IMPORT_PATH). # option or setting ZPOOL_IMPORT_PATH).
if [ -d "/dev/disk/by-id" ] if [ -d "/dev/disk/by-id" ]
@ -187,7 +187,7 @@ do_import_all_visible()
# Needs to be exported for "zpool" to catch it. # Needs to be exported for "zpool" to catch it.
[ -n "$ZPOOL_IMPORT_PATH" ] && export ZPOOL_IMPORT_PATH [ -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') # If not interactive (run from init - variable init='/sbin/init')
# we get ONE line for all pools being imported, with just a dot # we get ONE line for all pools being imported, with just a dot

View File

@ -2,7 +2,7 @@ multipath no
topology sas_direct topology sas_direct
phys_per_port 4 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 enclosure_symlinks yes
# PCI_ID HBA PORT CHANNEL NAME # PCI_ID HBA PORT CHANNEL NAME