[EMAIL PROTECTED] wrote:
Any suggestions?


How about hooking swapoff to the hotplug event for the MMC card cover opening? Maybe even insertion also.


Yes, *please* hook the cover open/cover close events and enable/disable swap as appropriate.

Also, please scan not just for swap files, but also for swap partitions - I prefer to have a swap partition since the time the FAT file system on the card got corrupted and trying to swap to the swap file was, let us say, rather ugly.
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers

Reply via email to