lkml.org 
[lkml]   [1996]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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
> 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?

ttypn should be c 3 n, according to linux/Documentation/devices.txt
(and my Slackware system, although that's not really helping my case
much :). Try:

cd /dev/
for x in 0 1 2 3 4 5 6 7 8 9 a b c d e f; do
rm ttyp$x
mknod ttyp$x c 3 `printf %d 0x$x`
chown root.tty ttyp$x
chmod g+rw ttyp$x
done

Or simply;

for x in 0 1 2 3 4 5 6 7 8 9 a b c d e f; do
MAKEDEV ttyp$x
done

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

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