On Fri, 2006-01-13 at 00:51, Craig Barratt wrote: > I've always wondered what happens to the blocking factor > when you use -z or -j with tar. Does tar re-block the > output from gzip or bzip2? Do you have to specify -B > or -b nnn to force correct blocking when using a tape > with -z or -j?
It has been a long time since I looked at the gnutar code but I think it forks into three processes. One generates the archive, one runs gzip, and one collects the gzip output and reblocks. If you don't specify a blocking factor you should get the default 10k. Linux usually defaults the tape setting to 512 bytes anyway but you can change it with mt. Things usually work as long as the tape block size divides evenly into the write size. -- Les Mikesell [EMAIL PROTECTED] ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/