From owner-freebsd-current Mon Jan 20 08:37:15 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id IAA10430 for current-outgoing; Mon, 20 Jan 1997 08:37:15 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id IAA10415; Mon, 20 Jan 1997 08:37:00 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.3/8.6.9) id DAA00108; Tue, 21 Jan 1997 03:30:23 +1100 Date: Tue, 21 Jan 1997 03:30:23 +1100 From: Bruce Evans Message-Id: <199701201630.DAA00108@godzilla.zeta.org.au> To: bde@zeta.org.au, msmith@atrad.adelaide.edu.au Subject: Re: VM bogon? Was: Re: NIS breakage Cc: current@FreeBSD.org, dyson@FreeBSD.org, mark@grondar.za, peter@FreeBSD.org, peter@spinner.dialix.com, wpaul@freefall.freebsd.org Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk >> Fixing support for "?" fields is more important (you can't edit fields > >This is a direct result of a discussion thread in which I attempted to >ascertain a suitable set of values for "not useful" and "find it yourself", >the net result of which was your insistence that there was no suitable >value for either and that neither should be allowed. No, I said that all values may be suitable and all should be allowed. >If you have a new tune, please start piping. I have no problem at all >with supporting arbitrary 'magic' values, and allowing the user >to specify these in an unambiguous and visually obvious fashion. Values can't be interpreted unambiguously (without fixing config(8) and a few drivers, or knowing too much about drivers) because they are ambiguous. "?" is represented as -1 or 0 depending on the field. "None" is usually represented in the same way: field none ? ----- ---- - port -1 0 irq 0 0 drq -1 -1 maddr 0 0 msiz 0 0 Until drivers export tables to say which fields they use, userconfig should display all fields, leaving the ones with value "none" blank, and accept input "?" to give fields with value "?" (which unfortunately have to be displayed as blank except for the port field). Bruce