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

chas williams - CONTRACTOR chas@cmf.nrl.navy.mil
Mon, 25 Dec 2006 18:50:00 -0500

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.