Understanding fdi cache invalidation

Kay Sievers kay.sievers at vrfy.org
Wed Mar 7 08:22:50 PST 2007


On 3/7/07, Frederic Crozat <fcrozat at mandriva.com> wrote:
> I've just pushed hal 0.5.9rc1 in Mandriva cooker so we could have a not
> too old version of Hal in next Mandriva but I'm not sure fdi cache
> invalidation is working as expected (or at least, how I think it should
> work) :
>
> currently, if .fdi files are modified, it is correctly detected by
> inotify and hal knows it will have to rebuild its fdi cache
> "15:37:06.475 [I] device_info.c:1016: invalidating fdi cache"
>
> But if I do "lshal" after that, I still get the old cache content
> and /var/cache/hald/fdi-cache is still the old version.
>
> Am I missing something ?

The content will change when the device is probed again (disconnect/connect).

Kay


More information about the hal mailing list