int nbSectors = ddb.getCylinders() * ddb.getHeads() * ddb.getSectors();
LOG.info("buildDescriptor: allocated size=" + (nbSectors * IDEConstants.SECTOR_SIZE));
// build Header
Header header = new Header();
header.setVersion("1");
header.setContentID(0);
header.setParentContentID(Header.CID_NOPARENT);
header.setCreateType(CreateType.monolithicSparse);
header.setParentFileNameHint("");
// build extents
List<Extent> extents = new ArrayList<Extent>();
SparseExtent mainExtent = createMainExtent(mainFile, nbSectors);
extents.add(mainExtent);