[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] arch_inventory_traversal
From: |
Florian Weimer |
Subject: |
Re: [Gnu-arch-users] arch_inventory_traversal |
Date: |
Sun, 26 Oct 2003 07:17:48 +0100 |
User-agent: |
Mutt/1.5.4i |
Tom Lord wrote:
> There certainly are things that can happen that will change the
> inventory between calls to arch_inventory_traversal. In other words,
> the _wrong_ change to make would be to modify arch_inventory_traversal
> to simply cache its results between calls.
If tla is hard-link safe, any change updates the mtime of a directory.
Therefore, it is sufficient to have a list of directory signatures to
check which directories have been updated and must be rescanned.
(You need a bit of fiddling to cope with the limited timestamp
resolution, but it's doable.)