monitor filesystem on iOS / OS X / Android / FirefoxOS / Linux
time
field in the json outputThis release comes with some really interesting features and as always some interesting bugs fixed.
KDebug is a kernel interface available in XNU (iOS / OSX) that allows to trace system-wide syscalls. This interface is also available on BSD, but it hasnt been tested. The new backend keeps tracks of all the syscalls executed by all the programs in the system that access the filesystem (open
, readdir
, mkdir
,...) and translate those events into fsmon messages.
Also, this release fixes some of the most annoying complains of fsmon on Android. The inotify and fanotify backends have been reviewed and splitted, handling the events in a more correct way and tracking all the subdirectories created at runtime. This permits to have the same behaviour across all the backends.
This 1.2 release comes with a fully refactored codebase that split ups the different implementations of the file monitoring logic. This change adds two new commandline flags to the tool:
-L
list all supported backends-B
select an specific backendFor example, on iOS (watchOS, tvOS included) and OSX fsmon -L
shows:
It also addresses some of the issues reported by different users:
SIG31-C
)dev/fsevents
packets in a better way to avoid losing some events in OSX.SIGINT
happens