[comp.unix.questions] Loading device drivers

gp@picuxa.UUCP (Greg Pasquariello X1190) (11/17/87)

Okay here goes...

I would like to write a device driver for Unix Sys5 V3.0 running on an
AT&T 3b2/300.  I have no problem writing the driver.  My problem is,
how the heck do I load it into the system?!?  Don't I need to set the
addresses of the routine into the cdevsw table (it's a character driver)?
The only documentation that I can find simply tells me to update /etc/master.d,
and or etc/system.

Any help that you could send me (email please, I'll post if requested) would
be greatly appreciated.  Thanks in advance.

Greg

By the way, this is a personal machine, so no, I won't cause death and
destruction in the wake of my testing :-}.

archer@elysium.SGI.COM (Archer Sully) (11/18/87)

man lboot

archer

larry@kitty.UUCP (Larry Lippman) (11/19/87)

In article <8152@sgi.SGI.COM>, archer@elysium.SGI.COM (Archer Sully) writes:
> man lboot

	Sorry, but not on a 3B2 - which is what the original poster asked
about.
	Drivers are installed and removed using drvinstall(1M).  Incidently,
drvinstall(1M) assigns the next available major device number, and updates
/etc/master automatically.

<>  Larry Lippman @ Recognition Research Corp., Clarence, New York
<>  UUCP:  {allegra|ames|boulder|decvax|rutgers|watmath}!sunybcs!kitty!larry
<>  VOICE: 716/688-1231        {hplabs|ihnp4|mtune|utzoo|uunet}!/
<>  FAX:   716/741-9635 {G1,G2,G3 modes}   "Have you hugged your cat today?"