[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: another glibc2.1 casualty (write)



"Ivan E.Moore II" <rkrusty@tdyc.com> writes:

> Quoting Jonathan P Tomer <phouchg@cif.rochester.edu>:
> > that's not a glibc2.1 casualty. it's a unix98 pty casualty. if you
> > enabled support in the kernel you *must* mount /dev/pts and create
> > /dev/ptmx.

Hmm? It works fine for me. I have unix98 pty support enabled in the
kernel, but I don't have /dev/ptmx or /dev/pts mounted.

> I think I kinda figured this out...

> the issue with ssh was that you needed to mount devpts /dev/pts..then
> all your ssh logins are dumped under /dev/pts  (ie /dev/pts/1 for 
> pts/1, etc...)

The key here is that you only need /dev/pts mounted if /dev/ptmx
exists.  (There is an if statement in the source code that uses
/dev/pty if and only if /dev/ptmx exists.)


Steve
dunham@cse.msu.edu


Reply to: