Re: [PATCH] utimensat implementation

Christoph Hellwig
2007-05-13T21:02:40Z

On Thu, May 10, 2007 at 12:44:19PM -0700, Ulrich Drepper wrote:
> Christoph Hellwig wrote:
> >E.g.
> >
> >long foofs_pathconf {
> > [_PC_LINK_MAX] = 16384,
> > [_PC_2_SYMLINKS] = 1,
>
> In general I agree. But what do you do for network filesystems? Maybe
> we'll have a network filesystem protocol which allows to query the
> remote server about the underlying filesystem. Then the return value is
> dynamic and it's the maximum (coarsest granularity) of the network
> filesystem itself and the underlying filesystem.

You're right, we'll probably want a method call for it. The table
approach might still be a nice helper for the normal case.