Re: [chrony-users] /dev/pps0 not being blocked? Magic?!

2012-08-24 Thread Miroslav Lichvar
On Fri, Aug 24, 2012 at 04:16:18PM +0100, Tomalak Geret'kal wrote: > Me again... > > If chrony is tracking /dev/pps0 as a refclock, does it keep this > device open persistently? Or does it close and re-open it for every > poll? Reason I ask is that a separate process is seemingly still > able to `

Re: [chrony-users] /dev/pps0 not being blocked? Magic?!

2012-08-24 Thread Tomalak Geret'kal
On 24/08/2012 16:35, Miroslav Lichvar wrote: On Fri, Aug 24, 2012 at 04:16:18PM +0100, Tomalak Geret'kal wrote: Me again... If chrony is tracking /dev/pps0 as a refclock, does it keep this device open persistently? Or does it close and re-open it for every poll? Reason I ask is that a separate

[chrony-users] /dev/pps0 not being blocked? Magic?!

2012-08-24 Thread Tomalak Geret'kal
Me again... If chrony is tracking /dev/pps0 as a refclock, does it keep this device open persistently? Or does it close and re-open it for every poll? Reason I ask is that a separate process is seemingly still able to `open("/dev/pps0", O_ACCMODE)` and even block on pulses with `ioctl` whilst