Skip to content

Commit

Permalink
contrib: dracut: README.md
Browse files Browse the repository at this point in the history
Change zfs-snapshot-bootfs.service to zfs-rollback-bootfs.service in
cmdline point 4 of README.md.

Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Gregory Bartholomew <[email protected]>
Closes openzfs#13609
  • Loading branch information
gregory-lee-bartholomew authored and andrewc12 committed Sep 23, 2022
1 parent f9de994 commit 2197339
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/dracut/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ For complete documentation, see `dracut.zfs(7)`.
after pool import but before the rootfs is mounted.
Failure to create the snapshot is noted, but booting continues.

4. `bootfs.rollback`, `bootfs.rollback=snapshot-name`: enables `zfs-snapshot-bootfs.service`,
4. `bootfs.rollback`, `bootfs.rollback=snapshot-name`: enables `zfs-rollback-bootfs.service`,
which `-Rf` rolls back to `$root_dataset@$(uname -r)` (or, in the second form, `$root_dataset@snapshot-name`)
after pool import but before the rootfs is mounted.
Failure to roll back will fall down to the rescue shell.
Expand Down

0 comments on commit 2197339

Please sign in to comment.