Skip to content

Commit 398e675

Browse files
authored
one-word manpage correction: snapshot->rollback (#16294)
This commit fixes what is probably a copy-paste mistake. The `dracut.zfs` manpage claims that the `bootfs.rollback` option executes `zfs snapshot -Rf`. `zfs snapshot` does not have a `-R` option. `zfs rollback` does. Signed-off-by: Alphan Yılmaz <alphanyilmaz@gmail.com> Reviewed-by: Rob Norris <rob.norris@klarasystems.com> Reviewed-by: George Melikov <mail@gmelikov.ru> Reviewed-by: Tony Hutter <hutter2@llnl.gov>
1 parent cbd95a9 commit 398e675

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

man/man7/dracut.zfs.7

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ defaults to the current kernel release.
154154
.
155155
.It Sy bootfs.rollback Ns Op Sy = Ns Ar snapshot-name
156156
Execute
157-
.Nm zfs Cm snapshot Fl Rf Ar boot-dataset Ns Sy @ Ns Ar snapshot-name
157+
.Nm zfs Cm rollback Fl Rf Ar boot-dataset Ns Sy @ Ns Ar snapshot-name
158158
before pivoting to the real root.
159159
.Ar snapshot-name
160160
defaults to the current kernel release.

0 commit comments

Comments
 (0)