[maemo-developers] how to tell if files have changed?
From: Jesse Guardiani jesse at guardiani.usDate: Fri Sep 21 06:11:08 EEST 2007
- Previous message: how to tell if files have changed?
- Next message: how to tell if files have changed?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Michael Wiktowy wrote: > On 9/20/07, Jesse Guardiani <jesse at guardiani.us> wrote: >> Hello, >> >> Does maemo have anything like FAM or Gamin that tells us if watched >> files or dirs have changed? >> >> I'm trying to improve Kagu's media scanning capabilities and it seems >> that the best thing to do would be to get a notification of some sort >> when a new file arrives, scan it, and act appropriately. > > Don't both of those tools just tell you which files changed between > subsequent scheduled scans? You still have to waste a buch of disk and > cpu time on scanning and generating checksums on each file. Not if the kernel helps out. There are hooks that make the updates real-time and non-iterative. -- Jesse Guardiani Programmer/Sys Admin jesse at guardiani.us
- Previous message: how to tell if files have changed?
- Next message: how to tell if files have changed?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]