#!/bin/sh -efu

. install2-sh-functions

df -k |
	sed -e '/^\//!d' -e 's#[[:space:]]\+#\t#g' |
	grep -E "[[:space:]]$destdir(/var|/home)?$" |
	sort -gk4,4 |
	tail -n1 |
	cut -f6
