[maemo-developers] What's wrong with folder browsing?
From: Frantisek Dufka dufkaf at seznam.czDate: Mon May 21 22:07:20 EEST 2007
- Previous message: What's wrong with folder browsing?
- Next message: What's wrong with folder browsing?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Gustavo Sverzut Barbieri wrote: > > Just hack scripts (both init.d and dbus/service) and launch it with > lower priority, it should be the default in next release. This still puts big stress on memory subsystem and slows device by flushing caches. > - data is deleted when SD is removed in order to avoid DB growing > indefinitely, maybe you'll not see the same card again (it was a > friend's SD, for example) or data there will not be present anytime > soon (you just deleted those files using PC or other device) You could have option to purge old data when card was not seen for some time (like few days). It is much better then scanning card again when rebooting or quick removal and reinsert (can be quite frequent with some use cases). Also if you fear of huge DB size you may consider to optionally keep DB directly on card with media files if it is writable and there is free space and also user sets it in preferences (or even if user moves it by hand there if canola is smart enough to keep one DB per scanned card, why not?). You can also do MD5 sum of directory listing (even output of ls -R or -lR) and do not scan files at all if listing hash is same. Same applies to metalayer-crawler of course. > > it's always a trade off Well, sometimes it can be also sloppy coding ;-) Frantisek
- Previous message: What's wrong with folder browsing?
- Next message: What's wrong with folder browsing?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]