lkml.org 
[lkml]   [1998]   [Mar]   [25]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 24 Mar 1998 23:58:33 -0500 (EST)
From"C. Scott Ananian" <>
SubjectRe: Available for testing: /dev/pts filesystem
On Tue, 24 Mar 1998 hpa@transmeta.com (H. Peter Anvin) wrote:

> Since C. Scott Ananian added support for the SysV/Unix98 /dev/ptmx
> multiplex pty master device, I thought I might as well fix the other
> side of the equation.  At:
> 
> 	ftp://ftp.kernel.org/pub/linux/kernel/hpa/devpts-2.1.91-pre1.diff
> 
> ... there is a patch for a /dev/pts virtual filesystem which creates
> pty device nodes as /dev/ptmx is open.  A program (or rather, the C
> library) would then use the TIOCGPTN ioctl() to get the pty number,
> which would correspond to /dev/pts/<number>.

Out of curiousity: does your /dev/pts support > 256 ptys, if someone ever
gets around to adding dynamic-pty support (alternatively, you could
change the constant NR_PTYS in the kernel)?
  --Scott
                                                         @ @
 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-oOO-(_)-OOo-=-=-=-=-=
 C. Scott Ananian: cananian@lcs.mit.edu  /  Declare the Truth boldly and
 Laboratory for Computer Science/Crypto /       without hindrance.
 Massachusetts Institute of Technology /META-PARRESIAS AKOLUTOS:Acts 28:31
 -.-. .-.. .. ..-. ..-. --- .-. -..  ... -.-. --- - -  .- -. .- -. .. .- -.
 PGP key available via finger and from http://www.pdos.lcs.mit.edu/~cananian

-
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 12:41    [W:0.174 / U:0.010 seconds]
©2003-2008 Jasper Spaans