contrib: dracut: README.md

Change zfs-snapshot-bootfs.service to zfs-rollback-bootfs.service in
cmdline point 4 of README.md.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Gregory Bartholomew <gregory.lee.bartholomew@gmail.com>
Closes #13609
This commit is contained in:
gregory-lee-bartholomew 2022-06-30 12:43:27 -05:00 committed by GitHub
parent 34e5423f83
commit 5a4dd3a262
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ For complete documentation, see `dracut.zfs(7)`.
after pool import but before the rootfs is mounted. after pool import but before the rootfs is mounted.
Failure to create the snapshot is noted, but booting continues. 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`) 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. after pool import but before the rootfs is mounted.
Failure to roll back will fall down to the rescue shell. Failure to roll back will fall down to the rescue shell.