Re: Creating dmg on 10.5 and 10.6
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On 10-06-04, at 15:08, Rakesh Singhal wrote: Hi all, I am creating one image using following command on 10.6 intel: then I mount it using hdiutil attach -quiet -owners on myimage.dmg hdiutil detach -quiet /Volumes/myimage -force I checked the size of image in finder and it is 629.1 MB. This was due to the default FileSystem settings. _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... hdiutil create -layout SPUD -megabytes 600 -fs HFS+ -volname myimage 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 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. Based on experience, depending on the OS version, when you create a 10 MB disk image with Disk Utility, you can either get 50 KB of available space or 9.something MB. This has been addressed in the latest Snow Leopard version IIRC. Check -fsargs to see if using some additional arguments could help on your version of Mac OS X 10.5. This email sent to site_archiver@lists.apple.com
participants (1)
-
Stéphane Sudre