At least most linux current filesystems (btrfs, xfs, jfs, ext) seem to support time resolutions up to nanosceonds these days.
It would be nice if dar supports storing/restoring/comparing/etc. these.
One reason is obviously the cosmetic point (meta data shouldn't be lost when backuping/restoring).
The other is that many other tools (e.g. rsync) do work with nanosecond resolution,... so files restored would be considered different by such tools.
Ideally the dar format should support arbitrary lenght times there, and just switch to the appropirate syscalls, when the platform supports it.
Further it would be nice, if dar gives a warning if it cannot store such metadata (e.g. if future filesystems would go to attoseconds ;-) ... it would be nice to be warned at least).
Cheers,
Chris.
(based upon https://sourceforge.net/p/dar/bugs/204/)
thanks
for reference:
int utimensat(int dirfd, const char *pathname,
const struct timespec times[2], int flags);
Feature now implemented in version 2.7.0 just release.
Closing this feature request.
Cheers,
Denis
Thx :-)