I've observed the following behaviour both in Finder and on command line with respect to my initial query.
In Finder, I have to switch between windows for vnop_getattr() to be called on the parent directory and the filesystem changes made on a different machine to be picked up.
On command line, running % ls -ld /parent/directory results in vnop_getattr() to be called and the changes to be picked up.
The same behaviour is observed when, e.g., writing files.
The file size doesn't get updated in real time. I have to switch between windows for file size changes to be picked up.
What am I missing?
Thanks.
Topic:
App & System Services
SubTopic:
Core OS
Tags: