-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tape labels are overwritten and limited to 6 characters #487
Comments
What you are talking about is Indeed it is defined as 32-byte wide. But From implementation perspective, the most important element is the barcode field of the ANSI VOL1 label, it is 6-byte long. So I never recommend as the LTFS spec says, you can overwrite barcode value in MAM via VEA |
Hi piste-jp, Thank you for your reply. For me, the important one is the barcode-field in the chip/MAM. Is there a reason why the following can't be done:
If this is possible, then I think, as a next step, it would be possible to read the barcode from the tape and use that instead of an empty string for " mkltfs " ? |
It is not only for LTFS, but for other tape based softwares. They might check the VOL1 and recognize this tape is already used by LTFS.
Hmm, I'm not sure this idea is good for backward compatibility. My counter proposal is introducing new option for handling long barcode like
Sorry, I cannot understand what you are saying. I don't think barcode value is automatically set by other hardwares like library. And label value shall be based on the physical label on the tape... |
Describe the bug
I have set tape-labels on all my tapes.
When using 'mkltfs', these labels are overwritten.
Checking the code, using the "-s" should set the label, but this is limited to 6 characters.
LTO-specification should allow me 8 characters (actually 32)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I would expect existing barcodes to not be overwritten or at least allow 8 character barcodes.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
In the LTFS Format Specification v2.4 (page 54) Barcode is defined as being 32 bytes in length.
Page 56 shows an example of the barcode: 6 characters, then tape-type, f.e. L8
I want to keep using the full barcode as all my tapes are identified using the full barcode when loading them into the drive.
The text was updated successfully, but these errors were encountered: