Bug#276500: kernel-image-2.6.8-1-k7: system call need nanosecond resolution
Package: kernel-image-2.6.8-1-k7
Version: 2.6.8-3
Severity: normal
$ touch -r a b
$ stat -c %y a b
2004-10-13 11:36:18.169474381 +0800
2004-10-13 11:36:18.169474000 +0800
the difference messes up test -nt, make, cp -u, etc. etc.
From: Paul Eggert <eggert@CS.UCLA.EDU>
Subject: Re: cp -up forever
Cc: 239288@bugs.debian.org, bug-coreutils@gnu.org
"touch" operates by means of system calls. If the system calls
mishandle submicrosecond time stamps, "touch" will as well. So you'll
have to direct your bug reports to the kernel people who have
misdesigned their system calls.
The basic problem is that utimes() has only microsecond resolution;
the kernel need to add a system call ("utimens()", say?) that supports
nanosecond resolution.
Reply to: