<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Oops, forgot to hit reply-all on this. &nbsp;Possible fix as follows:<div><br><div><div>On Nov 24, 2014, at 11:47 AM, Richard L. Hamilton &lt;<a href="mailto:rlhamil@smart.net">rlhamil@smart.net</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=windows-1252"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">If it’s not critical that the call complete super-fast, an msync() call (returns faster with MS_ASYNC if &nbsp;you don’t need to know exactly when it completed) should update the timestamp. &nbsp;From msync(2):<br><div><div><br></div><div><div style="margin: 0px; font-size: 24px; font-family: 'Andale Mono'; color: rgb(235, 235, 235); background-color: rgb(0, 0, 0);">&nbsp; &nbsp; &nbsp;The <span style="color: #ffffff">msync</span>() system call writes modified whole pages back to the filesys-</div><div style="margin: 0px; font-size: 24px; font-family: 'Andale Mono'; background-color: rgb(0, 0, 0); position: static; z-index: auto;"><span style="color: rgb(235, 235, 235);">&nbsp;&nbsp; &nbsp; tem </span><font color="#f5ec00">and updates the file modification time</font><font color="#ebebeb">.&nbsp; Only those pages containing</font></div><div style="margin: 0px; font-size: 24px; font-family: 'Andale Mono'; color: rgb(235, 235, 235); background-color: rgb(0, 0, 0); position: static; z-index: auto;">&nbsp;&nbsp; &nbsp; <span style="text-decoration: underline">addr</span> and <span style="text-decoration: underline">len-1</span> succeeding locations will be examined.</div></div><div><br></div><div><br></div><div>On Nov 24, 2014, at 11:29 AM, Daniel J. Luke &lt;<a href="mailto:dluke@geeklair.net">dluke@geeklair.net</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><a href="http://prod.lists.apple.com/archives/darwin-kernel/2014/Nov/msg00015.html" style="font-family: Helvetica; font-size: 18px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">http://prod.lists.apple.com/archives/darwin-kernel/2014/Nov/msg00015.html</a></blockquote></div><br></div></blockquote></div><br></div></body></html>