Skip to contentSkip to conversation

rquota

DISCUSSION kernel learner 4 participants 5 messages Nov 27, 2007 VFS

lore
Share & tools
lore
#0 lore raw

Hi,

Can anyone please tell me where i can find the details for rquota protocol? and also, the various packets and their formats which it sends to the rquotad server.

Regards,
KL

#1 lore raw
Quoted 8 lines · kernel learner

Hi,

Can anyone please tell me where i can find the details for rquota protocol? and also, the various packets and their formats which it sends to the rquotad server.

Regards,
KL

Pick sources of the "quota" package, and read it.
This particular protocol is proprietary application over original RPC mechanism. ("original" as "same that early NFS uses," not any of these new "innovative" XML-RPC et al things...)

#2 lore raw

Doesnt any rfc exists for it?

Quoted 23 lines · Matti Aarnio
Quoted 3 lines · kernel learner

Hi,

Can anyone please tell me where i can find the details for rquota

protocol?

Quoted 5 lines

and also, the various packets and their formats which it sends to the rquotad server.

Regards,
KL

Pick sources of the "quota" package, and read it.
This particular protocol is proprietary application over original RPC mechanism. ("original" as "same that early NFS uses," not any of these new "innovative" XML-RPC et al things...)

--
To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to [email protected] Please read the FAQ at http://kernelnewbies.org/FAQ

#3 lore raw
Quoted 1 line · shivali sgupta

Doesnt any rfc exists for it?

No. There is NFS, and RPC described in RFCs, but quota is not there.
Thus "the source is the document"...

/Matti Aarnio

#4 lore raw
Quoted 7 lines · Matti Aarnio
Quoted 1 line · shivali sgupta

Doesnt any rfc exists for it?

No. There is NFS, and RPC described in RFCs, but quota is not there.
Thus "the source is the document"...

/Matti Aarnio

Although you are correct to state that there is not an RFC for it, there is some limited documentation of the protocol in the form of an RPC language file that has been distributed as part of the free Sun rpc distribution. If you can't find it in /usr/include/rpcsvc/rquota.x, then you can for instance find it at

http://www.gtlib.gatech.edu/pub/NetBSD/NetBSD-release-3-0/src/lib/librpcsvc/rquota.x

(note that you can use that file together with the 'rpcgen' utility to produce skeleton C code for both client and server)

Cheers
Trond