From 398e675f5839bdddf44682ea5390e49fa963ea1b Mon Sep 17 00:00:00 2001 From: a1ea321 Date: Sat, 13 Jul 2024 01:27:12 +0200 Subject: [PATCH] one-word manpage correction: snapshot->rollback (#16294) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Rob Norris Reviewed-by: George Melikov Reviewed-by: Tony Hutter --- man/man7/dracut.zfs.7 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/man7/dracut.zfs.7 b/man/man7/dracut.zfs.7 index c1475c695e..b67e1cecb2 100644 --- a/man/man7/dracut.zfs.7 +++ b/man/man7/dracut.zfs.7 @@ -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.