mknod device numbers

Milo Velimirovic 31 Wing 785-8030 milov at fingers.acs.uwlax.edu
Thu Nov 16 03:22:22 AEST 1995


Hi,
 All of this is very installation specific. The major/minor numbers in the
device inodes need to correspond exactly to the entries in the devtab
structure in the kernel. This is probably something that can be divined by
running nm on the kernel, /unix ? (All this is from memory,  my annotated V6
kernel listing is buried at home right now.) But, I'd be surprised to see a V6
distribution that didn't have the rk drivers built in. Another thing to
watch out for is the rk driver, er, device names/numbers that interleaved a
file system across multiple drives.   


BTW, is there anywhere one can get a "legal license" to run V6, V7, 2.XBSD on  
my pdp11/34's and 11/44?

--Milo
---
Milo Velimirovic       <Milo.Velimirovic at uwlax.edu>
Unix Computer Network Administrator  (608) 785-8030
Information Technology, Operations and Networking
University of Wisconsin - La Crosse
La Crosse, Wisconsin 54601 USA    43 48 05 N 91 14 22 W



Begin forwarded message:
> 

> Date: Wed, 15 Nov 1995 16:35:23 +0100 (MET)
> From: Tom I Helbekkmo <tih at Hamartun.Priv.NO>
> To: Bob Manners <rjm at swift.eng.ox.ac.uk>
> Cc: OldUnix MailingList <oldunix at minnie.cs.adfa.oz.au>
> Subject: Re: mknod device numbers
> In-Reply-To: <m0tFeu2-00000EC at swift.eng.ox.ac.uk>
> Mime-Version: 1.0
> Content-Type: TEXT/PLAIN; charset=US-ASCII
> 

> On Wed, 15 Nov 1995, Bob Manners wrote:
> 

> > v5 and v6 UNIX seem to have very few device files in /dev as
> > distributed. Inparticular, I need to set up the device entries for my
> > RK05 drives, /dev/rk0 and /dev/rrk0 etc.
> 

> This works for me, with v6:
> 

> # chdir /dev
> # ls -l
> total 0
> crw--w--w-  2 root    0,  0 Nov  7 21:14 console
> crw-rw-r--  1 bin     8,  1 May 14  1975 kmem
> crw-rw-r--  1 bin     8,  0 May 14  1975 mem
> crw-rw-rw-  1 bin     8,  2 May 14  1975 null
> brw-rw-rw-  1 root    0,  0 Oct 10  1975 rk0
> brw-rw-rw-  1 root    0,  1 Oct 10  1975 rk1
> brw-rw-rw-  1 root    0,  2 Oct 10  1975 rk2
> brw-rw-rw-  1 root    0,  3 Oct 10  1975 rk3
> crw-rw-rw-  1 root    9,  0 Nov  7 01:19 rrk0
> crw-rw-rw-  1 root    9,  1 Nov  7 01:19 rrk1
> crw-rw-rw-  1 root    9,  2 Nov  7 01:19 rrk2
> crw-rw-rw-  1 root    9,  3 Nov  7 01:19 rrk3
> crw--w--w-  2 root    0,  0 Nov  7 21:14 tty8
> 

> Protection could be better, of course.  :-)
> 

> -tih
> -- 

> Tom Ivar Helbekkmo
> tih at Hamartun.Priv.NO
> 

> 




More information about the TUHS mailing list