Re: >256 ptys (previous subject line was garbage)

Richard Gooch (Richard.Gooch@atnf.CSIRO.AU)
Mon, 1 Jun 1998 14:56:12 +1000


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