Added a mention about sub-second times to getattr documentation.
authorDerrik Pates <demon@now.ai>
Fri, 2 Mar 2012 14:12:26 +0000 (07:12 -0700)
committerDerrik Pates <demon@now.ai>
Fri, 2 Mar 2012 14:12:26 +0000 (07:12 -0700)
Fuse.pm

diff --git a/Fuse.pm b/Fuse.pm
index ee6e021..9a9bd9f 100755 (executable)
--- a/Fuse.pm
+++ b/Fuse.pm
@@ -331,6 +331,14 @@ Here are the meaning of the fields:
 
 (The epoch was at 00:00 January 1, 1970 GMT.)
 
+If you wish to provide sub-second precision timestamps, they may be
+passed either as the fractional part of a floating-point value, or as a
+two-element array, passed as an array ref, with the first element
+containing the number of seconds since the epoch, and the second
+containing the number of nanoseconds. This provides complete time
+precision, as a floating point number starts losing precision at about
+a tenth of a microsecond. So if you really care about that sort of thing...
+
 =head3 readlink
 
 Arguments:  link pathname.