Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
Mounted Disk Image is significantly smaller than .dmg
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="jmullenberg" data-source="post: 867395" data-attributes="member: 54519"><p>I am working on an applescript which includes creating a disk image and copying a folder to it. My script calculates the size the disk image needs to be to fit all the files on it, and then sends a shell command to create and mount the disk image. The problem is that the once the disk image is mounted the capacity is significantly less than the corresponding .dmg file.</p><p></p><p>(example: mydiskimage.dmg = 10.04 GB, but when mounted it only has a capacity of 9.72 GB, where is the missing 328 MB?)</p><p></p><p>So my question is where is the missing disk space, and is there a way to calculate how much that is going to be so I can include it when I'm creating the .dmg file?</p><p></p><p>Here is the applescript command I'm using to create the disk image: </p><p></p><p>do shell script "hdiutil create -size 10278.1640625m -fs HFS+ -volname \"Converted Clips\" converted_clips.dmg"</p></blockquote><p></p>
[QUOTE="jmullenberg, post: 867395, member: 54519"] I am working on an applescript which includes creating a disk image and copying a folder to it. My script calculates the size the disk image needs to be to fit all the files on it, and then sends a shell command to create and mount the disk image. The problem is that the once the disk image is mounted the capacity is significantly less than the corresponding .dmg file. (example: mydiskimage.dmg = 10.04 GB, but when mounted it only has a capacity of 9.72 GB, where is the missing 328 MB?) So my question is where is the missing disk space, and is there a way to calculate how much that is going to be so I can include it when I'm creating the .dmg file? Here is the applescript command I'm using to create the disk image: do shell script "hdiutil create -size 10278.1640625m -fs HFS+ -volname \"Converted Clips\" converted_clips.dmg" [/QUOTE]
Verification
Name this item. 🍎
Post reply
Forums
Apple Computing Products:
macOS - Operating System
Mounted Disk Image is significantly smaller than .dmg
Top