Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jul 2008 11:21:28 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-doc@freebsd.org
Cc:        freebsd-gnats-submit@freebsd.org, Unga <unga888@yahoo.com>
Subject:   Re: docs/125772: Increasing the number of ptys based on the FAQ results compilation error on FreeBSD 7.0
Message-ID:  <200807211121.28730.jhb@freebsd.org>
In-Reply-To: <200807191525.m6JFPlk9076817@www.freebsd.org>
References:  <200807191525.m6JFPlk9076817@www.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 19 July 2008 11:25:47 am Unga wrote:
> 
> >Number:         125772
> >Category:       docs
> >Synopsis:       Increasing the number of ptys based on the FAQ results 
compilation error on FreeBSD 7.0
> >Confidential:   no
> >Severity:       serious
> >Priority:       low
> >Responsible:    freebsd-doc
> >State:          open
> >Quarter:        
> >Keywords:       
> >Date-Required:
> >Class:          doc-bug
> >Submitter-Id:   current-users
> >Arrival-Date:   Sat Jul 19 15:30:00 UTC 2008
> >Closed-Date:
> >Last-Modified:
> >Originator:     Unga
> >Release:        FreeBSD 7.0
> >Organization:
> >Environment:
> >Description:
> As per FAQ,
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html,
> I tried to increase the number of ptys:
>  "10.19.1
>  Build and install a new kernel with the line in the
>  configuration file:
>  device pty N
>  where N is the number of requested pseudoterminals."
>  
> I tried to recompile the kernel.  I have modified the
> GENERIC as follows:
> device          pty  64          # Pseudo-ttys (telnet etc)
>  
> This results a compilation error:
> config: /usr/src/sys/i386/conf/GENERIC:268: syntax error
> *** Error code 1

Yeah, that approach (number in config file) hasn't been used since at least 
3.x.  The default on 7.0 is 512 pty's (vs 256 in 6.x).  Do you need more than 
that?

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807211121.28730.jhb>