renamed src/tape/sgutils2.rs -> src/tools/sgutils2.rs

This commit is contained in:
Dietmar Maurer 2021-01-21 17:57:17 +01:00
parent 83fb2da53e
commit 9372c0787d
7 changed files with 7 additions and 18 deletions

View File

@ -6,11 +6,9 @@ use endian_trait::Endian;
use proxmox::tools::io::{ReadExt, WriteExt};
use crate::{
tape::sgutils2::{
SgRaw,
alloc_page_aligned_buffer,
},
use crate::tools::sgutils2::{
SgRaw,
alloc_page_aligned_buffer,
};
/// Test if drive supports hardware encryption

View File

@ -9,9 +9,9 @@ use proxmox::tools::io::ReadExt;
use crate::{
api2::types::MamAttribute,
tools::sgutils2::SgRaw,
tape::{
drive::TapeAlertFlags,
sgutils2::SgRaw,
},
};

View File

@ -5,11 +5,7 @@ use anyhow::{bail, format_err, Error};
use proxmox::tools::io::ReadExt;
use crate::{
tape::{
sgutils2::SgRaw,
},
};
use crate::tools::sgutils2::SgRaw;
bitflags::bitflags!{

View File

@ -7,11 +7,7 @@ use endian_trait::Endian;
use proxmox::tools::io::ReadExt;
use crate::{
tape::{
sgutils2::SgRaw,
},
};
use crate::tools::sgutils2::SgRaw;
/// SCSI command to query volume statistics
///

View File

@ -7,8 +7,6 @@ use proxmox::tools::fs::{
CreateOptions,
};
pub mod sgutils2;
pub mod file_formats;
mod tape_write;

View File

@ -42,6 +42,7 @@ pub mod systemd;
pub mod ticket;
pub mod xattr;
pub mod zip;
pub mod sgutils2;
pub mod parallel_handler;
pub use parallel_handler::ParallelHandler;