|
|
Move swap to another partition, revisited again
Unfortunately, this hint seems to fail when you point to a partition on another disk : the desired partition never mounts early enough, causing the script to put back the swap to /private/var/vm.
Under 10.3.x, assigning a UUID to the partition, putting it in fstab and inserting a
in while enabling disk mounting without user login using the hint on this site had been working for me.
However, partitions on other disks never seem to mount before login in Tiger, no matter what I do.
Any ideas?
Move swap to another partition, revisited again
I've setup several machines this way. All of them using separate disks for swap. Maybe you are using non-IDE disk? Then you can try to issue this command in terminal:
sudo defaults write /Library/Preferences/SystemConfiguration/autodiskmount AutomountDisksWithoutUserLogin -bool true
Move swap to another partition, revisited again
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. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.12 seconds |
|