added bookkeeping for diskmap