Posted: Tue 14 Feb 2006, 00:37 Post_subject:
How to mount swap partition auto when starting
Dear all
I have been installed Puppy in my hardisk. I have a swap partition and Could you tell me how to make Puppy auto mount it booting.
Thanks for your help
Regards
The swap partition can be used with the command swapon, for instance if my swap partition was /dev/hda4 then the command would be
Code:
swapon /dev/hda4
You can add this command to /etc/rc.d/rc.local and it will execute automatically at bootup.
If you have multiple swap partitions/devices then you can use this command instead
Code:
swapon -a
That will activate all of them at once. In fact, it can be safely used if you only have one swap partition and aren't sure which one it is.
Rules_post_cannot Rules_reply_cannot Rules_edit_cannot Rules_delete_cannot Rules_vote_cannot You cannot attach files in this forum You can download files in this forum