lkml.org 
[lkml]   [2000]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Booting into /bin/bash
Ion Badulescu wrote:
>
>
> Maybe I'll play with main.c and see what happens if I force /dev/console
> to become the controlling tty for init. Hmm... That could be dangerous for
> init. Maybe a better idea would be to hack init so that it gives any
> program started from inittab /dev/console as the controlling tty.
>

I like this idea a lot (the latter - making /dev/console controlling
tty). On an old SunOS 4 machine I once worked with, a Ctrl-C during the
execution of rc.sysinit would sent it terminate signals. So when the
NFS was hanging on mount because of a f***ed up network (or changed ip
address of server) you could hit ctrl-c during the rc script and the
mount would be sent the ctrl-c and would terminate, then the rest of the
rc script would continue (regular shell script behavior if I'm not
mistaken).

David Mansfield
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.950 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site