#!/bin/sh
awk '$3=="nfs"{print $2}' /etc/fstab \
    | xargs -n1 doas umount \
    | cut -d" " -f-3