I tried every method I could find online to get the swap on a separate drive and either they locked up the system before boot or they made a new folder hence the "swap 1" link was created im sure most who have tried know this problem.
Methods I tried before worked in 10.1, but 10.2 seems a lot more problematic when trying to switch swap drives. The recent post here that describes copying the "drives" startup script into the rc file ended up making 10.2 unbootable. Other methods would create a folder "swap" in volumes and "swap" drive would mount as "swap 1;" it was stubborn like that.
Trying the most basic method, I created the fstab file with the mount point and edited only the location of the swap directory in the rc file:
swapdir=/Volumes/swap/vm"After that didn't work, I then added the other method's "mount -a" before the above line. Well that didn't help either. I even listed the explicit mount point with the fstab information with no success.
After looking over the way the rc file is set up now in 10.2, I noticed there were certain system calls that seemed to be key which occurred after the swap code. I thought I'd try moving the entire modified swap code section to the end of the file, hoping the other system calls would allow the drives to mount and bingo it worked! I spent a lot of determined time to get that to work. Here's how the new end of my rc file looks:
Mac OS X Hints
http://hints.macworld.com/article.php?story=20021016060451607