[maemo-developers] [maemo-developers] swapfile is a huge improvement!

From: Urho Konttori urho.konttori at helsinki.fi
Date: Mon Jan 16 13:55:56 EET 2006
Israel Herraiz wrote:
> Larry Battraw wrote:
>   
>> hangup is having to manually remount it after a reboot, but it's worth
>> the trouble.  A GUI tool for toggling swap and mounts would sure be
>> neat! 
>>     
>
> Well, not properly a GUI tool but two menu entries for adding and
> removing swap, I think this could useful for you [1].
>
> I turn on swap only when I need it (for example, I am reading a PDF,
> listening to MP3 and browsing the web), and turn off when I need for
> example to remove the card.
>
> Regards,
> Israel Herraiz
This is just a suggestion, but could the following be safe enough for 
consumer grade swap use on Nokia 770:

If user has swapon. User opens MMC door. System pops up a large RED GUI 
that states: You have swap active. Please turn off swap before removing 
MMC from the slot. GUI would have one large button (turn off swap). 
After swapoff, GUI would turn green and say, it's safe to detach MMC now.

On USB cable insertion, the same GUI would popup and tell user that MMC 
cannot be mounted on PC until swap is off. Again, nice large button to 
turn swap off.

When MMC inserted back from either USB connection or physically, system 
would check if previous state was swapon and popup a gui asking if swap 
should be resumed.

Kind regards,
Urho Konttori


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20060116/e3c983f0/attachment.htm 
More information about the maemo-developers mailing list