From: smckown Date: Fri, 16 Oct 2009 13:51:41 +0000 (+0000) Subject: bpcdump: Improve info message when freeing space on the esata device. X-Git-Url: https://oss.titaniummirror.com/gitweb?a=commitdiff_plain;h=b1c7c7e2ffbb0cb871e5016c01dc1c3a537a997c;p=ovzbpc.git bpcdump: Improve info message when freeing space on the esata device. --- diff --git a/bpcdump b/bpcdump index 9806ee8..19644ac 100755 --- a/bpcdump +++ b/bpcdump @@ -149,7 +149,7 @@ fi # Before we begin writing, remove old backup dirs until we have room dstblks=$(df -P "$EXTFS" | grep "$EXTFS" | awk '{ print $4 }') while [ $dstblks -le $srcblks ]; do - info "Not enough space on $EXTFS" + info "Only $dstblks free on $EXTFS" oldest=$(cd $EXTFS && eval ls -ltd "ve${VEID}*" 2>/dev/null | tail -1 | \ awk '{ print $8 }') if [ -d "$EXTFS/$oldest" ]; then