tape: add vendor, product and revision to LtoDriveAndMediaStatus

This commit is contained in:
Dietmar Maurer
2021-04-08 08:00:30 +02:00
parent 80ea23e1b9
commit 15d1435789
4 changed files with 17 additions and 2 deletions

View File

@ -174,6 +174,12 @@ impl TryFrom<u8> for TapeDensity {
/// Media related data is optional - only set if there is a medium
/// loaded.
pub struct LtoDriveAndMediaStatus {
/// Vendor
pub vendor: String,
/// Product
pub product: String,
/// Revision
pub revision: String,
/// Block size (0 is variable size)
pub blocksize: u32,
/// Compression enabled