Make tar (or other) archive, with data block-aligned like in original files for better block-level deduplication?
10
votes
2
answers
1881
views
How can one generate a tar file, so the contents of tarred files are block-aligned like in the original files, so one could benefit from block-level deduplication ( https://unix.stackexchange.com/a/208847/9689 )?
(Am I correct that there is nothing intrinsic to the tar format that prevent us from getting such benefit? Otherwise, if not tar, is there maybe another archiver that has such a feature built in? )
P.S. I mean "uncompressed tar" - not tar+gz or something - uncompressed tar and question asks for some trick allowing aligning files block level.
AFAIRecall tar was designed for use with tape machines, so maybe adding some extra bits for alignment is possible and easy within file format?
I hope there might be even tool for it ;). As far as I recall tar files can be concatenated, so maybe there would be trick for filling space for alignment.
Asked by Grzegorz Wierzowiecki
(14740 rep)
Apr 16, 2016, 03:52 PM
Last activity: Oct 12, 2024, 03:14 PM
Last activity: Oct 12, 2024, 03:14 PM