Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Feb 2012 19:27:43 +0300
From:      Sergey Kandaurov <pluknet@freebsd.org>
To:        Ed Schouten <ed@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r231383 - in head: lib/libutil usr.sbin/vipw
Message-ID:  <CAE-mSOJ5928krC_4sSW5cec%2B6JLKD8BRoKvZCuc8xEzY4qrvaA@mail.gmail.com>
In-Reply-To: <201202101340.q1ADeWDj076596@svn.freebsd.org>
References:  <201202101340.q1ADeWDj076596@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10 February 2012 17:40, Ed Schouten <ed@freebsd.org> wrote:
> Author: ed
> Date: Fri Feb 10 13:40:32 2012
> New Revision: 231383
> URL: http://svn.freebsd.org/changeset/base/231383
>
> Log:
> =A0Detect file modification properly by using tv_nsec.
>
> =A0POSIX 2008 standardizes st_mtim, meaning we can simply use nanosecond
> =A0precision to detect file modification.
>

I am not sure we can use subsecond precision there with currently set
sysctl vfs.timestamp_precision=3D0.

--=20
wbr,
pluknet



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAE-mSOJ5928krC_4sSW5cec%2B6JLKD8BRoKvZCuc8xEzY4qrvaA>