Active Topics

 


Reply
Thread Tools
Posts: 145 | Thanked: 32 times | Joined on Dec 2007
#1
I added a 256mb swap partition to my external card.
It works but does not get automatically recognized.
That is, I have to do

Code:
swapon -a
after the tablet boots.

This is the /etc/fstab line:

Code:
/dev/mmcblk1p1  none    swap    sw    0 0
Why won't it recognize the swap space at boot, I wonder?
 

The Following User Says Thank You to albright For This Useful Post:
Posts: 179 | Thanked: 90 times | Joined on Dec 2007
#2
You need to add a line to /etc/init.d/rc.S

swapon -a

or

swapon /dev/mmcblk1p1

meamo initscripts don't include swap activation.

hope this helps,
kernelpanic
 

The Following 2 Users Say Thank You to kernelpanic For This Useful Post:
tz1's Avatar
Posts: 716 | Thanked: 236 times | Joined on Dec 2007
#3
I don't have "sw", I have "priority=-1" in the options column, and have swap for the mount point. I think it automatically recognized it when it does "mount -a" but I'm not sure. I've reformatted the internal card and would have to retry it.

Normally you can copy the line from /proc/mounts or /proc/swaps into /etc/fstab (and making sure you don't copy noauto).
 
Reply


 
Forum Jump


All times are GMT. The time now is 15:46.