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

2013-09-17 Thread shuaijie wang
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.

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

2013-09-17 Thread chas williams - CONTRACTOR
On Tue, 17 Sep 2013 18:32:31 +0800 shuaijie wang wangshuai...@gmail.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

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

2013-09-17 Thread Markus Koeberl
On Tuesday 17 September 2013 13:50:07 chas williams - CONTRACTOR wrote: I suppose you could try an afs ioctl of some sort against the file, in a script you might call 'fs listacl'. fs whereis returns 0 for afs paths, also for /afs if you use DYNROOT which is not the case for fs listacl on my

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

2013-09-17 Thread Michael Meffie
On Tue, 17 Sep 2013 14:27:57 +0200 Markus Koeberl markus.koeb...@tugraz.at wrote: On Tuesday 17 September 2013 13:50:07 chas williams - CONTRACTOR wrote: I suppose you could try an afs ioctl of some sort against the file, in a script you might call 'fs listacl'. fs whereis returns 0 for

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

2013-09-17 Thread Thomas Kula
On Mon, Sep 16, 2013 at 10:56:30PM -0400, Michael Meffie wrote: On Tue, 17 Sep 2013 14:27:57 +0200 Markus Koeberl markus.koeb...@tugraz.at wrote: On Tuesday 17 September 2013 13:50:07 chas williams - CONTRACTOR wrote: I suppose you could try an afs ioctl of some sort against the file, in

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

2013-09-17 Thread Andrew Deason
On Tue, 17 Sep 2013 18:32:31 +0800 shuaijie wang wangshuai...@gmail.com wrote: 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

Re: [OpenAFS] Re: [ OpenAFS ] 1.6.x / module compilation / 3.11

2013-09-17 Thread Stephan Wiesand
On Sep 16, 2013, at 21:31 , Andrew Deason wrote: On Mon, 16 Sep 2013 23:13:34 +0200 nicolas prochazka prochazka.nico...@gmail.com wrote: Hello, Why the git commit 1f577e41b65e9bd213a915a296ecf5bedd17fcc1 ( Linux 3.11: Adapt to d_count changes ) is only commit on master branch and not

Re: [OpenAFS] Re: [ OpenAFS ] 1.6.x / module compilation / 3.11

2013-09-17 Thread nicolas prochazka
Thank you for your explanation and your time on openafs Regards, Nicolas Prochazka. 2013/9/17 Stephan Wiesand stephan.wies...@desy.de: On Sep 16, 2013, at 21:31 , Andrew Deason wrote: On Mon, 16 Sep 2013 23:13:34 +0200 nicolas prochazka prochazka.nico...@gmail.com wrote: Hello, Why the

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

2013-09-17 Thread shuaijie wang
Thanks very much! 2013/9/18 Andrew Deason adea...@sinenomine.net On Tue, 17 Sep 2013 18:32:31 +0800 shuaijie wang wangshuai...@gmail.com wrote: 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