Description
Hi,
I wanted to use fsmon-osx
to monitor a long, Finder file move operation, something I estimated would take about 20 minutes. In case it matters, I was copying between two mounted .dmg "Case-sensitive HFS+" filesystems. Let's call these /Volumes/Source and /Volumes/Target.
In Finder, I selected the files to copy in /Volumes/Source, then did a paste operation into /Volumes/Target.
Meanwhile, because of issue #44 I downloaded and compiled fsmon-osx
from source. No errors during make
. I then launched it with:
$ sudo ./fsmon-osx /Volumes/Target
Unfortunately, in the time it took me to download, compile and launch fsmon-osx
, the Finder paste operation completed sooner than I expected; fsmon-osx
didn't show any activity. Not a big deal as I had more files to move so I just left fsmon-osx
running.
With the Finder paste operation successfully completed, I made the Finder window for /Volumes/Source active. It still had the files selected, so I proceeded to have Finder move them to Trash.
This is where it gets weird. Even though fsmon-osx
was pointed to /Volumes/Target, as soon as Finder started moving files to Trash, fsmon-osx
started showing hundreds of lines like this:
Invalid length in fsevents data packet (14, 14)
Invalid length in fsevents data packet (14, 14)
Invalid length in fsevents data packet (14, 142)
ERROR unknown type 12147
ERROR unknown type 11825
ERROR unknown type 2304
ERROR unknown type 64768
ERROR unknown type 2048
ERROR unknown type 5120
ERROR unknown type 30060
ERROR unknown type 29268
ERROR unknown type 25454
ERROR unknown type 28461
ERROR unknown type 41343
Overflow detected and corrected (310, 306)
Invalid length in fsevents data packet (14, 14)
Invalid length in fsevents data packet (14, 281)
ERROR unknown type 12147
ERROR unknown type 11825
ERROR unknown type 2304
ERROR unknown type 26368
ERROR unknown type 2048
ERROR unknown type 5120
ERROR unknown type 30060
ERROR unknown type 29268
ERROR unknown type 25454
(snip)
My questions:
-
Why would
fsmon-osx
start showing activity on the move to trash action for /Volumes/Source, when I told it to monitor /Volumes/Target? -
What do the errors above mean? "Error unknown type...", "Invalid length..." and "Overflow detected..." ?