[OpenAFS] how to tell if a dir resides in AFS volume?
chas williams - CONTRACTOR
Tue, 17 Sep 2013 07:50:07 -0400
On Tue, 17 Sep 2013 18:32:31 +0800
shuaijie wang <email@example.com> wrote:
> 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?
I suppose you could try an afs ioctl of some sort against the file, in
a script you might call 'fs listacl'.