]> git.proxmox.com Git - proxmox-backup.git/commit
tape: provide 'open_lto_drive' methods for LtoTapeHandle and SgTape
authorDominik Csapak <d.csapak@proxmox.com>
Mon, 22 Jan 2024 11:50:27 +0000 (12:50 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 22 Jan 2024 12:07:13 +0000 (13:07 +0100)
commitb5f8626706a03de74a4fc9f3ee9b74b7b7656e9a
treeee660018019b806cb1e52a2123b592e715319874
parent8cc8aa510f7a5a5ee119a71f5924a16e86c4455a
tape: provide 'open_lto_drive' methods for LtoTapeHandle and SgTape

Prepares for the use in sg-tape-cmd, since we want to use the SgTape
directly instead of LtoTapeHandle.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
pbs-tape/src/sg_tape.rs
src/api2/tape/drive.rs
src/bin/sg-tape-cmd.rs
src/tape/drive/lto/mod.rs
src/tape/drive/mod.rs