2
1
I'm taking classes with lots of phonetic and grammatical analysis. They've given me an account on a Windows 10 network. Since I am much more comfortable with Mac and Linux (and since the Windows availability hours are limited), I do my work on my Mac laptop.
I auto-mounted my NTFS directories, but there's something flaky with their LAN, so that quite often some apps have read-only access or no access at all.
Consequently, I work in a local copy and frequently rsync changes. But rsync* always updates every NTFS directory—the directory only, never any files (except those I actually changed). Most of those directories, I have never navigated into, yet rsync reports updates all the way down the subdir tree. It's not major—finishes in seconds—but it's still pretty weird.
What do Windows and NTFS do to directories that are never accessed that makes rsync think they have changed?
Well, that's not it either. It's crazy. I noticed it was updating unvisited directories again, and I immediately repeated the rsync command. No directories! Then I logged into the windows machine while repeating rsync on the Mac. The moment the Windows desktop appear, rsync immediately updated all those directories. But, it continued to do so as long as Windows was logged in. WELL, I thought, maybe it is wasting CPU time doing unnecessary refreshes. So I logged out. rsync continues to update those directories! So I'm back to the beginning, i.e., DUNNO. – WGroleau – 2016-08-11T20:36:37.660
Adding the modify-window in “rsync -av --bwlimit=200 --delete --modify-window=5 (HFS+) (NTFS)” made it stop updating unvisited directories. But a day later it did it again. An immediate repeat did not update them. Logging into Windows made it happen again. BUT, since then, it happens EVERY time, whether logged into Windows or not. Even if the rsync commands are only a second apart. Again, even with the unnecessary updates, it only takes a second, so it's not a big deal. But it does make reading the file list less convenient. – WGroleau – 2016-08-11T20:50:11.083