From: Blaisorblade <blaisorblade@yahoo.it>
To: user-mode-linux-devel@lists.sourceforge.net
Cc: Henrik Nordstrom <uml@hno.marasystems.com>,
Rob Landley <rob@landley.net>
Subject: Re: [uml-devel] Any way to give /dev/console a controlling TTY?
Date: Fri, 23 Sep 2005 20:53:24 +0200 [thread overview]
Message-ID: <200509232053.24982.blaisorblade@yahoo.it> (raw)
In-Reply-To: <Pine.LNX.4.61.0509232038110.14136@filer.marasystems.com>
On Friday 23 September 2005 20:47, Henrik Nordstrom wrote:
> On Fri, 23 Sep 2005, Rob Landley wrote:
> > I'm the strange guy using UML via the stdio console, ala:
> > ./linux rootfstype=hostfs MEM=48m rw init=/bin/sh LD_ASSUME_KERNEL=2.4.1
> > And it would be very nice if ctrl-c would work with that. I tried
> > commenting out the "!noctty &&" test in line 1872, but it didn't make any
> > difference.
> > Anybody see an obvious way to make /dev/console a controlling TTY?
> The stdin given by the kernel to init is not a controlling TTY as this
> would be disasterous (imagine someone sending breaks during the boot
> sequence, breaking various init tasks or even init itself...), but any
> init related process (but only one) can claim it as the controlling TTY
> and will then be given signals.
>
> This is not unique to UML but applies to all architectures.
> There is nothing wrong with using /dev/console instead of a "real" tty.
> /dev/console is no more than an alias for the first console tty.
Ahhh..
> But you
> won't get it as a controlling TTY unless explicitly asked for.
How?
Anyway, Henrik, thanks for your enlightenment.
--
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade
___________________________________
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB
http://mail.yahoo.it
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
prev parent reply other threads:[~2005-09-23 18:54 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-23 16:35 [uml-devel] Any way to give /dev/console a controlling TTY? Rob Landley
2005-09-23 17:50 ` Blaisorblade
2005-09-23 19:08 ` Rob Landley
2005-09-24 14:09 ` Blaisorblade
2005-09-25 12:49 ` Henrik Nordstrom
2005-09-25 15:34 ` Rob Landley
2005-09-23 18:31 ` Rob Landley
2005-09-23 18:56 ` Henrik Nordstrom
2005-09-23 19:08 ` Blaisorblade
2005-09-23 20:31 ` Henrik Nordstrom
2005-09-24 14:03 ` Blaisorblade
2005-09-24 17:37 ` Rob Landley
2005-09-24 23:14 ` Henrik Nordstrom
2005-09-25 0:10 ` Rob Landley
2005-09-24 14:43 ` Rob Landley
2005-09-23 18:47 ` Henrik Nordstrom
2005-09-23 18:53 ` Blaisorblade [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200509232053.24982.blaisorblade@yahoo.it \
--to=blaisorblade@yahoo.it \
--cc=rob@landley.net \
--cc=uml@hno.marasystems.com \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox