Skip to content

Commit

Permalink
Fix some typos
Browse files Browse the repository at this point in the history
Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed by: George Melikov <mail@gmelikov.ru>
Signed-off-by: John Eismeier <john.eismeier@gmail.com>
Closes openzfs#7237
  • Loading branch information
jeis2497052 authored and tonyhutter committed Mar 8, 2018
1 parent b4fde52 commit 1891d6d
Show file tree
Hide file tree
Showing 16 changed files with 30 additions and 30 deletions.
4 changes: 2 additions & 2 deletions cmd/arcstat/arcstat.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ def init():
"outfile",
"help",
"verbose",
"seperator",
"separator",
"columns"
]
)
Expand All @@ -299,7 +299,7 @@ def init():
hflag = True
if opt in ('-v', '--verbose'):
vflag = True
if opt in ('-s', '--seperator'):
if opt in ('-s', '--separator'):
sep = arg
i += 1
if opt in ('-f', '--columns'):
Expand Down
4 changes: 2 additions & 2 deletions cmd/dbufstat/dbufstat.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ def main():
"help",
"infile",
"outfile",
"seperator",
"separator",
"types",
"verbose",
"extended"
Expand All @@ -499,7 +499,7 @@ def main():
ofile = arg
if opt in ('-r', '--raw'):
raw += 1
if opt in ('-s', '--seperator'):
if opt in ('-s', '--separator'):
sep = arg
if opt in ('-t', '--types'):
tflag = True
Expand Down
2 changes: 1 addition & 1 deletion contrib/initramfs/scripts/zfs
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ destroy_fs()
echo "Message: $ZFS_STDERR"
echo "Error: $ZFS_ERROR"
echo ""
echo "Failed to destroy '$fs'. Please make sure that '$fs' is not availible."
echo "Failed to destroy '$fs'. Please make sure that '$fs' is not available."
echo "Hint: Try: zfs destroy -Rfn $fs"
echo "If this dryrun looks good, then remove the 'n' from '-Rfn' and try again."
/bin/sh
Expand Down
2 changes: 1 addition & 1 deletion man/man8/zpool.8
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,7 @@ man page. In order to enable this property each host must set a unique hostid.
See
.Xr genhostid 1
.Xr zgenhostid 8
.Xr spl-module-paramters 5
.Xr spl-module-parameters 5
for additional details. The default value is
.Sy off .
.It Sy version Ns = Ns Ar version
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ prepare $DNAME "tar cf $TESTDIR/tar$$.tar $BNAME"
(( $? != 0 )) && log_fail "Unable to create src archive"

migrate $TESTDIR $SUMA $SUMB "tar xf $TESTDIR/tar$$.tar"
(( $? != 0 )) && log_fail "Uable to successfully migrate test file from" \
(( $? != 0 )) && log_fail "Unable to successfully migrate test file from" \
"ZFS fs to ZFS fs"

log_pass "Successully migrated test file from ZFS fs to ZFS fs".
log_pass "Successfully migrated test file from ZFS fs to ZFS fs".
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ prepare $DNAME "tar cf $TESTDIR/tar$$.tar $BNAME"
(( $? != 0 )) && log_fail "Unable to create src archive"

migrate $NONZFS_TESTDIR $SUMA $SUMB "tar xf $TESTDIR/tar$$.tar"
(( $? != 0 )) && log_fail "Uable to successfully migrate test file from" \
(( $? != 0 )) && log_fail "Unable to successfully migrate test file from" \
"ZFS fs to UFS fs"

log_pass "Successully migrated test file from ZFS fs to UFS fs".
log_pass "Successfully migrated test file from ZFS fs to UFS fs".
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ prepare $DNAME "tar cf $NONZFS_TESTDIR/tar$$.tar $BNAME"
(( $? != 0 )) && log_fail "Unable to create src archive"

migrate $TESTDIR $SUMA $SUMB "tar xvf $NONZFS_TESTDIR/tar$$.tar"
(( $? != 0 )) && log_fail "Uable to successfully migrate test file from" \
(( $? != 0 )) && log_fail "Unable to successfully migrate test file from" \
"UFS fs to ZFS fs"

log_pass "Successully migrated test file from UFS fs to ZFS fs".
log_pass "Successfully migrated test file from UFS fs to ZFS fs".
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ cd $cwd
(( $? != 0 )) && log_untested "Could not change directory to $cwd"

migrate_cpio $TESTDIR "$TESTDIR/cpio$$.cpio" $SUMA $SUMB
(( $? != 0 )) && log_fail "Uable to successfully migrate test file from" \
(( $? != 0 )) && log_fail "Unable to successfully migrate test file from" \
"ZFS fs to ZFS fs"

log_pass "Successully migrated test file from ZFS fs to ZFS fs".
log_pass "Successfully migrated test file from ZFS fs to ZFS fs".
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ cd $cwd
(( $? != 0 )) && log_untested "Could not change directory to $cwd"

