[ 
https://issues.apache.org/jira/browse/COMPRESS-407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16321798#comment-16321798
 ] 

Stefan Bodewig commented on COMPRESS-407:
-----------------------------------------

Have a look at 
https://www.freebsd.org/cgi/man.cgi?query=tar&apropos=0&sektion=5&manpath=FreeBSD+7.0-RELEASE&arch=default&format=html
 for the terminology we use. The record is the 512 byte entry, a block is a 
batch of records.

With 1.15 we have changed the default block size to a single record - and not 
documented that properly, it seems. You should be able to get back to the 
behavior of 1.14 by using an explicit {{TarArchiveOutputStream}} constructor 
with a block size of 10kB.

I'll try to make things more explicit in the docs.

> Validate Block and Record Sizes
> -------------------------------
>
>                 Key: COMPRESS-407
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-407
>             Project: Commons Compress
>          Issue Type: Sub-task
>          Components: Archivers
>            Reporter: Simon Spero
>             Fix For: 1.15
>
>
> Reject record sizes not equal to 512 bytes; require block sizes to be 
> multiples of 512 bytes.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to