Dual Boot macOS & Linux autoexp-import

Hi,
i have a Dualboot System, macOS Sierra & Ubuntu 16.10. Is there best practice how to auto export/import pool when booting into other OS and vice versa?
Thx,
i have a Dualboot System, macOS Sierra & Ubuntu 16.10. Is there best practice how to auto export/import pool when booting into other OS and vice versa?
Thx,