I think it's a non-issue. You don't even need to hack /sbin/init if
you don't want:
#! /bin/sh
# Put this in /sbin/init
# mount -t devfs none /dev
# rm /dev/console
# ln -s /etc/console /dev/console
# exec /sbin/init.real
Or get sysvinit which doesn't keep /dev/console open. We don't want to
put open ("/etc/console", ...) into the kernel. IMHO it's ugly enough
that we have open ("/dev/console", ...) in the first place.
The init kernel thread shouldn't whinge if /dev/console is missing.
Regards,
Richard....
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html