CLUSTERSIZE
for(ofs=0; ofs < FSIZE; ofs+=CLUSTERSIZE){
char buffer[CLUSTERSIZE];
bzero(buffer, CLUSTERSIZE);
if ( -1 == write(outfd, buffer, CLUSTERSIZE)){
#define FSIZE (64 * (CLUSTERSIZE)) //FSIZE may range from NUM_CHUNKS clusters to 8GB
for(ofs=0; ofs < FSIZE; ofs+=CLUSTERSIZE){
char buffer[CLUSTERSIZE];
bzero(buffer, CLUSTERSIZE);
if ( -1 == write(outfd, buffer, CLUSTERSIZE)){
#define FSIZE (512 * (CLUSTERSIZE)) //FSIZE may range from NUM_CHUNKS clusters to 8GB