The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




Thread: SWAP SPACE
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 11-10-2000
SmartJuniorUnix SmartJuniorUnix is offline
Registered User
  
 

Join Date: Sep 2000
Location: UTAH
Posts: 27
Cool I GOT IT!!!!

I did a little research regarding this issue.

It turns out that it is very simple...

first, create a file with a size in megabytes of the swap space you wish. I did this in the root directory for simplicity.

mkfile 1024 /swapfile

second, manually add the file as swap space

swap -a /swapfile

this is it!!

Now it gets interesting. To have the swap space mounted everytime you machine boots, you need to edit /etc/vfstab.

You'll have to look at vfstab(4) for the syntax of the file, but as I have learned---It's there if you read it

Thanks for all your help

SmartJuniorUnix......UNTIL NEXT TIME