summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2008-12-17 20:42:59 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2008-12-17 20:42:59 +0000
commit23fd885d1ff6781bde145c3f8469d0124c8ecd41 (patch)
tree370b1394d7ee50e383999567d2e2fc824bc06af0 /sys-fs
parentFixed tenshi-0.10-warn-logfile.patch to not error if there are fifos set (Fixes (diff)
downloadgentoo-2-23fd885d1ff6781bde145c3f8469d0124c8ecd41.tar.gz
gentoo-2-23fd885d1ff6781bde145c3f8469d0124c8ecd41.tar.bz2
gentoo-2-23fd885d1ff6781bde145c3f8469d0124c8ecd41.zip
Also create /dev/tty before running udevd. Suggested by Daniel Robbins <drobbins@funtoo.org>.
(Portage version: 2.1.6.1/cvs/Linux 2.6.27-gentoo-r1 i686)
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/udev/ChangeLog7
-rwxr-xr-xsys-fs/udev/files/udev-mount-135-r2.initd3
2 files changed, 8 insertions, 2 deletions
diff --git a/sys-fs/udev/ChangeLog b/sys-fs/udev/ChangeLog
index c9ed433958b4..9aa65a0a2e05 100644
--- a/sys-fs/udev/ChangeLog
+++ b/sys-fs/udev/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-fs/udev
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.427 2008/12/13 07:42:55 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.428 2008/12/17 20:42:59 zzam Exp $
+
+ 17 Dec 2008; Matthias Schwarzott <zzam@gentoo.org>
+ files/udev-mount-135-r2.initd:
+ Also create /dev/tty before running udevd. Suggested by Daniel Robbins
+ <drobbins@funtoo.org>.
13 Dec 2008; Matthias Schwarzott <zzam@gentoo.org>
files/udev-135-r2.initd, files/udev-dev-tarball-135-r2.initd,
diff --git a/sys-fs/udev/files/udev-mount-135-r2.initd b/sys-fs/udev/files/udev-mount-135-r2.initd
index 009d6d6b6378..0c4d04633276 100755
--- a/sys-fs/udev/files/udev-mount-135-r2.initd
+++ b/sys-fs/udev/files/udev-mount-135-r2.initd
@@ -42,10 +42,11 @@ seed_dev()
{
# Seed /dev with some things that we know we need
- # creating /dev/console and /dev/tty1 to be able to write
+ # creating /dev/console, /dev/tty and /dev/tty1 to be able to write
# to $CONSOLE with/without bootsplash before udevd creates it
[ -c /dev/console ] || mknod /dev/console c 5 1
[ -c /dev/tty1 ] || mknod /dev/tty1 c 4 1
+ [ -c /dev/tty ] || mknod /dev/tty c 5 0
# udevd will dup its stdin/stdout/stderr to /dev/null
# and we do not want a file which gets buffered in ram