proxmox-backup/pbs-tape/src
Thomas Lamprecht e50448e4ec tape: rework setting MAM Host type attributes
The product name is Proxmox Backup Server, not just Backup Server,
that makes no sense on its own and it really cannot be expected by
tools extracting any Medium Auxiliary Memory (MAM) info to render it
as `${app_vendor} ${app_name}`.

Drop the comment about ignoring errors, that's pretty clear with
the only-log-error construct.

Instead, add some comments about what the hex numbers refers too and
what their respective length (limit) is. The names where taken from
Table 315 "MAM Host type attributes" in the "IBM LTO SCSI Reference"
for LTO 9.

Slightly off-topic: The tape code really is a mess with sprinkling
those hex numbers hard coded all over the place, often with some
unchecked coupling in other places (like here, the list of set MAM
attrs and the one that get cleared can easily get out of sync..), but
that's for another time to clean-up (I need to cut a release).

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2024-05-22 19:15:16 +02:00
..
bin tree-wide: bump edition to 2021 2022-12-06 13:31:01 +01:00
sg_tape tape: write informational MAM attributes on tapes 2024-05-15 09:35:56 +02:00
blocked_reader.rs tape reader: improve error for unknown magic number 2022-06-29 12:11:34 +02:00
blocked_writer.rs pbs tape: rust fmt 2022-04-06 17:00:29 +02:00
emulate_tape_reader.rs pbs tape: rust fmt 2022-04-06 17:00:29 +02:00
emulate_tape_writer.rs pbs tape: rust fmt 2022-04-06 17:00:29 +02:00
lib.rs access first element with first() rather than get(0) 2024-02-13 10:10:19 +01:00
linux_list_drives.rs more clippy fixes and annotations 2022-07-26 14:05:25 +02:00
sg_pt_changer.rs access first element with first() rather than get(0) 2024-02-13 10:10:19 +01:00
sg_tape.rs tape: rework setting MAM Host type attributes 2024-05-22 19:15:16 +02:00
sgutils2.rs docs: rustdoc warnings 2023-11-11 10:10:21 +01:00
tape_read.rs split tape code into new pbs_tape workspace 2021-09-13 12:54:59 +02:00
tape_write.rs pbs tape: rust fmt 2022-04-06 17:00:29 +02:00