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.
I agree with Don - we need a properly to detect such support on a filesystem level, otherwise there will be some difficulties to use these APIs in normal applications. ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.mainz at nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 3992797 (;O/ \/ \O;)