Re: ptsname() support (new ptys)

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


> > I would also make the kernel create device nodes in /dev/pts/* and
> > chown() them to the right user. I would use the setgid bit on the
> > /dev/pts directory to make sure they end up in the right group.
>
> The permissions are done for free when you use devfs in conjunction with
> the patch. I think that's the "right" solution to this problem (the
> kernel has no business creating files).

Sure it does... it does so all the time. Personally, I think devfs is
a solution in search of a problem, and one that is fundamentally a
lose. It's a fix for things that much better done in user space.

-hpa