#!/bin/sh -efu

. install2-sh-functions

df -k |
	sed -e '1,+0d' -e "\#[[:space:]]$destdir#!d" -e 's#[[:space:]]\+#\t#g' |
	egrep "$destdir(/var|/home)?$" |
	sort -rgk4,4 |
	head -1 |
	cut --output-delimiter=\  -f4,6-
