mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +03:00
Fix spelling
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>> Reviewed-by: George Melikov <mail@gmelikov.ru> Reviewed-by: Haakan T Johansson <f96hajo@chalmers.se> Closes #5547 Closes #5543
This commit is contained in:
@@ -98,7 +98,7 @@ do_import_all_visible()
|
||||
if [ -n "$npools" ]
|
||||
then
|
||||
# Because we have found extra pool(s) here, which wasn't
|
||||
# found 'normaly', we need to force USE_DISK_BY_ID to
|
||||
# found 'normally', we need to force USE_DISK_BY_ID to
|
||||
# make sure we're able to actually import it/them later.
|
||||
USE_DISK_BY_ID='yes'
|
||||
|
||||
@@ -148,7 +148,7 @@ do_import_all_visible()
|
||||
available_pools="$apools"
|
||||
fi
|
||||
|
||||
# For backwards compability, make sure that ZPOOL_IMPORT_PATH is set
|
||||
# For backwards compatibility, make sure that ZPOOL_IMPORT_PATH is set
|
||||
# to something we can use later with the real import(s). We want to
|
||||
# make sure we find all by* dirs, BUT by-vdev should be first (if it
|
||||
# exists).
|
||||
@@ -157,7 +157,7 @@ do_import_all_visible()
|
||||
local dirs
|
||||
dirs="$(for dir in $(echo /dev/disk/by-*)
|
||||
do
|
||||
# Ignore by-vdev here - we wan't it first!
|
||||
# Ignore by-vdev here - we want it first!
|
||||
echo "$dir" | grep -q /by-vdev && continue
|
||||
[ ! -d "$dir" ] && continue
|
||||
|
||||
@@ -217,7 +217,7 @@ do_import_all_visible()
|
||||
|
||||
# Import by using ZPOOL_IMPORT_PATH (either set above or in
|
||||
# the config file) _or_ with the 'built in' default search
|
||||
# paths. This is the prefered way.
|
||||
# paths. This is the preferred way.
|
||||
"$ZPOOL" import -N ${ZPOOL_IMPORT_OPTS} "$pool" 2> /dev/null
|
||||
r="$?" ; RET=$((RET + r))
|
||||
if [ "$r" -eq 0 ]
|
||||
|
||||
@@ -73,7 +73,7 @@ do_mount()
|
||||
zfs_action "Mounting ZFS filesystem(s)" \
|
||||
"$ZFS" mount -a$verbose$overlay "$MOUNT_EXTRA_OPTIONS"
|
||||
|
||||
# Require each volume/filesytem to have 'noauto' and no fsck
|
||||
# Require each volume/filesystem to have 'noauto' and no fsck
|
||||
# option. This shouldn't really be necessary, as long as one
|
||||
# can get zfs-import to run sufficiently early on in the boot
|
||||
# process - before local mounts. This is just here in case/if
|
||||
|
||||
Reference in New Issue
Block a user