Welcome to the MacNN Forums.

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.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Anyone able to create a new swap destination?

Anyone able to create a new swap destination?
Thread Tools
Dedicated MacNNer
Join Date: Feb 2001
Location: Heber Springs, AR
Status: Offline
Reply With Quote
Oct 15, 2003, 09:57 AM
 
None of the current programs work with 7B85 to create a new swap file. Has any one looked into how this can be done manually?

If so, can you please provide the details?

Thanks
Cheers,

Just say "NO" to PLASTIC SPEAKERS!!
     
Dedicated MacNNer
Join Date: Dec 2002
Location: someplace
Status: Offline
Reply With Quote
Oct 15, 2003, 11:35 AM
 
You could try testuser's swapvolume StartupItem. Theoretically, Panther shouldn't have broken it:
http://eshirazi.com:81/testuserSoftware/index.html
     
Fresh-Faced Recruit
Join Date: Aug 2002
Status: Offline
Reply With Quote
Oct 17, 2003, 02:56 PM
 
The CLI way still works flawlessly in 7B85.
  • 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. )
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 03:59 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2