No, I don't check st_dev at all, mostly because I assume that afsd created the cache directory in the first place. Anyone who actually violates the cache abstraction and builds their own cache directory by hand deserves to lose anyways ;) Yes, but if you did want to check, it would be sufficient to check that all the directories have the same st_dev.