libarchive block size
Here (http://www.gsp.com/cgi-bin/man.cgi?s...c=archive_read) 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?
|
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 11:15 AM. |