How does one add a custom device driver to an Amdahl kernel?
Thomas Truscott
trt at rti.rti.org
Tue Sep 18 07:54:36 AEST 1990
We sell a distributed file/computing system (Freedomnet)
that is added to the kernel as a "pseudo device driver".
Unfortunately, Amdahl does not provide any way to add
a custom (i.e. unknown to Amdahl) device driver.
Here are some specific problems:
1) Running "sysgen" creates a completely new conf.c file
(containing bdevsw and cdevsw) from /etc/devlist (as I recall).
We cannot add our device to devlist,
but manually editing conf.c is futile because the next time
sysgen is run our changes disappear.
2) The /dev directory is completely regenerated by sysgen.
That means our "/dev/FN" entry disappears on each sysgen.
3) The major device numbers are dynamically assigned
on each sysgen. (Minor detail, it just makes our task
a little harder.)
We do have hacks to /etc/sysgen and uts/cf/cf.mk,
but the result is less than ideal.
Is there something we have overlooked?
Tom Truscott
(919) 541-7005
More information about the Comp.unix.large
mailing list