Menu

#189 support higher time resolutions

none
closed
None
Implemented
5
2021-12-04
2018-08-04
Cálestyo
No

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.

Discussion

  • Cálestyo

    Cálestyo - 2018-08-04
     
  • Denis Corbin

    Denis Corbin - 2018-08-05
    • status: unread --> open
    • assigned_to: Denis Corbin
     
  • Denis Corbin

    Denis Corbin - 2018-08-05

    thanks

     
  • Denis Corbin

    Denis Corbin - 2018-08-11

    for reference:

    int utimensat(int dirfd, const char *pathname,
    const struct timespec times[2], int flags);

     
  • Denis Corbin

    Denis Corbin - 2020-09-05
    • Progression: requested --> development
     
  • Denis Corbin

    Denis Corbin - 2020-09-14
    • Progression: development --> Implemented
     
  • Denis Corbin

    Denis Corbin - 2021-04-24
     
  • Denis Corbin

    Denis Corbin - 2021-04-24

    Feature now implemented in version 2.7.0 just release.
    Closing this feature request.
    Cheers,
    Denis

     
    👍
    1
  • Denis Corbin

    Denis Corbin - 2021-04-24
    • status: open --> closed
     
  • Cálestyo

    Cálestyo - 2021-12-04

    Thx :-)

     

Log in to post a comment.

MongoDB Logo MongoDB