From owner-freebsd-current Tue Oct 15 15:52:54 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA14571 for current-outgoing; Tue, 15 Oct 1996 15:52:54 -0700 (PDT) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id PAA14563; Tue, 15 Oct 1996 15:52:51 -0700 (PDT) Received: from current1.whistle.com (current1.whistle.com [207.76.205.22]) by alpo.whistle.com (8.7.6/8.7.3) with SMTP id PAA03416; Tue, 15 Oct 1996 15:49:40 -0700 (PDT) Message-ID: <32641484.41C67EA6@whistle.com> Date: Tue, 15 Oct 1996 15:47:32 -0700 From: Julian Elischer Organization: Whistle Communications X-Mailer: Mozilla 3.0b6 (X11; I; FreeBSD 2.2-CURRENT i386) MIME-Version: 1.0 To: Michael Smith CC: sos@freebsd.org, current@freebsd.org Subject: Re: non-console mode.. References: <199610150819.RAA21035@genesis.atrad.adelaide.edu.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Michael Smith wrote: > > sos@FreeBSD.org stands accused of saying: > > > > In reply to Julian Elischer who wrote: > > > > > > I need to make the system run with it's console disabled.. > > > in other words.. > > > the device exists, bu tut acts as if there is no console > > > > > > if anyone has violent objections, I'd like to hear of them before > > > I start work on this > > > > Maybe. > > There's no need for either work or violent objections - the 'no console' > case is already supported. Look at i386/i386/cons.c. I'm very familiar with that.. In actual fact if you had no console, the system would crash. I committed a patch to fix that. but that is not what I want.. What I want to add (I have working code) is the ability to have a console-able device exist, but have that device enabled/disabled from acting as a console another way of thinking of it would be to "Mute" the console device. output still goes to dmesg and syslog, but not out to the physical device (e.g. sio0) which can then be used for other things. for debugging, the 'switch' can be thrown and teh console reactivated. but by default, it's not on. > > > > p.s. yes there are good reasons for doing this :) > > > > Such as ?? ???? not wasting a serial port on a console whne you have a better use for it...?