Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 May 2001 21:14:36 +0100
From:      Ian Dowse <iedowse@maths.tcd.ie>
To:        Mark Livingstone <mlivingstone@ottawa.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: increasing # of PTYs?!?! 
Message-ID:   <200105142114.aa78831@salmon.maths.tcd.ie>
In-Reply-To: Your message of "Mon, 14 May 2001 15:53:06 EDT." <20010514155305.A6472@tmd.df.ru> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20010514155305.A6472@tmd.df.ru>, Mark Livingstone writes:
>Cheers! I am running into a problem: i have recompiled my kernel with 256 PTYs
>, however, after the reboot.. it still 
>tells me that im running out of them even though im using only 20 or so. what 
>should i do? should i MAKDEV those 256 
>ptys or what?

The /dev/MAKEDEV script can make these devices for you. Just type

        cd /dev
        sh MAKEDEV ptyX

where `X' is a number in the range 0-7, corresponding to the set
of 32 tty/pty nodes you wish to create:

        0       ttyp0-ttypv, ptyp0-ptypv
        1       ttyq0-ttyqv, ptyq0-ptyqv
        2       ttyr0-ttyrv, ptyr0-ptyrv
        etc

You may also need to add corresponding entries to /etc/ttys, if
they are not present already.

Ian

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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