The Following 3 Users Say Thank You to [DarkGUNMAN] For This Useful Post: | ||
![]() |
2012-05-16
, 07:29
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#2
|
swapon -a
swapon /dev/mmcblk1p2
The Following 22 Users Say Thank You to Estel For This Useful Post: | ||
![]() |
2012-05-16
, 10:10
|
Posts: 1,397 |
Thanked: 2,126 times |
Joined on Nov 2009
@ Dublin, Ireland
|
#3
|
The Following 5 Users Say Thank You to ivgalvez For This Useful Post: | ||
![]() |
2012-05-16
, 11:06
|
Posts: 1,680 |
Thanked: 3,685 times |
Joined on Jan 2011
|
#4
|
The Following 17 Users Say Thank You to vi_ For This Useful Post: | ||
![]() |
2012-05-16
, 11:37
|
Posts: 346 |
Thanked: 271 times |
Joined on Jan 2010
|
#5
|
![]() |
2012-05-16
, 11:45
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#6
|
The Following 5 Users Say Thank You to Estel For This Useful Post: | ||
![]() |
2012-05-16
, 22:45
|
Posts: 1,163 |
Thanked: 1,873 times |
Joined on Feb 2011
@ The Netherlands
|
#7
|
![]() |
2012-05-17
, 09:21
|
Posts: 1,225 |
Thanked: 1,905 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
![]() |
2012-05-17
, 09:35
|
Posts: 372 |
Thanked: 61 times |
Joined on Jan 2012
|
#9
|
![]() |
2012-05-17
, 10:43
|
|
Posts: 4,118 |
Thanked: 8,901 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: | ||
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]; 2012-05-16 at 07:14.