tape: further hierarchy improvements
This commit is contained in:
parent
37796ff73f
commit
645a044bf6
|
@ -21,7 +21,7 @@ use crate::{
|
|||
ScsiTapeChanger,
|
||||
LinuxTapeDrive,
|
||||
},
|
||||
tape::drive::{
|
||||
tape::{
|
||||
linux_tape_changer_list,
|
||||
check_drive_path,
|
||||
lookup_drive,
|
||||
|
|
|
@ -16,7 +16,7 @@ use crate::{
|
|||
LinuxTapeDrive,
|
||||
ScsiTapeChanger,
|
||||
},
|
||||
tape::drive::{
|
||||
tape::{
|
||||
linux_tape_device_list,
|
||||
check_drive_path,
|
||||
lookup_drive,
|
||||
|
|
|
@ -18,7 +18,7 @@ use crate::{
|
|||
tape::{
|
||||
TAPE_STATUS_DIR,
|
||||
Inventory,
|
||||
drive::linux_tape_changer_list,
|
||||
linux_tape_changer_list,
|
||||
changer::{
|
||||
OnlineStatusMap,
|
||||
ElementStatus,
|
||||
|
|
|
@ -47,6 +47,7 @@ use crate::{
|
|||
Inventory,
|
||||
MediaCatalog,
|
||||
MediaId,
|
||||
linux_tape_device_list,
|
||||
file_formats::{
|
||||
MediaLabel,
|
||||
MediaSetLabel,
|
||||
|
@ -55,7 +56,6 @@ use crate::{
|
|||
TapeDriver,
|
||||
LinuxTapeHandle,
|
||||
open_linux_tape_device,
|
||||
linux_tape_device_list,
|
||||
media_changer,
|
||||
required_media_changer,
|
||||
open_drive,
|
||||
|
|
|
@ -19,9 +19,9 @@ use proxmox_backup::{
|
|||
},
|
||||
},
|
||||
tape::{
|
||||
complete_changer_path,
|
||||
drive::{
|
||||
media_changer,
|
||||
complete_changer_path,
|
||||
},
|
||||
},
|
||||
config::{
|
||||
|
|
|
@ -17,7 +17,7 @@ use proxmox_backup::{
|
|||
DRIVE_NAME_SCHEMA,
|
||||
},
|
||||
},
|
||||
tape::drive::complete_drive_path,
|
||||
tape::complete_drive_path,
|
||||
config::drive::{
|
||||
complete_drive_name,
|
||||
complete_changer_name,
|
||||
|
|
|
@ -18,9 +18,6 @@ pub use linux_tape::*;
|
|||
mod mam;
|
||||
pub use mam::*;
|
||||
|
||||
mod linux_list_drives;
|
||||
pub use linux_list_drives::*;
|
||||
|
||||
use anyhow::{bail, format_err, Error};
|
||||
use ::serde::{Deserialize};
|
||||
use serde_json::Value;
|
||||
|
|
|
@ -26,6 +26,9 @@ pub use media_set::*;
|
|||
mod inventory;
|
||||
pub use inventory::*;
|
||||
|
||||
mod linux_list_drives;
|
||||
pub use linux_list_drives::*;
|
||||
|
||||
pub mod changer;
|
||||
|
||||
pub mod drive;
|
||||
|
|
Loading…
Reference in New Issue