tape: implement drive clean

This commit is contained in:
Dietmar Maurer
2021-01-08 11:32:56 +01:00
parent 25d3965769
commit df69a4fc59
5 changed files with 148 additions and 0 deletions

View File

@ -439,6 +439,10 @@ impl MediaChange for VirtualTapeHandle {
fn eject_on_unload(&self) -> bool {
true
}
fn clean_drive(&mut self) -> Result<(), Error> {
Ok(())
}
}
impl MediaChange for VirtualTapeDrive {
@ -472,4 +476,9 @@ impl MediaChange for VirtualTapeDrive {
let handle = self.open()?;
handle.online_media_changer_ids()
}
fn clean_drive(&mut self) -> Result<(), Error> {
Ok(())
}
}