| The Following 2 Users Say Thank You to [DarkGUNMAN] For This Useful Post: | ||
|
|
05-16-2012
, 03:29 AM
|
|
|
Posts: 3,973 |
Thanked: 5,944 times |
Joined on Mar 2011
|
#2
|
swapon -a
swapon /dev/mmcblk1p2
| The Following 20 Users Say Thank You to Estel For This Useful Post: | ||
|
|
05-16-2012
, 06:10 AM
|
|
Posts: 1,330 |
Thanked: 1,992 times |
Joined on Nov 2009
@ Madrid, Spain
|
#3
|
| The Following 4 Users Say Thank You to ivgalvez For This Useful Post: | ||
|
|
05-16-2012
, 07:06 AM
|
|
Posts: 1,653 |
Thanked: 3,560 times |
Joined on Jan 2011
|
#4
|
| The Following 16 Users Say Thank You to vi_ For This Useful Post: | ||
|
|
05-16-2012
, 07:37 AM
|
|
Posts: 345 |
Thanked: 261 times |
Joined on Jan 2010
|
#5
|
|
|
05-16-2012
, 07:45 AM
|
|
|
Posts: 3,973 |
Thanked: 5,944 times |
Joined on Mar 2011
|
#6
|
| The Following 3 Users Say Thank You to Estel For This Useful Post: | ||
|
|
05-16-2012
, 06:45 PM
|
|
Posts: 829 |
Thanked: 1,066 times |
Joined on Feb 2011
@ The Netherlands
|
#7
|
Also, swappolube creates a file in event.d called tuning, in case you didn't found out already
|
|
05-17-2012
, 05:21 AM
|
|
Posts: 1,118 |
Thanked: 1,510 times |
Joined on Feb 2011
@ Quezon City, Philippines
|
#8
|
So, best way, if You're absolutely sure that it's what You want, is to edit /etc/event.d/rcS-late, replacing line:
...withCode:swapon -a
Code:swapon /dev/mmcblk1p2
| The Following 10 Users Say Thank You to Hurrian For This Useful Post: | ||
|
|
05-17-2012
, 05:35 AM
|
|
Posts: 372 |
Thanked: 58 times |
Joined on Jan 2012
|
#9
|
|
|
05-17-2012
, 06:43 AM
|
|
|
Posts: 995 |
Thanked: 1,202 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#10
|
This is kinda risky - if you ever forget that the N900 now depends on a microsd on a specific partition for Swap, Maemo will start *****ing about not enough memory (not true, can launch xterm).

| The Following 2 Users Say Thank You to peterleinchen For This Useful Post: | ||
![]() |
| Thread Tools | Search this Thread |
|
I have been reading about using SDCard partition for swap in
the Easy Debian Thread - http://talk.maemo.org/showthread.php?t=34550&page=271
Based of what I have seen, there are some tweaks by freemangordon and Estel tweaking overall swap settings I'd like to make permanent.
I'd also like to apply the SDCard swap during startup
What is the best method for this? Is it better to create a startup script in /etc/event.d, or is there an existing file to modify?
If so - how do you apply the changes?
Is striping swap across sdcard and emmc the best method, or is single swap on sdcard the better way to go?
Last edited by [DarkGUNMAN]; 05-16-2012 at 03:14 AM.