This is what I have used since - called from rcS.d as S37mountdevpts.sh :
# # mountdevpts.sh Mount devpts filesystem. # # Version: @(#)mountall.sh 2.85-23 29-Jul-2004 [email protected] # # # We might have mounted something over /dev, see if /dev/pts is there. # if [ ! -d /dev/pts ] then rm -f /dev/pts mkdir /dev/pts fi # # Mount local file systems in /etc/fstab. # [ "$VERBOSE" != no ] && echo "Mounting devpts filesystem..." mount -av -t devpts 2>&1 | egrep -v '(already|nothing was) mounted' : exit 0 Typos and other faults mine. Runs on a dark ages version of Debian (3.1 with locl mods). Cheers, Michael On Mon, Jan 19, 2015 at 1:07 AM, Thorsten Glaser <[email protected]> wrote: > Geert Uytterhoeven dixit: > >>While init on Beetle's system complained about not being able to open >>tty* with CONFIG_DEVTMPFS_MOUNT disabled, enabling CONFIG_DEVTMPFS_MOUNT >>broke remote login using ssh on my ARAnyM: > > Hm, interesting. > > If you do not run udev, you may need the following lines in /etc/rc.local: > > (test -e /dev/fd || ln -s /proc/self/fd /dev/fd || :) > (test -e /dev/stdin || ln -s /proc/self/fd/0 /dev/stdin || :) > (test -e /dev/stdout || ln -s /proc/self/fd/1 /dev/stdout || :) > (test -e /dev/stderr || ln -s /proc/self/fd/2 /dev/stderr || :) > > Otherwise… redo with ssh -vvv and possibly log in locally to it, kill > the ssh service, and run it in a one-shot manually: > > /usr/sbin/sshd -ddde 2>&1 | tee log > > bye, > //mirabilos > -- > <igli> exceptions: a truly awful implementation of quite a nice idea. > <igli> just about the worst way you could do something like that, afaic. > <igli> it's like anti-design. <mirabilos> that too… may I quote you on that? > <igli> sure, tho i doubt anyone will listen ;) > -- > To unsubscribe from this list: send the line "unsubscribe linux-m68k" in > the body of a message to [email protected] > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: https://lists.debian.org/[email protected]

