HomeFreeBSD

Amend Dracut module to export ZFS root on shutdown

Description

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

Details

Provenance
Lukas Wunner <lukas@wunner.de>Authored on Oct 6 2014, 11:08 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Oct 7 2014, 5:20 PM
Parents
rG8ac9b5e6b5b5: Cleanup struct zed_conf vars in zed_conf_destroy
Branches
Unknown
Tags
Unknown