aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedict Reuschling <bcr@FreeBSD.org>2024-06-30 14:29:23 +0000
committerBenedict Reuschling <bcr@FreeBSD.org>2024-06-30 14:29:23 +0000
commite077ac9ac197b8836c41d2644c29e7c85d7bb904 (patch)
tree414cb0dd5fb7e514be239cf33f209077edee2191
parente83a8c213b3ba4a1d651078dbda0af0c11407f27 (diff)
downloaddoc-e077ac9ac197b8836c41d2644c29e7c85d7bb904.tar.gz
doc-e077ac9ac197b8836c41d2644c29e7c85d7bb904.zip
Fix grammar in ZFS handbook chapter, rollback section
Submitted by: ntremble@gmail.com PR: 279481
-rw-r--r--documentation/content/en/books/handbook/zfs/_index.adoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/documentation/content/en/books/handbook/zfs/_index.adoc b/documentation/content/en/books/handbook/zfs/_index.adoc
index 2a44acce94..22d4d80572 100644
--- a/documentation/content/en/books/handbook/zfs/_index.adoc
+++ b/documentation/content/en/books/handbook/zfs/_index.adoc
@@ -1889,7 +1889,7 @@ See the <<zfs-zfs-send,Replication>> section for more information.
==== Snapshot Rollback
When at least one snapshot is available, roll back to it at any time.
-Most often this is the case when the current state of the dataset is no longer and if preferring an older version.
+Most often this is the case when the current state of the dataset is no longer valid or an older version is preferred.
Scenarios such as local development tests gone wrong, botched system updates hampering the system functionality, or the need to restore deleted files or directories are all too common occurrences.
To roll back a snapshot, use `zfs rollback _snapshotname_`.
If a lot of changes are present, the operation will take a long time.
@@ -1900,7 +1900,7 @@ Rolling back to a snapshot discards all other data in that dataset not part of t
Taking a snapshot of the current state of the dataset before rolling back to a previous one is a good idea when requiring some data later.
This way, the user can roll back and forth between snapshots without losing data that is still valuable.
-In the first example, roll back a snapshot because of a careless `rm` operation that removes too much data than intended.
+In the first example, roll back a snapshot because a careless `rm` operation removed more data than intended.
[source,shell]
....