depend()
{
+ # Try to allow people to mix and match fstab with ZFS in a way that makes sense.
+ if [ "$(mountinfo -s /)" = 'zfs' ]
+ then
+ before localmount
+ else
+ after localmount
+ fi
+
# bootmisc will log to /var which may be a different zfs than root.
- before net bootmisc
- after udev localmount
+ before bootmisc logger
keyword -lxc -openvz -prefix -vserver
}