FreeBSD Bugzilla – Attachment 88915 Details for
Bug 125772
Increasing the number of ptys based on the FAQ results compilation error on FreeBSD 7.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
books.faq.ptys.patch.diff
books.faq.ptys.patch.diff (text/plain), 2.72 KB, created by
Gabor Pali
on 2008-07-23 19:03:33 UTC
(
hide
)
Description:
books.faq.ptys.patch.diff
Filename:
MIME Type:
Creator:
Gabor Pali
Created:
2008-07-23 19:03:33 UTC
Size:
2.72 KB
patch
obsolete
>Index: book.sgml >=================================================================== >RCS file: /doc/en_US.ISO8859-1/books/faq/book.sgml,v >retrieving revision 1.1075 >diff -u -u -r1.1075 book.sgml >--- book.sgml 19 Jul 2008 07:42:11 -0000 1.1075 >+++ book.sgml 23 Jul 2008 17:57:01 -0000 >@@ -6290,43 +6290,26 @@ > > <answer> > >- <para>If you have lot of <command>telnet</command>, <command>ssh</command>, X, or <command>screen</command> users, >- you will probably run out of pseudoterminals. Here is how to >- add more:</para> >- >- <procedure> >- <step> >- <para>Build and install a new kernel with the line in >- the configuration file:</para> >- >- <programlisting>device pty <replaceable>N</replaceable></programlisting> >- >- <para>where <replaceable>N</replaceable> is the number >- of requested pseudoterminals.</para> >- </step> >- >- <step> >- <para>Edit <filename>/etc/ttys</filename> and add lines >- for each of the <replaceable>N</replaceable> terminals. They should match the form >- of the existing entries, i.e. they look like this:</para> >- >- <programlisting>ttyqc none network</programlisting> >- >- <para>The order of the letter designations is >- <literal>tty[pqrsPQRSlmnoLMNO][0123456789abcdefghijklmnopqrstuv]</literal>, using a >- regular expression.</para> >- </step> >- >- <step> >- <para>Reboot the system with the new kernel and you are >- ready to go.</para> >- </step> >- </procedure> >+ <para>If you have lot of <command>telnet</command>, >+ <command>ssh</command>, X, or <command>screen</command> >+ users, you will probably run out of pseudoterminals. There >+ is lot of them available in the recent base installations by >+ default, so the chances are low that you will have to >+ increase their number indeed.</para> > > <note> >- <para>Using more than 256 (up to 512) &man.pty.4; devices requires >- &os; 6.3 or later.</para> >+ <para>If you want to use more than 256 (up to 512) >+ &man.pty.4; devices that will require &os; 6.3 and >+ &os; 7.0 or later.</para> > </note> >+ >+ <tip> >+ <para>If needed, more pseudoterminals can be added. However, >+ this requires patching the standard C library, the kernel, and >+ <filename>/etc/ttys</filename>. For example, <ulink >+ url="http://www.freebsd.org/~jhb/patches/pty_1152.patch"></ulink> >+ expands the number of pseudoterminals to 1152.</para> >+ </tip> > </answer> > </qandaentry> >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 125772
: 88915 |
88916