cleanup: move tape SCSI code to src/tape/drive/lto/sg_tape/

This commit is contained in:
Dietmar Maurer
2021-04-09 11:33:33 +02:00
parent c287b28725
commit 109ccd300f
9 changed files with 81 additions and 91 deletions

View File

@ -2,21 +2,9 @@
mod virtual_tape;
mod tape_alert_flags;
pub use tape_alert_flags::*;
mod volume_statistics;
pub use volume_statistics::*;
mod encryption;
pub use encryption::*;
mod lto;
pub use lto::*;
mod mam;
pub use mam::*;
use std::os::unix::io::AsRawFd;
use std::path::PathBuf;
@ -57,6 +45,7 @@ use crate::{
TapeWrite,
TapeRead,
MediaId,
drive::lto::TapeAlertFlags,
file_formats::{
PROXMOX_BACKUP_MEDIA_LABEL_MAGIC_1_0,
PROXMOX_BACKUP_MEDIA_SET_LABEL_MAGIC_1_0,