Creating dmg on 10.5 and 10.6
Creating dmg on 10.5 and 10.6
- Subject: Creating dmg on 10.5 and 10.6
- From: Rakesh Singhal <email@hidden>
- Date: Fri, 4 Jun 2010 18:38:51 +0530
Hi all,
I am creating one image using following command on 10.6 intel:
hdiutil create -layout SPUD -megabytes 600 -fs HFS+ -volname myimage myimage.dmg
then I mount it using
hdiutil attach -quiet -owners on myimage.dmg
Now I copy my data to mounted volume (/Volumes/myimage). The size of my data is around 950 MB and I am able to copy the complete data in this image. Finally I unmount it using
hdiutil detach -quiet /Volumes/myimage -force
I checked the size of image in finder and it is 629.1 MB.
If I follow the same procedure on same machine but on 10.5.x, it is not able to copy the same data (950 MB). I need to create image of around 1000 MB to copy this data. I am running all these commands in a script.
I would like to know what is the difference in 10.5 and 10.6 in creating image using same command. Does it compress the data in 10.6 or some layout difference?
Do I need to modify command in 10.5 to get same result as in 10.6, if it is possible?
Please let me know if I am wrong somewhere.
Thanks in advance.
Regards,
rksinghal
_______________________________________________
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