Flopswap

=Introduction=

FlopSwap is a Swap management Tool for N900.

It features as a GUI to refresh your devices Linux Swap to speed up your VM.

Before installation your micro SD card needs setting up with linux-swap on two partitions.

More
More information on the package can be found ...

talk.maemo.org thread FlopSwap

Package Page

Installation
The latest versions can be found in the devel repository and can be installed using the N900 Application Manager (HAM).

Operation
There are four main actions:-

This swaps to a fresh SD swap space from either the device or another SD swap.
 * Fresh Swap

This moves the swap space to the device so the back cover can be removed.
 * Swap to Device

Shows currently active swap (cat /proc/swaps)
 * Show Current

Shows current fresh swap usage percentage via hildon banner and recommends fresh swap at 94% via hildon dialog.
 * Check Usage

IMPORTANT:-

Swaps HAVE to be in the following locations.

/dev/mmcblk0p3 /dev/mmcblk1p2 /dev/mmcblk1p3

Bugs
Please report bugs to the talk.maemo.org thread page.

FAQ
Question

How do I setup linux-swap?

Answer

The easiest way is to use GParted on a desktop. Then make two equally sized "linux-swap" partitions, 800MB is fine. These partitions should be located after the first FAT partition.

The card will then have a FAT part (mmcblk1p1) swap1 (mmcblk1p2) and swap2 (mmcblk1p3).

Question

Can we make FlopSwap run on a timer?

Answer

Yes, you can call the refresh script from a shell or cron/alarmed

sh /opt/flopswap/script/swapswitch.sh

License/Disclaimer
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License (Version 2) as published by the Free Software.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Changelog
0.0.4 (Current Devel)
 * Changed Check Usage to Status
 * Changed scripts to work off swap written not swap used
 * Removed rootsh and sudser from depends list now uses update.sudoers

0.0.3
 * Added Keyboard shortcuts to Q,W,A and S keys.
 * Added Check Swap Usage button.

0.0.2
 * Added optional event.d upstart file (in settings menu)
 * Depends rootsh and sudser due to new event.d file

0.0.1
 * Initial Release

Wiki Update

 * sixwheeledbeast - 18 Jan 2013 22:32 UTC