Re: ptsname() support (new ptys)

H. Peter Anvin (hpa@transmeta.com)
Thu, 15 Jan 1998 00:37:55 -0800 (PST)


>
> OK, now I'm going to admit my kernel ignorance. Which files does it
> create? Sure, it will create files on open() system calls, or whatnot, but
> you seem to be advocating the automatic creation of "magic" files in
> /dev/pts/blah. I don't think any other portion of the kernel requires
> there to be a /dev directory, much less a given directory structure and
> pty device nodes in /dev/pts/.
>

I don't see any major difference here, although I agree that the root
of the name should be configurable, presumably via sysctl. The reason
to put it in the kernel is that it is (a) fairly trivial and (b) a
permissions issue.

-hpa