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

@ -139,6 +139,9 @@ impl LtoTapeHandle {
.ok();
let mut status = LtoDriveAndMediaStatus {
vendor: self.sg_tape.info().vendor.clone(),
product: self.sg_tape.info().product.clone(),
revision: self.sg_tape.info().revision.clone(),
blocksize: drive_status.block_length,
compression: drive_status.compression,
buffer_mode: drive_status.buffer_mode,