On 22 February 2010 12:28, David Shaw <[email protected]> wrote: > 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 > -- Did you miss some, or all, of section 6.2 "Preparing Virtual Kernel File Systems" ? If you shutdown during chapters 6-8, and then resume, you'll need to rerun at least 6.2.2 and 6.2.3.
ĸen -- After tragedy, and farce, "OMG poneys!" -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
