From owner-freebsd-doc@FreeBSD.ORG Mon Jul 21 20:56:06 2008 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 790A110657F0; Mon, 21 Jul 2008 20:56:06 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id E28668FC15; Mon, 21 Jul 2008 20:56:05 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [IPv6:::1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m6LKtZI7084378; Mon, 21 Jul 2008 16:55:59 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-doc@freebsd.org Date: Mon, 21 Jul 2008 11:21:28 -0400 User-Agent: KMail/1.9.7 References: <200807191525.m6JFPlk9076817@www.freebsd.org> In-Reply-To: <200807191525.m6JFPlk9076817@www.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200807211121.28730.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [IPv6:::1]); Mon, 21 Jul 2008 16:56:00 -0400 (EDT) X-Virus-Scanned: ClamAV 0.93.1/7770/Mon Jul 21 15:30:47 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.3 required=4.2 tests=AWL,BAYES_00, DATE_IN_PAST_03_06,NO_RELAYS autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: freebsd-gnats-submit@freebsd.org, Unga Subject: Re: docs/125772: Increasing the number of ptys based on the FAQ results compilation error on FreeBSD 7.0 X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jul 2008 20:56:06 -0000 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