I found out that contents of mds folder located at /private/var/folders/zg/jjtx0_k94pdc5p5q6gcvf4900000gn/C/mds gets deleted and back created quite often. I wonder, that is the purpose of this folder and it's content? It contains mdsDirectory.db, mdsObject.db and mds.lock files.

  • mds is a daemon for Spotlight. It indexes files to be searched by Spotlight. – At0mic May 18 '16 at 21:07
  • Thank you! So every time this folder gets modified a new file was created on filesystem? – sanjihan May 18 '16 at 21:35
  • not necessarily, a file can be changed too. Why are you even worrying about these files? Be careful deleting files in /private/var. – At0mic May 20 '16 at 3:48

You must log in to answer this question.

Browse other questions tagged .