[Adium-devl] Let's abandon disk images
Peter Hosey
boredzo at gmail.com
Fri Mar 30 03:58:43 UTC 2007
On Mar 29, 2007, at 20:40:27, Chris Forsythe wrote:
> 1) Internet-enabled disk images are what Apple recommends.
Yeah, but their advantage over other disk images is that they behave
as archive files than disk images. Why not just use an archive file
at that point?
> 3) Rogue Amoeba used to have problems with distribution until they
> switched to internet-enabled disk images. I do not know what they
> switched from
Standard disk images, according to Paul Kafasis' email to MacSB.
> 4) With bz compressed disk images, what's the real difference here?
> You're saying it's bigger, but is it really that much bigger?
hdiutil create -format UDBZ -srcdir "Adium $VERSION" -volname "Adium
$VERSION" "Adium-$VERSION.dmg"
...............................................
created: /Volumes/RAM Disk/Adium-1.0.2.dmg
___
du -b Adium-1.0.2.dmg %/Volumes/
RAM Disk(0)
14598891 Adium-1.0.2.dmg
___
tar cjf "Adium-$VERSION.tbz" "Adium $VERSION" %/Volumes/
RAM Disk(0)
___
du -b Adium-1.0.2.tbz %/Volumes/
RAM Disk(0)
12818271 Adium-1.0.2.tbz
So the tbz is 87.8% of the dmg. The reason for this is that hdiutil
uses blocksize=100k, whereas tar uses blocksize=900k (that is, bzip2
-1 vs bzip2 -9).
___________________________________
\ Peter Hosey / boredzo at adiumx.com
PGP public key ID: C6550423 (since 2007-01-01)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20070329/9fe1ebe0/attachment.sig>
More information about the devel
mailing list