[comp.unix.xenix.sco] sendbatch bug?

mel@fleet.UUCP (mel) (09/10/90)

Does anyone know why I'm getting the following error from
Sendbatch??

$ /usr/lib/news/sendbatch -c mgse
df: /usr/spool not block special

This started happening after I updated my News software to
the version sent to me by SCO.  The following is the version
number taken from within the script.

: '@(#)sendbatch.sh     1.20    1/15/89'

The following is the section of the program that uses the "df" command;

        if test -n "$SPOOLDISK"
        then
                df=`df $SPOOLDISK | awk '
                        $6 == "'$SPOOLDISK'" {print $4;exit}
                        $1 == "'$SPOOLDISK'" && NF == 7 {print $4;exit}
                        $2 == "'$SPOOLDISK'" {print $5;exit}
                        $1 == "'$SPOOLDISK'" {print $3;exit}
                        '`
                if test ! -z "$df" -a \( "$df" -lt $MINDF \)
                then
                        echo $rmt: not enough space on $SPOOLDISK: $df
                        continue
                fi
        fi


Anyone can help me with this one.  I don't think version 1.1 used the "df"
command in sendbatch.  

Mel Shear
!rex!fleet!mel
New Orleans, LA.  USA