[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 1/2] xgetty: Do not edit /etc/inittab when switching from Xen to Linux and back
On 14/11/13 11:51, 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). I've been using an inittab entry like this:T0:23:respawn:bash -c "/sbin/getty --noclear -L $(/etc/find-remote-tty.sh) 115200 vt102" But having agetty able to search the Linux command-line for the argument is much better. -George _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |