Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I have following setup: I have a sparsebundle on an external disk containing steam (it wouldn't install on my internal disk - something about the format). But by now I depend on this approach as this bundle got much larger as my internal disk. For this I have written a simple LaunchAgent that mounts the bundle (if available) onto ~/Library/Steam when I logon.

I have this setup for some time now, but just recently noticed that Steam itself also installed a LaunchAgent - no idea what it does... But I want to make sure the mounting happens before the Agent from Steam runs.

So far I checked if I could set some dependencies or so in Launchd - but couldn't find anything. Do you have suggestions how I might achieve this?

share|improve this question
add comment

1 Answer

Firstly, a rant: Sparse Bundles work in a way to allow the bundle to increase in size to accomidate it's contents, however any files that you modify or delete in the bundle will not decrease the bundle size as you'd expect. For example, if I add two 1GB files to the bundle and then delete one, the bundle will be 2GB in size. If I then add another 1GB file, then the bundle will increase to 3GB in size. Long story short, don't run applications in bundles.

As for the LaunchAgent for Steam, it's probably just a background server connection. I would disable it within the Steam preferences if you can, and/or try to remove it from the start-up list.

There is no built in delay for startup apps that I'm aware of. I use Keyboard Maestro for this. My workflow is for Keyboard Maestro to launch at login, then to wait for a certain period of time (delay) after login and then launch an app (eg Dropbox).

share|improve this answer
    
Actually my experience with gaming from within a Sparse Bundle isn't so bad. From what I learnt they get "defragmented" upon unmount - so it takes some time, but some space is regained. As for the LaunchAgent - there is no option to deactivate, and I'm a bit hesitant to mess within Steams programs. –  bdecaf Aug 25 '12 at 12:33
    
I'd still just remove it from the launch start-up list within the accounts pane of the System Preferences. The worst that will happen is that it'll add it again when you launch Steam the next time. –  daba Aug 25 '12 at 12:41
    
I will try that. –  bdecaf Aug 25 '12 at 13:00
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.