PDA

View Full Version : Swap Partition Using Jaguar


radiohead
08-22-2002, 02:01 PM
I discovered that probably as early as OS X 10.1.4, Apple has apparently changed the way the OS handles 'fstab', and therefore, I have had to use explicit mount calls to properly mount my swap volume, but in Jaguar, I am having another problem. Even after calling for an explicit mount call, the revised swap location seems fine until after a few reboots, at which point the OS creates another swap directory, /Volumes/Swap 1. Not sure how to resolve this, but I did notice that Swap Cop, which apparently uses 'fstab', will successfully move the swap location, but after a system crash, the OS won't reclaim the swapfiles, so you wind up swapfiles in .vm that are stagnant. Why is this? Perhaps someone has a solution to help resolve this issue....thanks

petey
08-22-2002, 04:10 PM
i'm not sure of the correctness of my own understanding on this, but AFAIK...

for some reason, after a crash, the swap file gets put back on the main partition. my solution is to restart a second time immediately from the login screen after a crash. this seems to take care of the problem.

anyone want to expound on this?

radiohead
08-22-2002, 04:55 PM
I've tried rebooting to reset .vm, but it doesn't seem to work under the Swap Cop methodology. The swapfiles still remain. Any ideas?

petey
08-22-2002, 06:26 PM
Swap Cop didn't work for me in 10.1.5, so i used the instructions at the end of the following page to edit my rc file:

http://www.bombich.com/mactips/swap.html

with Jaguar, i had to alter my rc file to make an explicit mount call, again as outlined at the end of Mike Bombich's excellent instructions. but i do have my swap successfully moved under Jaguar.

---

perhaps you should give this method a try.

9KILLER
10-31-2002, 06:56 PM
Thanks to a tip I got from macosxhints.com, I found out how to make it work.

Instructions are here.

http://forums.macosxhints.com/showthread.php?s=&threadid=5014