Subject: Re: ptyfs fully working now...
To: None <tech-kern@netbsd.org>
From: Thor Lancelot Simon <tls@rek.tjls.com>
List: tech-kern
Date: 11/11/2004 17:35:32
On Thu, Nov 11, 2004 at 04:51:29PM -0500, Christos Zoulas wrote:
>
> Sure, that will work the same as before. The problem with such
> scripts is that what happens when someone is using ptyqf? I'd rather
> have a program that opens a pty dynamically and then makes a symbolic
> link from it to a known name. When the program exits, it can remove
> the symbolic link. It is trivial to change the code to take the
> symbolic link destination name instead of the actual pty, and then
> use openpty() to allocate a pty dynamically.
So, all ptys will always have names in the filesystem?
--
Thor Lancelot Simon tls@rek.tjls.com
But as he knew no bad language, he had called him all the names of common
objects that he could think of, and had screamed: "You lamp! You towel! You
plate!" and so on. --Sigmund Freud