renamed src/tape/sgutils2.rs -> src/tools/sgutils2.rs
This commit is contained in:
parent
83fb2da53e
commit
9372c0787d
@ -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
|
||||
|
@ -9,9 +9,9 @@ use proxmox::tools::io::ReadExt;
|
||||
|
||||
use crate::{
|
||||
api2::types::MamAttribute,
|
||||
tools::sgutils2::SgRaw,
|
||||
tape::{
|
||||
drive::TapeAlertFlags,
|
||||
sgutils2::SgRaw,
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -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!{
|
||||
|
||||
|
@ -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
|
||||
///
|
||||
|
@ -7,8 +7,6 @@ use proxmox::tools::fs::{
|
||||
CreateOptions,
|
||||
};
|
||||
|
||||
pub mod sgutils2;
|
||||
|
||||
pub mod file_formats;
|
||||
|
||||
mod tape_write;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user