This is with S3Ql 3.3.2 (Ubuntu default) On Monday, November 23, 2020 at 5:58:23 PM UTC+11 Grunthos wrote:
> I have a local file with a date as reported by ```ls -l > --time-style=full-iso``` of "2020-05-09 00:36:07.999999900 +0000". > > When I copy it locally using ```cp -a``` on a local btrfs file system with > Ubuntu 20.4.1, the date is preserved. > > When I copy it to a local S3QL file system, one second is added to the > date. and it is reported as "2020-05-09 00:36:*08*.999999900". > > When I copy it back, the date retains the '08' seconds. If I copy it back > again to S3QL, it advances one more second. > > It looks like a rounding error, since dates ending in " 999999000" work as > expected. > > Console output as follows: > > root@xxx:/home/usr# touch -d "2013-01-13 13:13:13.9999" q.q > root@xxx:/home/usr# cp -a q.q /mnt > root@xxx:/home/usr# ls -l --time-style=full-iso /mnt/q.q > -rw-r--r-- 1 root usr 96 2013-01-13 13:13:13.999900000 +0000 /mnt/q.q > root@xxx:/home/usr# touch -d "2013-01-13 13:13:13.99999" q.q > root@xxx:/home/usr# cp -a q.q /mnt > root@xxx:/home/usr# ls -l --time-style=full-iso /mnt/q.q > -rw-r--r-- 1 root usr 96 2013-01-13 13:13:13.999990000 +0000 /mnt/q.q > root@xxx:/home/usr# touch -d "2013-01-13 13:13:13.999999" q.q > root@xxx:/home/usr# cp -a q.q /mnt > root@xxx:/home/usr# ls -l --time-style=full-iso /mnt/q.q > -rw-r--r-- 1 root usr 96 2013-01-13 13:13:13.999999000 +0000 /mnt/q.q > root@xxx:/home/usr# touch -d "2013-01-13 13:13:13.9999999" q.q > root@xxx:/home/usr# cp -a q.q /mnt > root@xxx:/home/usr# ls -l --time-style=full-iso /mnt/q.q > -rw-r--r-- 1 root usr 96 2013-01-13 13:13:14.999999900 +0000 /mnt/q.q > > > > > > -- You received this message because you are subscribed to the Google Groups "s3ql" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/s3ql/1c2b0ad0-d320-4b18-99bb-eaaa95de6bcdn%40googlegroups.com.
