tape: make sure there is a filemark at the end of the tape

This commit is contained in:
Dietmar Maurer
2021-04-06 12:17:59 +02:00
parent 8b2c6f5dbc
commit 7b11a8098d
7 changed files with 75 additions and 20 deletions

View File

@ -297,7 +297,7 @@ impl PoolWriter {
if !status.at_eom {
worker.log(String::from("moving to end of media"));
status.drive.move_to_eom()?;
status.drive.move_to_eom(true)?;
status.at_eom = true;
}