Add a new port for the FUSE based LTFS reference implementation
Details
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Looks good. I assume you've made sure this installs correctly. I put a couple of suggestions in the description file, although the comment about MAXPHYS might also go into something that the user will see when he installs the package.
I think most folks won't think about the blocksize, but it will affect whether they can read tapes from other systems.
sysutils/ltfs/files/patch-src_tape__drivers_freebsd_cam_Makefile.am | ||
---|---|---|
12 | Good catch. I have modified our local source to use DESTDIR there, but forgot to upstream the fix. | |
sysutils/ltfs/pkg-descr | ||
4 | I would add something like this: This only works with IBM-branded LTO-5 or newer tape drives, although there is a file backend for simulation purposes. You will only be able to read and write tapes with a blocksize <= MAXPHYS, which is 128KB by default. Put the following in your kernel config file and recompile/reinstall to allow reading and writing tapes up to the maximum LTFS blocksize of 1MB: options MAXPHYS=(1024*1056) |
sysutils/ltfs/pkg-descr | ||
---|---|---|
4 | Just in case the buffer is misaligned. If that happens, you'll still be able to get the full 1MB I/O down to the drive if MAXPHYS is slightly larger than 1MB. |