Skip to content

Commit

Permalink
one-word manpage correction: snapshot->rollback (#16294)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
a1ea321 authored Jul 12, 2024
1 parent cbd95a9 commit 398e675
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion man/man7/dracut.zfs.7
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ defaults to the current kernel release.
.
.It Sy bootfs.rollback Ns Op Sy = Ns Ar snapshot-name
Execute
.Nm zfs Cm snapshot Fl Rf Ar boot-dataset Ns Sy @ Ns Ar snapshot-name
.Nm zfs Cm rollback Fl Rf Ar boot-dataset Ns Sy @ Ns Ar snapshot-name
before pivoting to the real root.
.Ar snapshot-name
defaults to the current kernel release.
Expand Down

0 comments on commit 398e675

Please sign in to comment.