// ---
log.debug("Write allocation bitmap bits to disk.");
writeAllocationFile((int) volumeBlockUsed);
log.debug("Write Catalog to disk.");
Catalog catalog = new Catalog(params, this);
catalog.update();
extentOverflow = new Extent(params);
log.debug("Write volume header to disk.");
volumeHeader.update();
flush();
} catch (IOException e) {