tapeutils
tapeutils copied to clipboard
Segmentation fault with tapewrite
Trying to put some files on TOPS-10
git cloned repo sudo make no errors just warnings
sudo ./tapewrite Segmentation fault
OS is x64 Ubuntu on WSL2
the other programs work fine just not tapewrite which is the one i need to transfer files to .tap
later i tried compiling with clang instead of gcc, still get this error on tapewrite
This is a legitimate bug, but you should pass it some command line arguments.
tapewrite [-v] [-s] [-n blocksize] outfile.tap infile1 [infile2 ...]
However, this is not the right program to make a .tap with files for TOPS-10. You should use t10backup for that.
What is the syntax for t10backup? I'm not quite sure how to use it
I have a folder /empire10/ which I would like to turn into a .tap to load into TOPS-10
It's described here: https://github.com/brouhaha/tapeutils/blob/master/t10backup.c#L102-L119
I'm puzzled on how to use t10backup too. The issue is regarding creating a tap file, but t10backup appears to expect an existing tap file to exist - https://github.com/brouhaha/tapeutils/blob/6bcd82d3508c00918a66de61798b85c044b33c6d/t10backup.c#L751 - unless I've not understood something.
I, too, used tapewrite
...
I was wrong about t10backup creating .tap files. It will only list or extract files from an existing tape.
I think you can use backwr
to create TOPS-10 backup tapes: https://github.com/PDP-10/klh10/tree/master/contrib/backwr
I know I have done it somehow, but it's so infrequent I keep forgetting what I did.