Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Difference between Sparse Disk and Read/Write Disk Image?

Difference between Sparse Disk and Read/Write Disk Image?
Thread Tools
Grizzled Veteran
Join Date: Sep 2007
Location: Behind you.
Status: Offline
Reply With Quote
Sep 24, 2007, 08:29 PM
 
As the title says.

TIA,
Hg +
     
Moderator
Join Date: Dec 2000
Location: Polwaristan
Status: Offline
Reply With Quote
Sep 24, 2007, 09:10 PM
 
sparse expands itself to fit your data. You can compact it using this method: macosxhints.com - Compact sparse disk images via the command line
     
Hg2491  (op)
Grizzled Veteran
Join Date: Sep 2007
Location: Behind you.
Status: Offline
Reply With Quote
Sep 24, 2007, 09:36 PM
 
Thank you very much...
     
Moderator
Join Date: Dec 2000
Location: Polwaristan
Status: Offline
Reply With Quote
Sep 24, 2007, 09:42 PM
 
No problem. It only took me 2 edits to fix spelling and a small error. Time for bed!
     
Posting Junkie
Join Date: Dec 2000
Status: Offline
Reply With Quote
Sep 24, 2007, 10:05 PM
 
The thing about SPARSE images, though, is that they tend not to be as reliable as fixed-size disk images, and are easier to corrupt.

Ticking sound coming from a .pkg package? Don't let the .bom go off! Inspect it first with Pacifist. Macworld - five mice!
     
zro
Mac Elite
Join Date: Nov 2003
Location: The back of the room
Status: Offline
Reply With Quote
Sep 24, 2007, 10:16 PM
 
Any time I've tried to overfill a sparse image the Finder won't let me.
     
Administrator
Join Date: May 2000
Location: California
Status: Offline
Reply With Quote
Sep 24, 2007, 10:47 PM
 
A sparse image means only the used space is actually allocated on disk.

Example: create a 40 MB image, and specify a sparse image type. The image file will be created, and the image mounted. The mounted image will show 40 MB size, with about 10 used - mostly by the journal. Now check the image file, it will be 10 MB in size.

As you add files, the image will fill up. The image file will always be the largest size the image gets used to. ie - fill the image to 35 MB, then delete some files back down to 20 MB. The image file will reach 35 MB, and stay there. If you ever fill the image all the way to 40 MB, then the image file will finally reach 40 MB - the entire image space will be allocated on disk.
     
Forum Regular
Join Date: May 2007
Location: Canada
Status: Offline
Reply With Quote
Sep 25, 2007, 07:47 PM
 
Ah, I had misunderstood this as well. I thought sparse would infinitely expand as needed. Thanks for clearing that up.
     
zro
Mac Elite
Join Date: Nov 2003
Location: The back of the room
Status: Offline
Reply With Quote
Sep 25, 2007, 08:51 PM
 
Ah, gotcha. Never paid much attention. I always figured that's how a regular dmg behaved.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 08:41 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2