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

Click here to return to the 'Volumes/.Swap & .../vm/app_profile' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Volumes/.Swap & .../vm/app_profile
Authored by: Sneeuwitje on Nov 12, '02 05:18:12AM

I put the swap on a hidden volume ".Swap"; never to bother about knuckle-heads saving on that volume again. Works beautifully for me.

sudo pico /etc/rc

in the virtual memory settings change:

#OLD# swapdir=/private/var/vm

in the pre-heat support section change:

#OLD# appprofiledir=/private/var/vm/app_profile

NOTE: if you moved the vm specification use the full path to /Volumes/.Swap/vm instead of ${swapdir}

If you're not installing a new system here's how to rename it to ".Swap":
- log out of your system and log on as root, (You have to enable root in NetInfo Manager)
- open Disk Utility
- select the drive you want to swap on (max 2 x total memory)
- erase it with the new name ".Swap"
- reboot and see: there's no swap drive
- you can check if it worked in the terminal by issuing:

ls /Volumes/.Swap/vm

it should at least return:

app_profile swapfile0

if it checks out o.k., to clean up /private/var issue:

sudo rm -rf /private/var/vm

don't be happy with your system, let your system be happy with you

=; )

[ Reply to This | # ]