donald wrote:Well, the purpose of a swap file is to "enlarge" the available amount of RAM.
It has to be stored on a physical partition to fulfill this purpose.
Running an OS (Porteus) in RAM and to place a swap-file also into RAM,
which in turn would occupy a portion of RAM permanently, makes no sense, right?
Thank you all for replies.
OK, you are right.
The entire story is:
I have problems with spin down (switch off) of HDD in LXDE x64 Porteus waste my HDD lifetime . This appears only if I unplugged when the laptop is on and logged on.
If the laptop is off and boot unplugged, the HDD is not spinning down.
1. I have tried with this in startup, but is not working
Code: Select all
setting advanced power management level to 0xfe (254)
APM_level = 254
2. I have tried with acpi=off as cheatcode in porteus.cfg but it removes the battery status from taskbar. I didn't wait until now to see if this solved the spinning down of HDD
3. I was tried to make a swap on HDD thinking that this will block the HDD to spin down. Didn't managed to do the swap and this is the reason I tried in copy to RAM for tests.
I am thankful for any idea.