[OpenAFS] Re: How can I get PAG number of a certain process programmically?
shuaijie wang
wangshuaijie@gmail.com
Wed, 24 Jul 2013 17:02:34 +0800
--089e01538afca5d93404e23e2b3e
Content-Type: text/plain; charset=ISO-8859-1
Thanks very much!
2013/7/24 Russ Allbery <rra@stanford.edu>
> Andrew Deason <adeason@sinenomine.net> writes:
>
> > Link this with -lafsauthent -lafsrpc, I believe.
>
> Yeah, sorry.
>
> > Or use the k_pioctl function from kopenafs.h, and link with -lkopenafs.
>
> Yes, that also works, although you still need some of the same headers to
> get the VIOC_* definition.
>
> --
> Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
>
--089e01538afca5d93404e23e2b3e
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">Thanks very much!<br></div><div class=3D"gmail_extra"><br>=
<br><div class=3D"gmail_quote">2013/7/24 Russ Allbery <span dir=3D"ltr"><=
;<a href=3D"mailto:rra@stanford.edu" target=3D"_blank">rra@stanford.edu</a>=
></span><br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div class=3D"im">Andrew Deason <<a href=
=3D"mailto:adeason@sinenomine.net">adeason@sinenomine.net</a>> writes:<b=
r>
<br>
> Link this with -lafsauthent -lafsrpc, I believe.<br>
<br>
</div>Yeah, sorry.<br>
<div class=3D"im"><br>
> Or use the k_pioctl function from kopenafs.h, and link with -lkopenafs=
.<br>
<br>
</div>Yes, that also works, although you still need some of the same header=
s to<br>
get the VIOC_* definition.<br>
<div class=3D"im HOEnZb"><br>
--<br>
Russ Allbery (<a href=3D"mailto:rra@stanford.edu">rra@stanford.edu</a>) =A0=
=A0 =A0 =A0 =A0 =A0 <<a href=3D"http://www.eyrie.org/~eagle/" target=3D=
"_blank">http://www.eyrie.org/~eagle/</a>><br>
</div><div class=3D"HOEnZb"><div class=3D"h5">_____________________________=
__________________<br>
OpenAFS-info mailing list<br>
<a href=3D"mailto:OpenAFS-info@openafs.org">OpenAFS-info@openafs.org</a><br=
>
<a href=3D"https://lists.openafs.org/mailman/listinfo/openafs-info" target=
=3D"_blank">https://lists.openafs.org/mailman/listinfo/openafs-info</a><br>
</div></div></blockquote></div><br></div>
--089e01538afca5d93404e23e2b3e--