Petter Reinholdtsen <[EMAIL PROTECTED]> writes: > [Frans Pop] >> Please propose a patch. > > I suspect something like this should work. Not sure if the test > [ ! -e /target/dev/pts/0 ] is the best way to detect if devpts is > missing, but it is a start. > > Index: chroot-setup.sh > =================================================================== > --- chroot-setup.sh (revision 51179) > +++ chroot-setup.sh (working copy) > @@ -59,6 +59,13 @@ > mount -t sysfs sysfs /target/sys > fi > > + # In Lenny, /dev/ lack the pty devices, so the kernel fs > + # devpts need to be mounted (see #463866). > + if [ ! -e /target/dev/pts/0 ] ; then > + mkdir -p /target/dev/pts > + mount -t devpts devpts -o noexec,nosuid,gid=5,mode=620 > /target/dev/pts > + fi
Maybe "mount | grep -q /target/dev/pts"? -- O T A V I O S A L V A D O R --------------------------------------------- E-mail: [EMAIL PROTECTED] UIN: 5906116 GNU/Linux User: 239058 GPG ID: 49A5F855 Home Page: http://otavio.ossystems.com.br --------------------------------------------- "Microsoft sells you Windows ... Linux gives you the whole house." -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]