Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Mar 2013 09:40:04 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Jilles Tjoelker <jilles@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r248446 - head/usr.bin/find
Message-ID:  <201303180940.04749.jhb@freebsd.org>
In-Reply-To: <201303172251.r2HMpw9U085037@svn.freebsd.org>
References:  <201303172251.r2HMpw9U085037@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday, March 17, 2013 6:51:58 pm Jilles Tjoelker wrote:
> Author: jilles
> Date: Sun Mar 17 22:51:58 2013
> New Revision: 248446
> URL: http://svnweb.freebsd.org/changeset/base/248446
> 
> Log:
>   find: Include nanoseconds when comparing timestamps of files.
>   
>   When comparing to the timestamp of a given file using -newer, -Xnewer and
>   -newerXY (where X and Y are one of m, c, a, B), include nanoseconds in the
>   comparison.
>   
>   The primaries that compare a timestamp of a file to a given value (-Xmin,
>   -Xtime, -newerXt) continue to compare times in whole seconds.
>   
>   Note that the default value 0 of vfs.timestamp_precision almost always
>   causes the nanoseconds part to be 0. However, touch -d can set a timestamp
>   to the microsecond regardless of that sysctl.

There are also several NFS servers that use sub-second timestamps by default.

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303180940.04749.jhb>