summaryrefslogtreecommitdiff
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/udev/files
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/udev/files')
-rwxr-xr-xsys-fs/udev/files/udev-mount-135-r2.initd3
1 files changed, 2 insertions, 1 deletions
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