[OpenAFS] Re: openafs does not put a [correct] value in fsinfo.f_type?

Derrick J Brashear shadow@dementia.org
Mon, 25 Dec 2006 18:55:27 -0500 (EST)


On Mon, 25 Dec 2006, chas williams - CONTRACTOR wrote:

> In message <x31wmn4kg1.fsf@nowhere.com>,Adam Megacz writes:
>> The question is "[on Linux], how can my code reliably determine if a
>> file is stored in AFS without introducing a build-time dependency on
>> AFS headers/libraries into my code".
>
> perhaps your original question is fallacious.  how do you know 0 isnt
> the magic number for afs?  if all the other filesystems identify
> themselves with a unique non-zero number, 0 implies afs.

I wouldn't count on that.