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


Click here to return to the '10.3: Move swap to another partition in Panther' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.3: Move swap to another partition in Panther
Authored by: ptwithy on Nov 30, '03 04:31:20PM

I just added the following line to my fstab. In Panther, this seems to be sufficient to put my swap on a separate partition without any other modifications. I create a partition that I intend to use only for swap.


/etc/fstab:
UUID=8AE855ADC404CC8D	/private/var/vm         hfs	rw	1 2
I used the hints elsewhere to discover the UUID that Disk Utility assigns to partitions and use the UUID so that I can name my partition .Swap, which will cause it not to be visible in the Finder. By mounting the volume where the default swap directory is, I don't have to munge /etc/rc.

[NOTE: I have not tested this in Jaguar, previous attempts in Jaguar using LABEL= did not work. I believe that Panther fixes some issues with mount that caused the line in /etc/rc that tries to mount all the disks in fstab to fail in Jaguar.]

Having a separate swap partition may be less of an issue these days as there does seem to be a mechanism that prevents you from filling your drive with swap files ... in Jaguar when this happened, open Apps, such as Mail, would not be able to write their prefs out because they would get a 'disk full' error. Panther seems to warn you to quit some apps before you get to this state.



[ Reply to This | # ]