[OpenAFS] OpenAFS on Linux 2.5.x

Derrick J Brashear shadow@dementia.org
Wed, 16 Apr 2003 09:37:41 -0400 (EDT)


On Wed, 16 Apr 2003, chas williams wrote:

> In message <Pine.LNX.4.53.0304160922490.26304@scully.trafford.dementia.org>,Der
> rick J Brashear writes:
> >but you still need a way to start the client.
>
> i was thinking modload'ing would produce a 'dummy' /afs entry.  rather
> like the fakestat currently implemented.  alternatively, the modload would
> just produce something /proc/fs (or /sys/fs ala sysfs apparently in 2.5).

sure. we still need to have afsd ioctl() or somesuch on it to trigger
kernel thread creation, and we need a way to feed CellServDB in (possibly
by writing to a proc file and letting a handler parse it)

> >> well it would allow you to keep the same scheme, tacking it onto the end
> >> of the groups field.
> >setgroups will flush it
>
> forgot about that.  well... i suppose one could keep a seperate hash of the
> process group id to pag mapping.  you could then get the cred ref from
> there.

how do you grab a fork()?