open ("/", 0); dup (0); dup (0);
The reason for this is not immediately obvious to me.
(1) If the purpose is to close off input and output on /etc/rc, why not
open "/dev/null" instead of "/"?
(2) Processes forked from /etc/rc still appear to respond to the console.
For example, if I do a rubout during "fsck -p > /dev/console", the
"fsck" program goes away.
(3) Almost every line in /etc/rc has "> /dev/console" on it. Why not
simply set up /dev/console as the stdin/stdout/stderr of /etc/rc?
-- Rich