tape: add pmt command line tool

Experimental, not installed by now.
This commit is contained in:
Dietmar Maurer
2021-01-31 16:19:53 +01:00
parent a57ce270ac
commit 1e041082bb
2 changed files with 415 additions and 1 deletions

View File

@ -193,7 +193,7 @@ impl LinuxTapeHandle {
Ok(())
}
fn mtload(&mut self) -> Result<(), Error> {
pub fn mtload(&mut self) -> Result<(), Error> {
let cmd = mtop { mt_op: MTCmd::MTLOAD, mt_count: 1, };