maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N810 (https://talk.maemo.org/forumdisplay.php?f=28)
-   -   new swap partition has to manually started (https://talk.maemo.org/showthread.php?t=15728)

albright 2008-01-26 14:48

new swap partition has to manually started
 
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?

kernelpanic 2008-01-27 05:31

Re: new swap partition has to manually started
 
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

tz1 2008-01-27 15:50

Re: new swap partition has to manually started
 
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).


All times are GMT. The time now is 19:18.

vBulletin® Version 3.8.8