[maemo-developers] Not receiving pre-unmounts
From: Kimmo Hämäläinen kimmo.hamalainen at nokia.comDate: Mon Jun 25 13:12:58 EEST 2007
- Previous message: Not receiving pre-unmounts
- Next message: Not receiving pre-unmounts
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, 2007-06-20 at 18:59 -0300, ext Leonardo Sobral wrote: > 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? The signal should come. The Ke-recv process runs the mmc-pre-unmount program to send the signal before trying to unmount a memory card. You should see the signal in the output of "dbus-monitor --session". BR; Kimmo > > BR > ------ > // leo > > ------------------------------------------------------- > Leonardo Sobral Cunha > INdT - Instituto Nokia de Tecnologia > PGP: 0x5751676C @ wwwkeys.pgp.net > ------------------------------------------------------- > _______________________________________________ > maemo-developers mailing list > maemo-developers at maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-developers
- Previous message: Not receiving pre-unmounts
- Next message: Not receiving pre-unmounts
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]