Increase timestamp precision?

Ed Schouten ed at 80386.nl
Fri Feb 10 16:51:23 UTC 2012


Hi Gary,

* Gary Jennejohn <gljennjohn at googlemail.com>, 20120210 17:23:
> Is this only visible in the kernel?  I don't see any difference in the
> output of ls -lT whether the sysctl is set to 0 or 1.

It is visible for userspace, but I guess not for ls(1). You can test it
by doing:

	echo foo > foo
	echo bar > bar
	diff -u foo bar

And it prints the header at the top with the raw timestamps.

It's not really useful for a regular user to see the nanoseconds, but
for tools like make(1) and others that depend on timestamps to do
decision making, it would be nice to have.

-- 
 Ed Schouten <ed at 80386.nl>
 WWW: http://80386.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20120210/332dcd24/attachment.pgp


More information about the freebsd-fs mailing list