How to enable more than 256 pty's?

Vlad GALU dudu at
Tue Oct 2 05:58:52 PDT 2007

On 10/2/07, Dag-Erling Smørgrav <des at> wrote:
> "Vlad GALU" <dudu at> writes:
> > Dag-Erling Smørgrav <des at> writes:
> > > "Vlad GALU" <dudu at> writes:
> > > > The symptoms were exhibited even with rev. 1.16. I've CC'ed him so
> > > > he can catch up with the thread.
> > > Which symptoms?  I can no longer reproduce the hang-on-close bug.
> > Strangely enough, me neither. In his case, allocated pts' wouldn't get
> > deallocated once the sessions ended.
> Wouldn't get deallocated right away, or wouldn't get deallocated at all?
> Apparently, it is not unusual for pts reclamation to be delayed a bit by
> a non-zero refcnt.

   As per my other mail, they wouldn't get deallocated at all. They
still show up in /dev/pts/ even after closing, and the next integer
index is picked up upon the next terminal creation.

> --
> Dag-Erling Smørgrav - des at

If it's there, and you can see it, it's real.
If it's not there, and you can see it, it's virtual.
If it's there, and you can't see it, it's transparent.
If it's not there, and you can't see it, you erased it.

More information about the freebsd-hackers mailing list