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
My .dmg file won't update the capacity when I delete files
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="cide28" data-source="post: 648768" data-attributes="member: 55100"><p>Hello,</p><p></p><p>I am new to the forum and I apologize in advance if this is a relatively easy problem. Here we go:</p><p></p><p>I searched on the internet on how to create a locked .dmg file. I created one with a total capacity of 1000 MB. It is a read/write disk image, not a sparse disk image. I have since deleted a bunch of files off of the mounted image by dragging them into the trash, but the total file size has not updated itself. When I look under disk utility, it says there are 22 files (there are really only 13) and the space used is 938.9 MB with 61 MB remaining (it should be a lot more -- or so I thought-- because I deleted files). </p><p></p><p>Is there something else I have to do, so the image file updates its capacity? I have read a lot of about doing 'hdiutil compact' but that seems to be only for spare images, which this isn't. Do normal read/write .dmg files not update their capacity automatically when you delete files from them? Any help you could provide would be great. </p><p></p><p>Cheers</p></blockquote><p></p>
[QUOTE="cide28, post: 648768, member: 55100"] Hello, I am new to the forum and I apologize in advance if this is a relatively easy problem. Here we go: I searched on the internet on how to create a locked .dmg file. I created one with a total capacity of 1000 MB. It is a read/write disk image, not a sparse disk image. I have since deleted a bunch of files off of the mounted image by dragging them into the trash, but the total file size has not updated itself. When I look under disk utility, it says there are 22 files (there are really only 13) and the space used is 938.9 MB with 61 MB remaining (it should be a lot more -- or so I thought-- because I deleted files). Is there something else I have to do, so the image file updates its capacity? I have read a lot of about doing 'hdiutil compact' but that seems to be only for spare images, which this isn't. Do normal read/write .dmg files not update their capacity automatically when you delete files from them? Any help you could provide would be great. Cheers [/QUOTE]
Verification
Post reply
Forums
Apple Computing Products:
macOS - Operating System
My .dmg file won't update the capacity when I delete files
Top