Another stumbling block, I'm afraid.
As the title says, when I issue the command
expect -c "spawn ls"
I get the error saying that there are no more ptys. I have tried
looking in the LFS hints, the Ubuntu forum and wiki and googling and
while I now know more about ptys than any sane person could possible
want to, I am no nearer working out how to get my system to produce more
of them.
As I understand it, Ubuntu uses /dev/ptmx as a Unix 98 'master clone'
and from this, creates the slave devices in /dev/pts/* - and this does,
indeed, happen automatically on the host system. Clearly, in the chmod
LFS system, whatever does this in Ubuntu is missing at this point.
So, what do I do? Can I manually create /dev/pts/pty* nodes? Or do I
create BSD style /dev/pty* dev/tty* pairs? Or what? I am at a total
loss here.
Many thanks,
David Shaw
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page