[maemo-developers] [maemo-developers] Adding swapon/off to Jakub's Load-Plugin applet

From: Koen Kooi koen at handhelds.org
Date: Thu Feb 23 15:12:39 EET 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Armin M. Warda wrote:
> On Thursday 23 February 2006 01:34, David D. Hagood wrote:
> 
>>alterego at sdf.lonestar.org wrote:
>>
>>>>Any suggestions?
>>>
>>>How about hooking swapoff to the hotplug event for the MMC card
>>>cover opening? Maybe even insertion also.
> 
> 
> Yes, I really would like to try this, but I do not know how this has 
> to be done. Can anybody lend me a hand? (Of cause I would make 
> this feature optional, with an enable/disable checkbox in the 
> settings.)
> 
> 
>>Yes, *please* hook the cover open/cover close events and
>>enable/disable swap as appropriate.
> 
> 
> But this will only make sense for a swap living on the RS-MMC.
> If you are running with a swap file on the internal flash,
> you would not want to swapoff when the RS-MMC lid is opened...

Please tell me I'm reading this wrong: 'swap file on the internal
flash'. You do know that flash is broken after ~100k writes/cell, right?
And you know that will break your 770, right?

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFD/bTGMkyGM64RGpERAsnLAKC3ev+fcJMjURrWC2QVedBpsp6JIgCdErIw
ufGwdwWFKeF3mxnPynWywHc=
=GXOS
-----END PGP SIGNATURE-----

More information about the maemo-developers mailing list