Annotation of researchv9/sys/boot/stand/sizecheck, revision 1.1

1.1     ! root        1: #! /bin/sh
        !             2: size=`size | sed 1d | awk ' { print $1 + $2; } '`
        !             3: if [ $size -ge 7680 ]
        !             4: then
        !             5:        echo Boot block `expr $size - 7680` bytes too big!!
        !             6:        exit 1
        !             7: fi
        !             8: echo Boot block is `expr 100 '*' $size '/' 7680`% full.
        !             9: exit 0

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.