On Mon, 25 Jan 2016, Manuel Bouyer wrote:
Date: Mon, 25 Jan 2016 15:28:49 +0100
From: Manuel Bouyer <bou...@antioche.eu.org>
To: 6b...@6bone.informatik.uni-leipzig.de
Cc: current-users@netbsd.org
Subject: Re: nfs client and quota
On Mon, Jan 25, 2016 at 02:57:08PM +0100, 6b...@6bone.informatik.uni-leipzig.de
wrote:
Where can I find the file getnfsquota.c?
"find /usr/src/ -name getnfsquota.c -type f" reports no result.
I probably looked at old sources, in netbsd-7 it's function
__quota_nfs_get in lib/libquota/quota_nfs.c
at file lib/libquota/quota_nfs.c:180
ret = callaurpc(host, RQUOTAPROG, EXT_RQUOTAVERS, RQUOTAPROC_GETQUOTA,
(xdrproc_t)xdr_ext_getquota_args, &ext_gq_args,
(xdrproc_t)xdr_getquota_rslt, &gq_rslt);
returns (RPC_PROGNOTREGISTERED=15)
the value of host is 172.18.86.9, 'rpcinfo -p 172.18.86.9' reports
bash-4.3# rpcinfo -p 172.18.86.9
program vers proto port service
100000 2 udp 111 portmapper
100000 2 tcp 111 portmapper
100000 3 udp 111 portmapper
100000 3 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 4 tcp 111 portmapper
100003 3 udp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
400010 1 tcp 2049
100005 1 udp 635 mountd
100005 2 udp 635 mountd
100005 3 udp 635 mountd
100005 1 tcp 635 mountd
100005 2 tcp 635 mountd
100005 3 tcp 635 mountd
100021 4 udp 4045 nlockmgr
100021 4 tcp 4045 nlockmgr
100024 1 udp 4046 status
100024 1 tcp 4046 status
100011 1 udp 4049 rquotad
Regards
Uwe