If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
Type df -h to find out the device name of your swap partition.
Edit your /etc/fstab file to mount the partition at bootup. For example, if your swap partition is named /dev/disk0s2 add a line to your /etc/fstab file that reads: /dev/disk0s2 /Volumes/Swap hfs rw 1 2
Open your /etc/rc file and find the line that reads: swapdir=/private/var/vm
Replace that line with the new location: swapdir=/Volumes/Swap/vm
We're done! Now reboot and verify that the new location is being used: there should be at least one file named swapfile0 in your /Volumes/Swap/vm/ directory.
You can now erase any leftover swap files from the old location: sudo rm /private/var/vm/swapfile*
Ciao.
(Last edited by Abstrakt; Oct 17, 2003 at 03:01 PM.
)