Well, I think that is my problem. /dev/pts did not exist.
I didn't start from a default buildroot system, but one that was already cutdown for NOOBS, and probably one that did not need any PTYs. So I guess my next question is which options in buildroot do I need to enable in order to support PTYs?

Is it sufficient to do 'mknod -m 0666 /dev/ptmx c 5 2' ?

I have also discovered there may be some information to be gleaned from /proc/sys/kernal/pty/max and /proc/sys.kernel/pty/nr, so I will look at those too.

Cheers,
Kevin


On 2015-01-14 16:00, Peter Korsgaard wrote:
"Matt" == Matt Johnston <[email protected]> writes:

 > Thinking a bit further, try doing:
 > mount -t devpts devpts /dev/pts

> That special filesystem probably needs to be mounted for openpty to
 > work. I’m not sure how that works with buildroot by default.

/dev/pts gets mkdir'ed and mounted by default in Buildroot since atleast
2010, so unless Kevin has tweaked anything it should be fine.

Reply via email to