migrate_cpio $NONZFS_TESTDIR "$TESTDIR/cpio$$.cpio" $SUMA $SUMB
(( $? != 0 )) && log_fail "Uable to successfully migrate test file from" \
(( $? != 0 )) && log_fail "Unable to successfully migrate test file from" \
"ZFS fs to UFS fs"

log_pass "Successully migrated test file from ZFS fs to UFS fs".
log_pass "Successfully migrated test file from ZFS fs to UFS fs".
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ cd $cwd
(( $? != 0 )) && log_untested "Could not change directory to $cwd"

migrate_cpio $TESTDIR "$NONZFS_TESTDIR/cpio$$.cpio" $SUMA $SUMB
(( $? != 0 )) && log_fail "Uable to successfully migrate test file from" \
(( $? != 0 )) && log_fail "Unable to successfully migrate test file from" \
"ZFS fs to ZFS fs"

log_pass "Successully migrated test file from UFS fs to ZFS fs".
log_pass "Successfully migrated test file from UFS fs to ZFS fs".
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ prepare $DNAME "dd if=$BNAME obs=128k of=$TESTDIR/dd$$.dd"
(( $? != 0 )) && log_fail "Unable to create src archive"

migrate $TESTDIR $SUMA $SUMB "dd if=$TESTDIR/dd$$.dd obs=128k of=$BNAME"
(( $? != 0 )) && log_fail "Uable to successfully migrate test file from" \
(( $? != 0 )) && log_fail "Unable to successfully migrate test file from" \
"ZFS fs to ZFS fs"

log_pass "Successully migrated test file from ZFS fs to ZFS fs".
log_pass "Successfully migrated test file from ZFS fs to ZFS fs".
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ prepare $DNAME "dd if=$BNAME obs=128k of=$TESTDIR/dd$$.dd"
(( $? != 0 )) && log_fail "Unable to create src archive"

migrate $NONZFS_TESTDIR $SUMA $SUMB "dd if=$TESTDIR/dd$$.dd obs=128k of=$BNAME"
(( $? != 0 )) && log_fail "Uable to successfully migrate test file from" \
(( $? != 0 )) && log_fail "Unable to successfully migrate test file from" \
"ZFS fs to ZFS fs"

log_pass "Successully migrated test file from ZFS fs to UFS fs".
log_pass "Successfully migrated test file from ZFS fs to UFS fs".
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ prepare $DNAME "dd if=$BNAME obs=128k of=$NONZFS_TESTDIR/dd$$.dd"
(( $? != 0 )) && log_fail "Unable to create src archive"

migrate $TESTDIR $SUMA $SUMB "dd if=$NONZFS_TESTDIR/dd$$.dd obs=128k of=$BNAME"
(( $? != 0 )) && log_fail "Uable to successfully migrate test file from" \
(( $? != 0 )) && log_fail "Unable to successfully migrate test file from" \
"ZFS fs to ZFS fs"

log_pass "Successully migrated test file from UFS fs to ZFS fs".
log_pass "Successfully migrated test file from UFS fs to ZFS fs".
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ prepare $DNAME "cp $BNAME $TESTDIR/cp$$.cp"
(( $? != 0 )) && log_fail "Unable to create src archive"

migrate $TESTDIR $SUMA $SUMB "cp $TESTDIR/cp$$.cp $BNAME"
(( $? != 0 )) && log_fail "Uable to successfully migrate test file from" \
(( $? != 0 )) && log_fail "Unable to successfully migrate test file from" \
"ZFS fs to ZFS fs"

log_pass "Successully migrated test file from ZFS fs to ZFS fs".
log_pass "Successfully migrated test file from ZFS fs to ZFS fs".
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ prepare $DNAME "cp $BNAME $TESTDIR/cp$$.cp"
(( $? != 0 )) && log_fail "Unable to create src archive"

migrate $NONZFS_TESTDIR $SUMA $SUMB "cp $TESTDIR/cp$$.cp $BNAME"
(( $? != 0 )) && log_fail "Uable to successfully migrate test file from" \
(( $? != 0 )) && log_fail "Unable to successfully migrate test file from" \
"ZFS fs to UFS fs"

log_pass "Successully migrated test file from ZFS fs to UFS fs".
log_pass "Successfully migrated test file from ZFS fs to UFS fs".
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ prepare $DNAME "cp $BNAME $NONZFS_TESTDIR/cp$$.cp"
(( $? != 0 )) && log_fail "Unable to create src archive"

migrate $TESTDIR $SUMA $SUMB "cp $NONZFS_TESTDIR/cp$$.cp $BNAME"
(( $? != 0 )) && log_fail "Uable to successfully migrate test file from" \
(( $? != 0 )) && log_fail "Unable to successfully migrate test file from" \
"UFS fs to ZFS fs"

log_pass "Successully migrated test file from UFS fs to ZFS fs".
log_pass "Successfully migrated test file from UFS fs to ZFS fs".

0 comments on commit 1891d6d

Please sign in to comment.