Bugzilla – Bug 405
fam follows symbolic links when monitoring a directory
Last modified: 2005-04-09 09:49:46 CDT
Although http://techpubs.sgi.com/library/tpl/cgi-bin/getdoc.cgi?coll=0650&db=bks&fname=/SGI_Developer/books/IIDsktp_IG/sgi_html/ch08.html states that "If you specify the pathname of a symbolic link to FAMMonitorDirectory() or FAMMonitorFile(), FAM monitors only the symbolic link itself, not the target of the link", FAM does follow symbolic links for monitored directories, since it calls opendir() in the DirectoryScanner constructor. You should only call opendir() if the file is not a symbolic link.