Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Move swap to another partition, revisited again' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Move swap to another partition, revisited again
Authored by: diffident on Aug 07, '05 12:01:07PM

I don't really like the method used, because delaying the vm startup until everything else has started (ie everything in /etc/mach_init_d, System/Library/LaunchDaemons, Library/LaunchDaemons and so on) is a pretty fundamental change to the system startup, but I can confirm that this hint does put the swap files on the volume specified in rc.swap, even if that volume is on a separate IDE disk (Tiger 10.4.2).

For my own machine, I've added my swap disk to etc/fstab (had to create fstab) so it's explicitly mounted by the limited mount call early in Tiger's rc. That means Dave Bayer's original and far less intrusive method (on which this hint is based) works just fine under Tiger as well as Panther, albeit with the disk-name caveats Dave mentions on his very informative page (I've made a few further modifications to avoid some of those issues, but they're very specific to my setup).

Given that Apple are deprecating the use of rc in favour of launchd, neither this hint nor Dave's original are going to be long-term solutions for moving swap in Tiger, so with every OS revision anyone using these hints will need to check whether Apple have made changes to rc.



[ Reply to This | # ]