News for hackers. Stuff that matters.
Re:Ask HN: Monitoring Installs on OS X by glitch on Friday May 11, 2012 @12:53AM (#3957732)
File system monitoring:

  • sudo fs_usage
  • sudo opensnoop
  • lsof
With respect to package-based installations:

  • /Users/*/Library/Receipts/
  • /Library/Receipts/
Tools of interest (check man pages):

  • /usr/bin/lsbom SomeBOM.bom
  • /usr/bin/defaults read /Path/To/Receipt/org.example.foo.plist (Explicit, general PList reading example.)
  • /usr/bin/defaults read net.example.Bar (Searches in Preferences locations for matching name.)
  • /usr/bin/installer
Preferences (configurations):

  • /Library/Preferences/ (Computer-wide, Local Preferences)
  • /Users/*/Library/Preferences/ (User Preferences)
Application Support (serials, etc.):

  • /Library/Application Support/
  • /Users/*/Library/Application Support/
Further/related readings:

https://developer.apple.com/library/mac/#documentation/MacOS...

http://developer.apple.com/library/mac/#documentation/FileMa...

http://www.gnustep.org/resources/documentation/User/GNUstep/...

http://osxdaily.com/2011/04/22/monitor-mac-os-x-filesystem-u...

http://hints.macworld.com/article.php?story=2006081704414926...

http://developer.apple.com/library/mac/#featuredarticles/Fil...

http://superuser.com/questions/97980/view-filesystem-access-...

https://developer.apple.com/library/mac/#documentation/Darwi...

http://developer.apple.com/library/mac/#documentation/Develo...

http://support.apple.com/kb/TA26118?viewlocale=en_US

Note: Different tools are available/unavailable in different versions of OS X.

Re:Ask HN: Monitoring Installs on OS X by jman1 on Friday May 11, 2012 @07:30PM (#3961972)
Thanks Man ! Will learn a few new commands as well.