Subject: Re: ptyfs fully working now...
To: Christos Zoulas <christos@zoulas.com>
From: Steven M. Bellovin <smb@research.att.com>
List: tech-kern
Date: 11/11/2004 16:42:51
In message <I717Av.F3v@tac.nyc.ny.us>, Christos Zoulas writes:
>In article <20041111174129.50bc28ab.rpaulo@netbsd-pt.org>,
>Rui Paulo <rpaulo@netbsd-pt.org> wrote:
>>On Thu, 11 Nov 2004 13:49:38 GMT
>>christos@zoulas.com (Christos Zoulas) wrote:
>>
>>> I don't understand the question. I just removed all the pty's and rebooted
>>> with ptyfs mounted. I don't think that you can disable one specifically.
>>
>>Using the old scheme, I can disable a pty like this:
>>ttyp1   none    network off
>>
>>Or am I reading ttys(5) erroneously ?
>
>"off" means don't run a program on it. It does not mean that you cannot
>open it and use it. So for pty's "off" means don't run "none" :-)
>

I have a slightly different question: I need to allocate a fixed pty 
for accessing the IR port.  I have the following in my /etc/rc.local:

  /usr/pkg/bin/irs -Y -c -y /dev/ptyqf -d `/usr/sbin/irdaattach -f tty01` 

jpilot is configured to read /dev/ptyqf.  Can I do that with the new 
scheme?

		--Steve Bellovin, http://www.research.att.com/~smb