From owner-freebsd-mobile Tue Mar 28 0:40:55 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from peach.ocn.ne.jp (peach.ocn.ne.jp [210.145.254.87]) by hub.freebsd.org (Postfix) with ESMTP id AEDAA37BDDF for ; Tue, 28 Mar 2000 00:40:50 -0800 (PST) (envelope-from dcs@newsguy.com) Received: from newsguy.com (p14-dn01kiryunisiki.gunma.ocn.ne.jp [211.0.245.15]) by peach.ocn.ne.jp (8.9.1a/OCN) with ESMTP id RAA19478; Tue, 28 Mar 2000 17:40:47 +0900 (JST) Message-ID: <38E06BD8.346A53B0@newsguy.com> Date: Tue, 28 Mar 2000 17:22:48 +0900 From: "Daniel C. Sobral" X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en,pt-BR,ja MIME-Version: 1.0 To: Mitsuru IWASAKI Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: Call for review: new pccard.conf scheme References: <200003271712.CAA08158@tasogare.imasy.or.jp> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org [removing -hackers] Mitsuru IWASAKI wrote: > > I'm working on new pccard.conf scheme, /etc/defaults/pccard.conf and > /etc/pccard.conf in the same manner as rc.conf. Yeah! > Attached patch for pccardd(8) contains: > 1. improved `include' keyword function for error handling. > 2. changed available io, irq, mem pool so that they can be overridden. > 3. default config file as /etc/defaults/pccard.conf instead of > /etc/pccard.conf. Include a patch to /etc/defaults/rc.conf, too. :-) > The pccard configuration can be separated into two parts; Default > pccard configuration database for general purpose, and user specific > configuration (further, available resource infomation and additional > pccard entries). By separating the file into two > (/etc/defaults/pccard.conf as default, /etc/pccard.conf as user > config), upgrading pccard.conf would be much easier. > Yes, just update /etc/defaults/pccard.conf! Err... pccard.conf is a file that goes through WAAAAAY too many syntax changes. Can you add a "version number" config line, so that pccardd can verify that the files are in an acceptable syntax? I'd suggest major/minor numbers. If major is wrong, the syntax is incompatible. If the minor is wrong, the syntax is still supported but the user would better update it to remove legacy keywords. -- Daniel C. Sobral (8-DCS) dcs@newsguy.com dcs@freebsd.org capo@zurichgnomes.bsdconspiracy.net The size of the pizza is inversely proportional to the intensity of the hunger. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message