4 ms·
If they are caching based on inode, this will not invalidate the cache. Do cp test.sh test2.sh and try again.
by egorfine 6y ago
If they are caching based on inode, this will not invalidate the cache. Do cp test.sh test2.sh and try again.
- saagarjha 6y agoI feel like cp might do an APFS CoW and this might still cause problems…
- ken 6y agoNo, even "cp -c" creates a new inode.
- zimpenfish 6y agoSorry, when I said "changing the filename to test2.sh", I meant in the commands run, not `mv test.sh test2.sh`. i.e. I have both `test.sh` and `test2.sh` in `/tmp` now.