]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Amend Dracut module to export ZFS root on shutdown
authorLukas Wunner <lukas@wunner.de>
Mon, 6 Oct 2014 11:08:33 +0000 (13:08 +0200)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 7 Oct 2014 17:20:56 +0000 (10:20 -0700)
commit07a3312f170ac56cb480b0df9fdf4c83f116b59b
tree7c12a27f405327a662ed1e34903cb0e8a9fb2219
parent8ac9b5e6b5b59ad3bf7a65f9de3c8ed46ba4240e
Amend Dracut module to export ZFS root on shutdown

Make use of Dracut's ability to restore the initramfs on shutdown and
pivot to it, allowing for a clean unmount and export of the ZFS root.
No need to force-import on every reboot anymore.

Signed-off-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #2195
Issue #2476
Issue #2498
Issue #2556
Issue #2563
Issue #2575
Issue #2600
Issue #2755
Issue #2766
dracut/90zfs/.gitignore
dracut/90zfs/Makefile.am
dracut/90zfs/export-zfs.sh.in [new file with mode: 0755]
dracut/90zfs/module-setup.sh.in
dracut/90zfs/mount-zfs.sh.in
dracut/README.dracut.markdown