Re: nanosecond file timestamp resolution in filesystems, GNU make, etc.

From: Jamie Lokier (lk@tantalophile.demon.co.uk)
Date: Mon Oct 28 2002 - 10:13:09 EST


Maciej W. Rozycki wrote:
> > It's impossible. There is no space left in struct stat64
> > And adding a new syscall just for that would be severe overkill.
>
> Well, possibly more stuff could benefit from new stat syscalls, like a
> st_gen member for inode generations. And as someone suggested, a version
> number or a length could be specified by the calls this time to permit
> less disturbing expansion in the future.

It's already there. The kernel stat64() syscall has a flags argument,
which is unused at the moment. I presume it's for this purpose.

Glibc aleady uses a version number for its stat() calls, to permit
binary compatible extensions on the user side.

So all the mechanism is there AFAIK.

-- Jamie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Oct 31 2002 - 22:00:36 EST