Open aperezbios opened 1 year ago
One candidate for an existing variable length record tape image format to use could be AWSTAPE which is used by the Hercules mainframe emulator. It already comes with a tool called "tapecopy" which can copy between AWSTAPE image files and real tapes. Its source can be used as an example to understand how the format is used: https://github.com/SDL-Hercules-390/hyperion/blob/master/tapecopy.c
While Hercules provides an open source implementation of the format, it originates from IBM and has been used in their virtual tape libraries for a long time. So there's probably a lot of tape images already out there in that format.
Great. Thanks for the suggestion, @sapperlott
@PetteriAimonen, I did some basic SCSI tape testing with 'mt' under Linux, and identified eight commands that immediately induce an I/O error. The erase command is probably the most critical, followed by the compression command. These should probably all be no-ops for now. Do you have an opinion?