Skip to content
Advertisement

Write magnetic tape end of record linux

Task is create two record with different sizes within one file entry. I’m using python 3.4.5 for testing:

JavaScript

Is there an ioctl opt code that will initiate a new record on the tape with variable record length. Or any other way to work around this bug?

Advertisement

Answer

Issue was with tcopy, it uses block size on device instead of detecting it.

JavaScript

after last write allowed tcopy to display data as intended.

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement