Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ConCat

macrumors 6502a
There's a trick I learned ages ago for dealing with this: If you symlink a large file from a sparsebundle disk image, then only 8MB of the file will change at a time. It sorta fakes block-based backups. Not every app can cope with a symlink though, but most of them can. I can help you set it up if you want to try it.
 

ConCat

macrumors 6502a
Thanks for the reply. I would really like to know how your trick works, because it will be useful for VMware Fusion images as well.

Sure. You can create a sparse bundle disk image by entering the following in Terminal:

Code:
hdiutil create -size 20G -fs JHFS+ -volname "My Volume Name" ~/SparseData.sparsebundle

Replace "20G" with however much room you think you'd need and "My Volume Name" with whatever you'd like. Realize though that the sparse bundle will not take up more room than there is data on the disk, even if it's formatted as larger, so, a 20G sparse bundle image with 100MB of data on it will only take up 100MB+normal filesystem and disk image padding. It's quite efficient that way. When you mount the disk, you can move data onto it, then in terminal type

Code:
ln -s "/Volumes/My Volume Name/MovedFile.dat" "/path/to/original/location/MovedFile.dat"

Keep in mind that you'll have to open the disk image again if you reboot your computer, but it's only a very minor inconvenience in my opinion. I use this quite a bit. You can just keep everything on the same disk image too. All of your large files. Makes things easier that way.

Of course, for things like a VMWare image, you can just specify that you want the image stored on the sparse bundle during creation. Much simpler that way. :p
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.