docs/125772: Increasing the number of ptys based on the FAQ results compilation error on FreeBSD 7.0

John Baldwin jhb at freebsd.org
Mon Jul 21 20:56:06 UTC 2008


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



More information about the freebsd-doc mailing list