[OpenAFS-devel] Solaris afs.rc file damage

Dale Ghent daleg@umbc.edu
Thu, 12 Apr 2007 14:15:52 -0400


On Apr 11, 2007, at 5:42 PM, Dean Anderson wrote:

> So, I suspect the question should be: Could the afs kernel module be
> turned into a driver with an ioctl?  There's a lot in there, and if
> anything breaks the general premise that a system call can be cast  
> as an
> ioctl, this would probably be it...

This would cure a lot of problems for us. Making OpenAFS Zones- 
compatible in Solaris is one of them.

A afs psudeo device in Solaris would be the best of both worlds... we  
don't have to play grab-ass with syscall numbers every other Solaris  
rev, it's easier to implement/maintain, it's still our own interface,  
and we do things the same way that pretty much everything else in the  
world does it.

I betcha we can also register "/dev/afs" with Sun so that they don't  
step on that namespace. Either way it would be far easier than asking  
them to put aside a reserved syscall number for a 3rd party app such  
as ours. Asking for *that* would probably gets us a "not no, but hell  
no" response.

So, yeah, the AFS syscall is an anachronism that just needs to have a  
fork stuck in it, plain and simple.

/dale

--
Dale Ghent
UNIX and Storage Systems Specialist
UMBC - Office of Information Technology
ENG 201 - 410-443-1705