Haven't used LFS but in other OSes this is a kernel parameter.
Try running "sysctl -a |grep pty" - You ought to see something like:
kernel.pty.nr = 5
kernel.pty.max = 4096
According to this site:
http://www.cyberciti.biz/tips/howto-...y-session.html
You can set the pty.max by echoing a new value into /proc/sys/kernel/pty/max e.g.:
echo 9192 >/proc/sys/kernel/pty/max
Accoring to pty man page (type "man pty" to see it). The pty.nr is the number currently in use and the pty.max is the number allowed.
Also on checking with my CentOS 5 install I was able to change the value by doing the echo and also by adding line to /etc/sysctl.conf then running "sysctl -p /etc/sysctl.conf". The line added to sysctl.conf was like this:
kernel.pty.max = 9192
Note that you can NOT set kernel.pty.nr that way as it is dynamic view of what is in use. Also you may not be able to do this if your kernel is earlier than 2.6.3 based on the comments in the man page as it was formerly done by how many you had configured at compile of kernel.