[maemo-developers] [maemo-developers] swapfile is a huge improvement!
From: Brad Midgley bmidgley at xmission.comDate: Sat Jan 14 20:55:50 EET 2006
- Previous message: [maemo-developers] swapfile is a huge improvement!
- Next message: [maemo-developers] swapfile is a huge improvement!
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Vladislav > with swap on, what happens to the system when you manually remove the > mmc card? Or when you connect the USB cable to the unit? I am pretty sure the nokia will just crash if I eject it when swap is active. We need to latch into the cardslot-opening and -closing events if we want to handle this right (and display a busy... dialog while the swapoff is working and a dialog if swapoff fails...) Plugging it into a host is no trouble. The data partition is unmounted on the 770 side and I can use it from the host. Fortunately, the os is not trying to outsmart me by turning off swap as well when it unmounts the partition. That would not be good. Of course the host pc sees the whole card and can see there's a swap partition but I didn't try accessing it from the host. In fact, when I was starting from a card with just one fat partition I just plugged the nokia (with card inserted) into my linux machine and did the repartitioning and mkdosfs/mkswap from the host pc. brad
- Previous message: [maemo-developers] swapfile is a huge improvement!
- Next message: [maemo-developers] swapfile is a huge improvement!
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]