Subject: Re: ptyfs fully working now...
To: Christos Zoulas <christos@zoulas.com>
From: Eric Haszlakiewicz <erh@jodi.nimenees.com>
List: tech-kern
Date: 11/11/2004 19:28:54
On Thu, Nov 11, 2004 at 11:05:54PM +0000, Christos Zoulas wrote:
> In article <20041111223532.GA1552@panix.com>,
> Thor Lancelot Simon <tls@rek.tjls.com> wrote:
> >So, all ptys will always have names in the filesystem?
> 
> The open slave sides should (it would be strange if they did not).
> The master side does not need to have one (and it does not).
> 
> To answer the question differently. If you don't need the functionality
> of being able to open a particular pty by name, you can remove
> /dev/pty?? and /dev/tty?? [ahem, not literally because /dev/ttyE0
> is not a pty, but you get my drift].

	Actually, it sounds like even if you need to open a pty by name
you can get rid of /dev/tty?? since those will automatically show up
in /dev/pts/, right?

	When would you need to refer to a pty by name?  Does it actually
work to have two different processes sitting with the master side open?

eric