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.