From 261811b5d0524c7fe579bf4ca22915c2dc4b636f Mon Sep 17 00:00:00 2001 From: Scott James Remnant Date: Fri, 26 Mar 2010 14:33:13 +0000 Subject: init: mount /dev/pts as well as /dev Allows to redirect the console early. [ merge from 0.92bubuntu71 ] Signed-off-by: maximilian attems --- init | 2 ++ 1 file changed, 2 insertions(+) (limited to 'init') diff --git a/init b/init index f5b0646..0c9719d 100755 --- a/init +++ b/init @@ -22,6 +22,8 @@ if ! mount -t devtmpfs -o mode=0755 none /dev; then [ -e /dev/console ] || mknod -m 0600 /dev/console c 5 1 [ -e /dev/null ] || mknod /dev/null c 1 3 fi +mkdir /dev/pts +mount -t devpts -o noexec,nosuid,gid=5,mode=0620 none /dev/pts || true > /dev/.initramfs-tools mkdir /dev/.initramfs -- cgit v1.2.3