<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFCC" text="#000000">
<br>
<div class="moz-cite-prefix">On 14/03/14 20.27, John Wobus wrote:<br>
</div>
<blockquote
cite="mid:96D691E6-575B-44F5-AC7D-0C29E868F896@cornell.edu"
type="cite"><br>
I trust Linux a bit less though:
<br>
interactively, I've closed a file with vi, then
<br>
ran a program that appeared to miss the change.
<br>
Would vi(m) manage to exit without any synch
<br>
happening? (I've never noticed anything
<br>
equivalent with dhcpd lease file handling.)
<br>
</blockquote>
I have seen editors setting a modify time a bit into the future,
resulting that some sync SW misses that update.<br>
Not sure about VI though.<br>
<blockquote
cite="mid:96D691E6-575B-44F5-AC7D-0C29E868F896@cornell.edu"
type="cite">
<br>
<br>
John Wobus
<br>
Cornell University IT
<br>
<br>
On Mar 13, 2014, at 5:54 AM, Simon Hobson wrote:
<br>
<br>
<blockquote type="cite">"Capriccio, Peter"
<a class="moz-txt-link-rfc2396E" href="mailto:peter.capriccio@hp.com"><peter.capriccio@hp.com></a> wrote:
<br>
<br>
<blockquote type="cite">All of the solutions that parse the
lease file can never be 100% accurate because the real "stuff"
is taking place in memory, is it not?
<br>
</blockquote>
<br>
No, for any RFC compliant package, the leases file (or
equivalent) on disk will accurately reflect any leases before
they are offered to the client. This is certainly the case with
the ISC DHCP server - all lease information is written to the
leases file and synced to disk before the lease is offered to
the client*
<br>
<br>
Worst case is that the lease file lags in-memory information by
a few seconds.
<br>
<br>
<br>
* Though I believe the current version has a config option to
delay this a little for performance ?
<br>
<br>
_______________________________________________
<br>
dhcp-users mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a>
<br>
<a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/dhcp-users">https://lists.isc.org/mailman/listinfo/dhcp-users</a>
<br>
</blockquote>
<br>
_______________________________________________
<br>
dhcp-users mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a>
<br>
<a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/dhcp-users">https://lists.isc.org/mailman/listinfo/dhcp-users</a>
<br>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Best regards
Sten Carlsen
No improvements come from shouting:
"MALE BOVINE MANURE!!!"
</pre>
</body>
</html>