On 08/04/2021 06.07, Peter D wrote: > This patch adds a config option which makes touch set timestamps to the > current microsecond, instead of the current second.
Why not go all the way and start using utimensat() and do nanoseconds? That's the resolution presented in struct stat, and what most file systems store - without that, it's not possible to accurately replicate one file's timestamps on another. Also, POSIX nowadays specifies touch in terms of utimensat() <https://pubs.opengroup.org/onlinepubs/9699919799/utilities/touch.html>. Rasmus _______________________________________________ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox