function addCluster(clustersNeeded, lastCluster) {
            if (!clustersNeeded) cache.push('eof'), cb();
            else vol.allocateInFAT(lastCluster, function (e, newCluster) {
                if (e) cb(e);
                else vol.storeToFAT(lastCluster, newCluster, function (e) {
                    if (e) return cb(e);
                    
                    cache.push(newCluster);
                    addCluster(clustersNeeded-1, newCluster);
                });
            });
        }
// remove 'eof' entry until finished
remove 'eof' entry until finished
remove ' eof ' entry until finished
function addCluster(clustersNeeded, lastCluster) {
            if (!clustersNeeded) cache.push('eof'), cb();
            else vol.allocateInFAT(lastCluster, function (e, newCluster) {
                if (e) cb(e);
                else vol.storeToFAT(lastCluster, newCluster, function (e) {
                    if (e) return cb(e);
                    cache.push(newCluster);
                    addCluster(clustersNeeded-1, newCluster);
                });
            });
        }
function addCluster ( clustersNeeded , lastCluster ) { if ( ! clustersNeeded ) cache . push ( 'eof' ) , cb ( ) ; else vol . allocateInFAT ( lastCluster , function ( e , newCluster ) { if ( e ) cb ( e ) ; else vol . storeToFAT ( lastCluster , newCluster , function ( e ) { if ( e ) return cb ( e ) ; cache . push ( newCluster ) ; addCluster ( clustersNeeded - 1 , newCluster ) ; } ) ; } ) ; }
remove 'eof' entry until finished
remove ' eof ' entry until finished