gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] Free space wasting when handling binary files


From: Adrian Irving-Beer
Subject: Re: [Gnu-arch-users] Free space wasting when handling binary files
Date: Thu, 24 Mar 2005 18:53:37 -0500
User-agent: Mutt/1.5.6+20040907i

On Thu, Mar 24, 2005 at 12:42:46PM -0600, John Arbash Meinel wrote:

> Remember, the tarball is compressed, so you do get a little bit of delta
> compression even though there are 2 copies in there.

Negative on that, AFAICT...

% dd if=/dev/urandom of=file1 bs=1k count=1k
1024+0 records in
1024+0 records out
1048576 bytes transferred in 0.338545 seconds (3097302 bytes/sec)
% cp file1 file2
% ls -l file1 file2
-rw-r--r--  1 wisq wisq 1048576 2005-03-24 18:50 file1
-rw-r--r--  1 wisq wisq 1048576 2005-03-24 18:51 file2
% tar -zcf files.tar.gz file1 file2
% ls -l files.tar.gz
-rw-r--r--  1 wisq wisq 2097810 2005-03-24 18:51 files.tar.gz

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]