On Thu, 2009-02-19 at 22:15 +0530, Manish Katiyar wrote:
> On Thu, Feb 19, 2009 at 8:28 PM, "Stanisław T. Findeisen"
> <[email protected]> wrote:
> > Hello
> >
> > I am writing my own NFSv3 server implementation (for userland). It is going
> > to act as a bridge to some other, distributed filesystem. I am using RFC
> > 1813 (http://tools.ietf.org/html/rfc1813) as reference. The RFC is talking
> > about these constants:
>
> Hi Stanislaw,
>
> I don't know answer to your question. You might want to ask this on
> linux fsdevel list. Adding Trond in cc who will definitely have the
> answer to this.
>
> Thanks -
> Manish
>
> >
> > FSF_LINK
> > FSF_SYMLINK
> > FSF_HOMOGENEOUS
> > FSF_CANSETTIME
> >
> > but it does not specify their values!
> >
> > In <linux/nfs3.h> they seem to be defined as:
> >
> > /* NFSv3 file system properties */
> > #define NFS3_FSF_LINK 0x0001
> > #define NFS3_FSF_SYMLINK 0x0002
> > #define NFS3_FSF_HOMOGENEOUS 0x0008
> > #define NFS3_FSF_CANSETTIME 0x0010
> >
> > The question is: who defined them like that, any why? Is there any other
> > source of information on this that I am missing, or is this a "common
> > knowledge" that people just have?
> >
Those constants are defined in Section 3.3.19 (Page 86) of RFC1813:
const FSF3_LINK = 0x0001;
const FSF3_SYMLINK = 0x0002;
const FSF3_HOMOGENEOUS = 0x0008;
const FSF3_CANSETTIME = 0x0010;
in other words they are specified in the NFSv3 protocol. I've no idea
why they are referred to as "FSF_*" further down in the same section
(instead of "FSF3_*"), but I suspect that is a typo.
Cheers
Trond
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