From: Daniel Kiper Subject: Re: [PATCH 1/2] xgetty: Do not edit /etc/inittab when switching from Xen to Linux and back Date: Thu, 14 Nov 2013 16:50:19 +0100 Message-ID: <20131114155019.GL3439@olila.local.net-space.pl> References: <1384429449-13692-1-git-send-email-daniel.kiper@oracle.com> <1384429449-13692-2-git-send-email-daniel.kiper@oracle.com> <1384429865.12096.3.camel@hastur.hellion.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1384429865.12096.3.camel@hastur.hellion.org.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: keir@xen.org, stefano.stabellini@eu.citrix.com, george.dunlap@eu.citrix.com, ian.jackson@eu.citrix.com, xen-devel@lists.xen.org, jbeulich@suse.com List-Id: xen-devel@lists.xenproject.org On Thu, Nov 14, 2013 at 11:51:05AM +0000, Ian Campbell wrote: > On Thu, 2013-11-14 at 12:44 +0100, Daniel Kiper wrote: > > xgetty establishes serial console name from system boot command > > line (/proc/cmdline) and then runs getty. This is very useful if > > someone switches very often between Linux and Xen and uses serial > > console. xgetty does boring things and runs getty on relevant line. > > This way nobody needs to worry about /etc/inittab changes anymore. > > This seems like it could be very useful, but it doesn't seem at all Xen > specific. I think it would be worth trying to get this into an upstream > -- e.g. agetty (since that is what you appear to shell out to). > > We've been slowly getting rid of the various random tools (e.g. losetup, > miniterm), I'd be loathe to start adding more. Thanks. Roger. Daniel