eval $(getvars fstab)
local fstab_file
fstab_file=${FILE:a}.fstab
printf '%s' $fstab >$fstab_file
mount -a --fstab $fstab_file \
|| die "Failed to mount required filesystems"
dep_add_file $fstab_file
__check_deps__+='if { mount -a --fstab '${(qqq)fstab_file}' }
'
# vim: fileencoding=utf8 ft=zsh noet sw=4 ts=4 sts=4