Date: Mon, 29 Jul 2002 12:08:56 +0100 From: Daniel Bye <dan@slightlystrange.org> To: freebsd-questions@freebsd.org Subject: Re: What is a "higher priority console" in regards to sio flag 0x20? Message-ID: <20020729110856.GA21831@catflap.home.slightlystrange.org> In-Reply-To: <3D447DB4.CA691B8@pantherdragon.org> References: <3D447DB4.CA691B8@pantherdragon.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jul 28, 2002 at 04:26:44PM -0700, Darren Pilgrim wrote: > In LINT, there's an option flag for sio: > > # 0x20 force this unit to be the console (unless there is another > # higher priority console). This replaces the COMCONSOLE option. > > What qualifies as a higher-priority console than sio1? Is the vid/kbd > console higher priority? I want to set up a machine so that at boot > it will automatically switch to a serial console when there's no > keyboard plugged in. Do I even need this flag to do this? I haven't changed any settings in the kernel relating to consoles, so can't answer that part of your question. I simply have a /boot.config file containing exactly the string "-P", which forces the console to the serial line, if no keyboard is present. It works just fine. Take a look at man 8 boot for more details. Dan -- Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020729110856.GA21831>