#!/bin/bash # # Compile the sources # # let cnt=0 # while : do df | grep -i Raid5 # let cnt=cnt+1 date=`date '+%Y %m %d %H:%M:%S'` echo "..Pass=$cnt $date.." # # # get rid of old test stuff # rm -rf /Raid5/test sync # mkdir /Raid5/test # tree /Raid5/usr-local >& /Raid5/test/tree.log # # Compile the kernel sources # ---------------------------------- # ( cd /Raid5 ; tar zcf - usr-local ) | ( cd /Raid5/test ; tar zxfp - ) # done # # end of file