diff --git a/pbs-api-types/src/tape/drive.rs b/pbs-api-types/src/tape/drive.rs index d841505a..ea2cbbd8 100644 --- a/pbs-api-types/src/tape/drive.rs +++ b/pbs-api-types/src/tape/drive.rs @@ -130,6 +130,8 @@ pub enum TapeDensity { LTO7M8, /// LTO8 LTO8, + /// LTO9 + LTO9, } impl TryFrom for TapeDensity { @@ -147,6 +149,7 @@ impl TryFrom for TapeDensity { 0x5c => TapeDensity::LTO7, 0x5d => TapeDensity::LTO7M8, 0x5e => TapeDensity::LTO8, + 0x60 => TapeDensity::LTO9, _ => bail!("unknown tape density code 0x{:02x}", value), }; Ok(density)