From owner-freebsd-fs@FreeBSD.ORG  Fri Feb 10 16:51:23 2012
Return-Path: <owner-freebsd-fs@FreeBSD.ORG>
Delivered-To: fs@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 60F5C106566C
	for <fs@freebsd.org>; Fri, 10 Feb 2012 16:51:23 +0000 (UTC)
	(envelope-from ed@hoeg.nl)
Received: from mx0.hoeg.nl (mx0.hoeg.nl [IPv6:2a01:4f8:101:5343::aa])
	by mx1.freebsd.org (Postfix) with ESMTP id EED5D8FC12
	for <fs@freebsd.org>; Fri, 10 Feb 2012 16:51:22 +0000 (UTC)
Received: by mx0.hoeg.nl (Postfix, from userid 1000)
	id 07BA52A28CCE; Fri, 10 Feb 2012 17:51:22 +0100 (CET)
Date: Fri, 10 Feb 2012 17:51:22 +0100
From: Ed Schouten <ed@80386.nl>
To: Gary Jennejohn <gljennjohn@googlemail.com>
Message-ID: <20120210165122.GT1860@hoeg.nl>
References: <20120210135527.GR1860@hoeg.nl>
	<20120210172342.7974cc32@ernst.jennejohn.org>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="jk5HhkA9Kov5Oxsi"
Content-Disposition: inline
In-Reply-To: <20120210172342.7974cc32@ernst.jennejohn.org>
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: fs@freebsd.org
Subject: Re: Increase timestamp precision?
X-BeenThere: freebsd-fs@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Filesystems <freebsd-fs.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-fs>,
	<mailto:freebsd-fs-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-fs>
List-Post: <mailto:freebsd-fs@freebsd.org>
List-Help: <mailto:freebsd-fs-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-fs>,
	<mailto:freebsd-fs-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 10 Feb 2012 16:51:23 -0000


--jk5HhkA9Kov5Oxsi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Gary,

* Gary Jennejohn <gljennjohn@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.

--=20
 Ed Schouten <ed@80386.nl>
 WWW: http://80386.nl/

--jk5HhkA9Kov5Oxsi
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (FreeBSD)

iQIcBAEBAgAGBQJPNUsJAAoJEG5e2P40kaK7j9YQAId2XvJhCprq8eIbxa1pVuqo
JnJOEiwdyci6ZAKhwvCCyAM4ZkARhnirp/v9kWy7rQWwMfojgxglC64L2SbpLaBO
EDPgRQ1ORrvi8lcR83vtbXldOSDTCBG+i/R8RoEfEw6WXCx5RITdPRhLspG8TqfU
fYOcXkPjq96iNyoXfmaKXSim4MgGHzrFp1Ulc43reS2Ly7hGYO8AHNWKKbLgtedl
DKvbD0i3fN1Rn+LLDvBhmM8N9iScarKJgsCgSGKmwJevduxgr1uojhmXfPBwiTO/
5RKnyOSUdRxmMOnssgaVkSKwu4I7m5FvA1NF4dq5c5TZdSSB8aESCcoLiFAp4LaR
2SlCLp5+p50DGv/pqNcQBuDdBPSH9SklXczZdwtbRLkwJhumFZvUONJ4zWotO/rl
F1l2XD8pIM6vIJ/tBCpymemnnBl9h0KZcWHyKTgd2G09B/qi+f7yOG3kHNwAshrm
TJNbrsPG7CvmQlyeWZY1vykaq6SpX/ZcSliEoODe60ix0hPU30/pMISVSIkwqVNe
CXOmHuOMgJSzvDT6621bDQsCMv1Qid3p2IyuBuJDPM7Qs76j0/OqnDkYjJncIyvp
Ep9XJZlCeRA79EKBfutIXZq21Jp+H4rXbz+N6/JJRHbWUyzyCL+fMyxBoHDLaIUj
QN3W1X8ZkcQ1R+Cf3kSG
=iM8N
-----END PGP SIGNATURE-----

--jk5HhkA9Kov5Oxsi--