Re: Darwin-dev Digest, Vol 7, Issue 96
Re: Darwin-dev Digest, Vol 7, Issue 96
- Subject: Re: Darwin-dev Digest, Vol 7, Issue 96
- From: Rakesh Singhal <email@hidden>
- Date: Tue, 8 Jun 2010 11:35:25 +0530
Hi Axel,
Thanks for your help. Yes, this is the reason due to that I am able to copy around 950 MB of data on 10.6 but not on 10.5. ditto preserves the HFS compression. I checked disk usage using du command, it comes around 550 MB so that is perfectly fine and the size of same contents in Finder is around 950 MB.
Information about "The files on 10.6 are compressed, so size on disk is less", is documented anywhere?
For example, "ls -al /bin/cp" shows a size of 57632 bytes for that
executable, while in fact it is compressed and has a logical size of
15473 bytes only on the disk.
Thanks once again.
Regards,
Rakesh
Date: Mon, 7 Jun 2010 17:50:32 +0200
From: Axel Luttgens <email@hidden>
Subject: Re: Creating dmg on 10.5 and 10.6
To: dd <email@hidden>
Message-ID: <email@hidden">email@hidden>
Content-Type: text/plain; charset=iso-8859-1
Le 5 juin 2010 à 14:59:18, Axel Luttgens a écrit :
> [...]
>
> Looks like a ditto bug.
Well, perhaps not, after all...
Just noticed that (the new) option --preserveHFSCompression is the default on 10.6. As a result, if the destination volume supports compression, ditto will by default preserve the compressed format of any HFS+ compressed file instead of uncompressing it and saving it as a "regular" file.
So, a documented behavior.
But once again, one has to be careful with ditto's defaults from one OS version to another.
Axel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden