[maemo-developers] Not receiving pre-unmounts

From: Leonardo Sobral sobral at gmail.com
Date: Thu Jun 21 00:59:50 EEST 2007
hi,

I am currently working on a cache system that may need to keep file
descriptors open in the mmc and I am trying to get notified if the mmc
is in an attempt to be removed.

I am listening for (pre) unmounts signals (N800 with latest firmware),
but I just receive unmount when I open the mmc case and nobody is
using it, otherwise I don't receive any signals and a pop-up appears
for the user, informing that "Memory Card in use ... Removing card may
damage data ..." (I do receive a remove signal when the card is
removed).

Shouldn't applications always be notified, via pre-unmounts, when the
mmc case is opened in order to free the resources?

BR
------
// leo

-------------------------------------------------------
Leonardo Sobral Cunha
INdT - Instituto Nokia de Tecnologia
PGP: 0x5751676C @ wwwkeys.pgp.net
-------------------------------------------------------

More information about the maemo-developers mailing list