This would work, using zfs mount. I like this much better.

    ZFSROOT=`/sbin/zfs mount | /usr/bin/grep ' /$' | cut -d ' ' -f 1`