swap on
How do I get my Slack to do a
swapon /dev/hda3 without typing it in every time my computer boots? |
Put the command in one of your startup scripts. On my machine I put such things in /etc/init.d/boot.local. Slackware may be a little different.
|
Stick this line in your /etc/fstab file
/hda3 swap swap defaults 0 0 |
Thanx that worked. I tried putting that line at the bottom of the file and it just gave me an error that there was no end to the file. So I moved it up and it detected it perfectly. Thanx for your help.
|
If you press the enter key after the last character on the last line in the file will fix that problem.
This sticks an End Of Line character inbetween the last text character and the End Of File marker. This is true for just about all config files. |
All times are GMT -5. The time now is 10:23 AM. |