mirror_zfs/contrib/dracut/90zfs
gregory-lee-bartholomew 9052e3d70b
Add bootfs.snapshot and bootfs.rollback kernel parameters
Unlike other filesystems, snapshots and rollbacks of bootfs need to be
done from a rescue environment. This patch makes it possible to snap-
shot or rollback the bootfs simply by specifying bootfs.snapshot or
bootfs.rollback on the kernel command line. The operation will be
performed by dracut just before bootfs is mounted.

Reviewed-by: Antonio Russo <antonio.e.russo@gmail.com> 
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Gregory Bartholomew <gregory.lee.bartholomew@gmail.com>
Closes #10198
2020-05-29 21:16:08 -07:00
..
.gitignore Add bootfs.snapshot and bootfs.rollback kernel parameters 2020-05-29 21:16:08 -07:00
export-zfs.sh.in Shellcheck cleanup for initrd scripts 2018-02-23 12:57:41 -08:00
Makefile.am Add bootfs.snapshot and bootfs.rollback kernel parameters 2020-05-29 21:16:08 -07:00
module-setup.sh.in Add bootfs.snapshot and bootfs.rollback kernel parameters 2020-05-29 21:16:08 -07:00
mount-zfs.sh.in Skip loading already loaded key 2019-11-08 14:34:07 -08:00
parse-zfs.sh.in Add cut binary to the initramfs 2018-12-13 15:48:46 -08:00
zfs-env-bootfs.service.in Move dracut specifics to dracut module 2019-04-02 17:14:39 -07:00
zfs-generator.sh.in bash scripts: use /usr/bin/env for bash shebangs 2020-02-10 13:13:46 -08:00
zfs-lib.sh.in Replace whereis with type in zfs-lib.sh 2019-06-20 12:27:14 -07:00
zfs-load-key.sh.in zfs-load-key.sh: ${ZFS} is not the zfs binary 2019-12-29 11:25:00 -08:00
zfs-needshutdown.sh.in Run zfs load-key if needed in dracut 2018-01-18 10:20:34 -08:00
zfs-rollback-bootfs.service.in Add bootfs.snapshot and bootfs.rollback kernel parameters 2020-05-29 21:16:08 -07:00
zfs-snapshot-bootfs.service.in Add bootfs.snapshot and bootfs.rollback kernel parameters 2020-05-29 21:16:08 -07:00