maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   additional swap file (https://talk.maemo.org/showthread.php?t=86752)

Akkumaru 2012-10-29 13:34

Re: additional swap file
 
What is the 2 editions?

thedead1440 2012-10-29 13:52

Re: additional swap file
 
Quote:

Originally Posted by Akkumaru (Post 1287083)
What is the 2 editions?

http://pastebin.com/raw.php?i=8rS81vUX from the second page...

Be careful with what you do!

Akkumaru 2012-10-29 13:53

Re: additional swap file
 
Quote:

Originally Posted by thedead1440 (Post 1287089)
http://pastebin.com/raw.php?i=8rS81vUX from the second page...

Be careful with what you do!

I've been on that page, can you post a screenshot of your enable-swap.conf?

death_jax 2012-10-29 14:09

Re: additional swap file
 
Quote:

Originally Posted by Akkumaru (Post 1287090)
I've been on that page, can you post a screenshot of your enable-swap.conf?

You should edit (part of) two lines in the enable-swap.conf file:

  • if [ $ramsize -gt 1000000 ]; then

    to

    if [ $ramsize -gt 1100000 ]; then

  • swappart=`sed -n -e '/swap/s/mtd\([0-9]\).*/\1/p' /proc/mtd` || true

    to

    swappart=`sed -n -e '/var/s/mtd\([0-9]\).*/\1/p' /proc/mtd` || true

thedead1440 2012-10-29 14:10

Re: additional swap file
 
Caution:

I am not responsible for your actions: http://pastebin.com/EE9GTBNV

Akkumaru 2012-10-29 14:18

Re: additional swap file
 
Thanks thedead1440 and death_jax! It worked!

ThraxZzz 2012-10-29 14:31

Re: additional swap file
 
still work after a reboot?

Akkumaru 2012-10-29 14:32

Re: additional swap file
 
I NEED URGENT HELP, validator-init NOT FOUND?

thedead1440 2012-10-29 14:32

Re: additional swap file
 
Quote:

Originally Posted by ThraxZzz (Post 1287117)
still work after a reboot?

If you use open mode it does...If you use normal mode and have inception you can use rainisto's full method to make it stick even after a reboot or use aegisctl and refhashlist...


edit:

my current free:

Code:

~# free
            total        used        free      shared      buffers
Mem:      1008108      753528      254580            0        12972
-/+ buffers:            740556      267552
Swap:      422136      164016      258120


ThraxZzz 2012-10-29 14:37

Re: additional swap file
 
Shall try this tomorrow,bed is calling me now :p Goodnight (asian)


All times are GMT. The time now is 04:00.

vBulletin® Version 3.8.8