Coda File System

Re: Further adventures in NetBSD kernel coda support

From: Jan Harkes <jaharkes_at_cs.cmu.edu>
Date: Tue, 1 Apr 2003 13:28:17 -0500
On Tue, Apr 01, 2003 at 12:45:31PM -0500, Greg Troxel wrote:
>   I was thinking about the realms-aware code, as I have had problems on
>   FreeBSD.
> 
> Has anyone modified FreeBSD to cope with realms?
> The changes as outlined by Jan are very minor.

Phil and Ivan actually did play with realms on FreeBSD. But that was a
couple of months ago before I made some final changes to the hash
function coda_f2i and bumped the CODA_KERNEL_VERSION number.

There were some problem with crossing mountpoints. I believe those have
been fixed by now, but not having a freebsd system to test it on, I
can't be sure.

> A remaining issue is that the coda sources (incorrectly) use their own
> coda.h instead of using the header that should be installed by the
> kernel code, but isn't.

I don't know how it precisely works with FreeBSD and NetBSD. But in my
experience, the /usr/include/linux/coda.h 'kernel header' is taken from
whatever kernel glibc was linked against.

So the actual coda.h of the running kernel is typically not (easily)
available unless someone installs special additional packages, or
compiles their own kernel, and in both cases finding the location of the
kernel sources isn't very uniform.

In other words, for most Linux distributions it is easier to ship our
own copy in the Coda sources and use the CODA_KERNEL_VERSION to perform
a run-time check whether everything matches.

Jan
Received on 2003-04-01 13:31:22