[OpenAFS] how to tell if a dir resides in AFS volume?

shuaijie wang wangshuaijie@gmail.com
Tue, 17 Sep 2013 18:32:31 +0800


--e89a8fb1fa6298a0cf04e691d670
Content-Type: text/plain; charset=ISO-8859-1

Hi all,

Is there any method to check if a dir resides in AFS volume? Since AFS can
be mounted in any local logical path, simply checking prefix "/afs" seems
not sufficient for all the cases. So is there any system call like
"is_inafs()" to accomplish this?

Thanks.

--e89a8fb1fa6298a0cf04e691d670
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi all,<br><br></div>Is there any method to check if =
a dir resides in AFS volume? Since AFS can be mounted in any local logical =
path, simply checking prefix &quot;/afs&quot; seems not sufficient for all =
the cases. So is there any system call like &quot;is_inafs()&quot; to accom=
plish this? <br>
<br>Thanks.<br></div>

--e89a8fb1fa6298a0cf04e691d670--