-   Programming (
-   -   libarchive block size (

MTK358 07-12-2011 12:53 PM

libarchive block size
Here ( it says that you need to provide a block size to open an archive. What does that mean, and what would be a good number to use?

ta0kira 07-13-2011 10:22 PM

Unless the format of the archive has a default block size (e.g. tar has 512 bytes per block) you might as well start with sysconf(_SC_PAGESIZE). It looks like a block size isn't actually required, though. That's probably just for serial devices that read only in increments of blocks, like a tape drive.
Kevin Barry

All times are GMT -5. The time now is 07:29 PM.