lkml.org 
[lkml]   [1998]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Out of ptys??
david parsons wrote:
>
> In article <linux.kernel.Pine.LNX.4.02.9808141715110.14589-100000@neko.binary9.net>,
> Nicholas J. Leon <nicholas@binary9.net> wrote:
> >On Fri, 14 Aug 1998, Richard B. Johnson wrote:
> >
> > #
> > # This system has been running 2.1.115 for awhile and it seems to work
> > # I just updated another machine, identical hardware, etc.
> > # It does not work.
> > #
> > # # rlogin quark
> > # rlogind: Out of ptys. <------------ What the hell!
> >
> >The major number from pty's has changed from 4 to 3 & 2 in 2.1.115.
>
> I don't know who did this, but, please, change the major numbers
> back; having to manually redo all the /dev entries for ptys
> every time you toggle the system between a <2.1.115 and >=2.1.115
> kernel will get old really fast.

you could temporarily place something along the lines of the below
into your rc.local file so it runs at startup.

version=`uname -r`
major=`echo ${version} | awk -F. '{print $1}'`
minor=`wcho ${version} | awk -F. '{print $2}'`
patch=`echo ${version} | awk -F. '{print $3}'`

if [ ${major} -eq 2 -a ${minor} -eq 1 -a ${patch} -ge 115 ]
then
(cd /dev; ./MAKEDEV pty)
else
(cd /dev; ./MAKEDEV old_pty)
fi


Then you just need to modify /dev/MAKEDEV to understand creating
both the new pty and the old pty.

>
> david parsons
--
Terry L. Ridder
Blue Danube Software (Blaue Donau Software)
"We do not write software, we compose it."

When the toast is burnt
and all the milk has turned
and Captain Crunch is waving farewell
when the Big One finds you
may this song remind you that they
don't serve breakfast in hell
==Breakfast==Newsboys

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

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