From: Byron A Jeff (byron@cc.gatech.edu)
Date: 09/14/93


From: byron@cc.gatech.edu (Byron A Jeff)
Subject: Re: Help: Linux Swap
Date: Tue, 14 Sep 1993 23:09:12 GMT

In article <275b49$b6s@genesis.ait.psu.edu>,
Heon J. Jo <hjj101@cac.psu.edu> wrote:
>well.. I'm pretty sure this is an FAQ but...
>I can't have my swap turned on when Linux boots up..
>I must type manually 'swapon /dev/hda3' to turn my swap on.
>is there a way to set my swap file turned on every time I boot Linux?
>thanks for your help...

No problem. Two ways to do it.

1) add this line to your /etc/fstab file

/dev/hda3 swap swap defaults

2) Put the swapon command in you /etc/rc.local file.

Hope this helps,

BAJ