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.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum