4 ZPOOL
="@sbindir@/zpool"
5 ZPOOL_CACHE
="@sysconfdir@/zfs/zpool.cache"
7 if [ -f "${ZPOOL_CACHE}" ]; then
8 "${ZPOOL}" import
-c "${ZPOOL_CACHE}" -aN 2>/dev
/null
9 if [ "${?}" != "0" ]; then
10 echo "Failed to import not-yet imported pools." >&2
14 echo "Mounting ZFS filesystems"
16 if [ "${?}" != "0" ]; then
17 echo "Failed to mount ZFS filesystems." >&2
21 echo "Exporting ZFS filesystems"
23 if [ "${?}" != "0" ]; then
24 echo "Failed to export ZFS filesystems." >&2