lkml.org 
[lkml]   [1996]   [Dec]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: ttyp's...



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


> to telnet into the system, I get the contents of issue.net displayed, then
> no prompt, it just sits there until I kill the telnet...
>
> What'd I break?
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Graeme Tippett - greenie@100acre.com - http://www.100acre.com/~greenie
>
> "..A computer without COBOL and Fortran is like a piece of chocolate
> cake without ketchup and mustard."
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
>


\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.040 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site