Fedora 2 has no more ptys

joe ody at inf.its-sby.edu
Thu Dec 23 23:03:09 PST 2004

before entering chroot environment, I (root) do :
# mount -t proc proc $LFS/proc
# mount -t sysfs sysfs $LFS/sys
# mount -f -t ramfs ramfs $LFS/dev
# mount -f -t tmpfs tmpfs $LFS/dev/shm
# mount -f -t devpts -o gid=4,mode=620 devpts $LFS/dev/pts
# chroot "$LFS" /tools/bin/env -i \
    HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \
    PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \
    /tools/bin/bash --login +h

and then as chapter 6.13 (binutils)

# expect -c "spawn ls"
# The system has no more ptys.
  Ask your system administrator to create more.

And then , I looked at wiki.linuxfromscratch.org, I found this
# /dev/MAKEDEV -d $LFS/dev pty
but still the system has no more pty.

Help me how to solve more pty in chapter 6.13 ? (installing binutils )

thx in advance

More information about the lfs-support mailing list