Skip to content

Commit 510ec2e

Browse files
Pull up following revision(s) (requested by thorpej in ticket #1155):
distrib/miniroot/install.sh: revision 1.29 Place a ptyfs instance into the newly-written /etc/fstab, so that e.g. sshd works out of the box after installation on sun3.
1 parent 17a3d79 commit 510ec2e

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

distrib/miniroot/install.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh
2-
# $NetBSD: install.sh,v 1.28 2022/05/03 20:52:30 andvar Exp $
2+
# $NetBSD: install.sh,v 1.28.2.1 2025/09/02 17:44:55 martin Exp $
33
#
44
# Copyright (c) 1996,1997,1999,2000,2006 The NetBSD Foundation, Inc.
55
# All rights reserved.
@@ -346,6 +346,12 @@ esac
346346
echo /dev/$_dev $_mp ffs rw 1 2
347347
fi
348348
done
349+
350+
#
351+
# A PTYFS instance is required for programs that use
352+
# pseudo-terminals (e.g. sshd).
353+
#
354+
echo ptyfs /dev/pts ptyfs rw 0 0
349355
) < ${FILESYSTEMS} > /tmp/fstab
350356

351357
echo "The fstab is configured as follows:"

0 commit comments

Comments
 (0)