Behavior of 'mt status' command
Hello. I am not sure how much of this is a "bug" and how much is me expecting the same behavior as my hardware tape library. Here are the issues I am noticing:
-
The "file number" and "block number" are reported as '-1' even after a tape is loaded. This is corrected if a "rewind" command is issued (they get set to 0).
-
The "block number" is not updated after a write, it just stays at 0. Using the "tapeinfo" command shows the correct "Block Position".
-
If a tape is unloaded and another tape is loaded, the next call to "mt status" will show the status from the last tape rather than the new tape. Doing a "mt status" between the unload and the load fixes this.
I also encounter the issue three. I use rewind as workaround currently.
any update on this?