title: Getting File Create Notifications for CIFS Mount in Linux
body: <p>I have a windows share mounted via CIFS on an ubuntu server. I need to a way to know when a new file has been added to the Windows share. I tried this inotify program: </p>
  
  <p><a href="http://www.thegeekstuff.com/2010/04/inotify-c-program-example/" rel="noreferrer">http://www.thegeekstuff.com/2010/04/inotify-c-program-example/</a> </p>
  
  <p>Which works fine with standard directories, but is unable to catch any CIFS changes. I don't neccessarily need to use inotify, although I would like to, but any suggestions on how to accomplish getting file create notifications would be great.</p>