[uClibc] pty support: /dev/pty/m* /dev/pty/s*
Maillists
maillists at gmx.ch
Fri Aug 19 07:38:49 UTC 2005
Hi Erik
I would not mind using /dev/pts. Therefore I just recompiled the kernel
with UNIX98_PTYS set in xconfig. The system boots and I now have both,
the /dev/pty/m[0-255] AND the /dev/ptmx.
At least two of the apps (telnetd and ftpd) that came with that
distribution quit work.
Guess for us it a question of either extending uClibc for
/dev/pty/m[0-255] support or checking all apps and patching some of them.
Roman
Erik Andersen wrote:
>On Thu Aug 18, 2005 at 01:50:45PM +0200, Maillists wrote:
>
>
>>Hi everyone
>>
>>We run a uClinux 2.4.22 system with uClibc 0.9.19 and I have problems
>>accessing the pty devices with the functions getpt / ttyname / openpty.
>>The distribution we have sets the pty path to /dev/pty/m* and
>>/dev/pty/s* and seems to be the "new" naming style.
>>
>>
>
>Why not mount and use the /dev/pts virtual filesystem? It works
>wonderfully and is the preferred method of doing things....
>
> -Erik
>
>--
>Erik B. Andersen http://codepoet-consulting.com/
>--This message was written using 73% post-consumer electrons--
>
>
>
>
More information about the uClibc
mailing list