[1033] in Moira
Re: chowning a volume to a gid
daemon@ATHENA.MIT.EDU (Richard Basch)
Wed Dec 11 21:15:24 1996
Date: Wed, 11 Dec 1996 21:11:28 -0500
To: Jonathon Weiss <jweiss@MIT.EDU>
Cc: "Richard Basch" <basch@lehman.com>, afsdev@MIT.EDU, moiradev@MIT.EDU
In-Reply-To: <199612111827.SAA20835@deliverator.MIT.EDU>
From: "Richard Basch" <basch@lehman.com>
On Wed, 11-December-1996, "Jonathon Weiss" wrote to "Richard Basch, Jonathon Weiss, afsdev@MIT.EDU, moiradev@MIT.EDU" saying:
> I'm not very familar with the organization of AFS code, are you
> talking about modifying the cache manager? That would be kind of
> annoying, since we are currently using a completely stock cache
> manager right now. Am I confused? Is it possible to write a program
> todo this without editing AFS code?
>
> Jonathon
Yes, it means re-writing the cache manager.
I assume that since you are using the stock cache manager that you are
aware of the fixes that I had previously made and won't be using those
patches anymore:
1. Memory caching can lead to unexpected results because
files with holes are fileed with random data instead of zeros
as is specified in the kernel filesystem interface spec.
2. AFS time synchronization will fail if the primary server to which
a client syncs becomes unavailable.
3. Athena AFS-NFS translator semantics (probably obsolete).
Quite simply, you have two ways of making the change...
1. Extend the AFS pioctl interface (in the cache manager, and primarily
used by the 'fs' program).
2. Write your own syscall and kernel loadable module that does the chown
without the bounds checking.
I suggest #1, but I strongly suggest leaning heavily on Transarc to make
the change. While I may have suggested it to them many years ago,
leaning on them was not a priority for me because of Athena's many
alternatives at the time.
--
Richard Basch
Sr. Developer/Analyst, DSO URL: http://web.mit.edu/basch/www/home.html
Lehman Brothers, Inc. Email: basch@lehman.com, basch@mit.edu
101 Hudson St., 38th Floor Fax: +1-201-524-5828
Jersey City, NJ 07302-3988 Voice: +1-201-524-5049