Don Cragun wrote: > On Fri, 21 Aug 2009 00:00:53 -0700, Hugh McIntyre wrote: > >> Joerg Schilling wrote: >> >>>>>>>> int futimens(int fd, const struct timespec times[2]); >>>>>>>> >>>>>>>> int utimensat(int fd, const char *path, >>>>>>>> const struct timespec times[2], int flag); >>>>>>>> >>>> In order to allow programs like star to be able to work correctly, we would >>>> also need to have a pathconf()/fpathconf() call to retrieve the _actual_ >>>> resolution of a filesystem. >>>> >> It looks like there's already a standard for this (perhaps just >> proposed?): _POSIX_TIMESTAMP_RESOLUTION and _PC_TIMESTAMP_RESOLUTION. >> > > These are not just proposed; tHey were added to the standards at the > same time futimens() and utimensat() were added. > > I believe this project is incomplete without also adding support for > these to the fpathconf() and pathconf() functions and the getconf > utility. >
Hm.... it seems that these should definitely be added. I'm happy for them to be added to this project, but I'm not sure it is *required*. Indeed, the pathconf/fpathconf changes should probably have been made at the time ZFS introduced nanosecond resolution. So while there is a relationship here, I'm not sure that the projects are necessarily locked together. - Garrett > - Don > > >> See http://www.theopengroup.org/austin/mailarchives/ag/msg10489.html and >> http://www.opengroup.org/onlinepubs/9699919799/functions/fpathconf.html >> >> Hugh. >> > > >