lkml.org 
[lkml]   [1998]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: >256 ptys (previous subject line was garbage)
Peter Svensson writes:
> On Sun, 31 May 1998, Roderich Schupp wrote:
>
> > Given this restriction your only chance to have more than 256 ptys
> > is to hack the driver source to allocate another major device number
> > for the next 256 ptys etc. BTW what are you really trying to achieve?
> > Do you really need >256 user terminal sessions? Maybe there's
> > another way to solve your original problem?
>
> Isn't the devfs supposed to allow major/minor-less devices? I seem to
> recall that for some devices major/minor number were used anywas since
> userland code used it (mounted filesystems e.g.). For ptys this should be
> no problem.

Devfs does allows major/minor-less devices. You could hack the tty
driver to make use of this. Check out the devfs FAQ at:
http://www.atnf.csiro.au/~rgooch/linux/devfs.txt

Regards,

Richard....

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

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