Re: ttyp's...

Neil Moore (amethyst@valjean.sfhs.floyd.k12.ky.us)
Wed, 18 Dec 1996 10:38:41 -0500


>
>
>
>
> On Tue, 17 Dec 1996, Greenie wrote:
>
> > Date: Tue, 17 Dec 1996 21:31:57 -0600 (CST)
> > From: Greenie <greenie@100acre.com>
> > To: linux-kernel@vger.rutgers.edu
> > Subject: ttyp's...
> >
> > In the process of fixing /dev/console, I successfully BROKE /dev/ttyp? ...
> >
> > I rm'ed ttyp* then did "mknod <file> c 4 7" for each one. Now upon trying
>
> You did the same numbers for ALL of them? The 4 is the device major, it
> should be 4 for all ttyp's.. But the seconda number is the individual
> device number.. all ttyp's cant use the same one. Here are the first
> handful of mine. You might also be able to use the 'MAKEDEV' script
> usually found in your /dev directory.. I think "MAKEDEV ttyp" will make
> all the ttyp's with the proper device numbers.
>
> crw------- 1 djc tty 4, 192 Dec 13 12:50 ttyp0
> crw------- 1 djc tty 4, 193 Dec 11 22:44 ttyp1
> crw------- 1 djc tty 4, 194 Dec 11 17:44 ttyp2
> crw------- 1 djc tty 4, 195 Dec 11 22:44 ttyp3
> crw------- 1 djc tty 4, 196 Dec 17 07:16 ttyp4
> crw--w---- 1 djc tty 4, 197 Dec 14 12:23 ttyp5
> crw------- 1 djc tty 4, 198 Dec 16 22:59 ttyp6
> crw-rw-rw- 1 root root 4, 199 Dec 16 22:59 ttyp7
> crw-rw-rw- 1 root root 4, 200 Dec 17 21:42 ttyp8
> crw-rw-rw- 1 root root 4, 201 Dec 17 14:17 ttyp9
> crw------- 1 djc tty 4, 202 Dec 15 13:36 ttypa
> crw-rw-rw- 1 root root 4, 203 Jul 17 1994 ttypb
> crw-rw-rw- 1 root root 4, 204 Jul 17 1994 ttypc
> crw-rw-rw- 1 root root 4, 205 Jul 17 1994 ttypd
> crw-rw-rw- 1 root root 4, 206 Jul 17 1994 ttype

These are the old ttyp* device numbers. This use is deprecated,
and may be removed in future kernels. Use major 3, minor n for
ttypn.

-- 
-Neil Moore          http://www.sfhs.floyd.k12.ky.us/~amethyst
(finger amethyst@valjean.sfhs.floyd.k12.ky.us for my Geek Code)