Skip to content

Add support for reading multiple tape formats by the ReadtpCmd command

Problem to solve

Reading OSM tape format by the ReadtpCmd command. ReadtpCmd is not able to read multiple tape formats due to default value of VolumeInfo::labelFormat

Stakeholders

Proposal

Provide labelFormat value as parameter to the function:

void ReadtpCmd::readTapeFile(
  castor::tape::tapeserver::drive::DriveInterface &drive, const uint64_t &fSeq, cta::disk::WriteFile &wf,
  const cta::common::dataStructures::Label::Format &labelFormat)