svn commit: r248446 - head/usr.bin/find

John Baldwin jhb at freebsd.org
Mon Mar 18 14:22:12 UTC 2013


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


More information about the svn-src-all mailing list