On 2/22/07, Eero Tamminen <[EMAIL PROTECTED]> wrote:
Hi,

ext Gustavo Sverzut Barbieri wrote:
> yes, but the most harmful action is to add "/" to be scanned, but
> that's in blacklist so it's avoided.

If it is monitoring file changes in the device, you should also
ignore at least /dev & /sys*, otherwise your process wakes up
unnecessarily (which drains battery).

Sure, we ignore:

   static const gchar *blacklist[] = {
       "/bin",
       "/boot",
       "/dev",
       "/etc",
       "/lib",
       "/proc",
       "/root",
       "/sbin",
       "/sys",
       "/usr/bin",
       "/usr/sbin",
       "/usr/etc",
       "/usr/lib",
       NULL
   };



--
Gustavo Sverzut Barbieri
--------------------------------------
Jabber: [EMAIL PROTECTED]
  MSN: [EMAIL PROTECTED]
 ICQ#: 17249123
Skype: gsbarbieri
Mobile: +55 (81) 9927 0010
Phone:  +1 (347) 624 6296; [EMAIL PROTECTED]
  GPG: 0xB640E1A2 @ wwwkeys.pgp.net
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers

Reply via email to