From owner-freebsd-bluetooth@FreeBSD.ORG Tue Nov 8 20:16:37 2005 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 515E816A41F; Tue, 8 Nov 2005 20:16:37 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id E915743D46; Tue, 8 Nov 2005 20:16:36 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id jA8KGLTI006201; Tue, 8 Nov 2005 12:16:21 -0800 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id jA8KGKiF006200; Tue, 8 Nov 2005 12:16:20 -0800 Date: Tue, 8 Nov 2005 12:16:20 -0800 From: Brooks Davis To: Maksim Yevmenkin Message-ID: <20051108201620.GD27091@odin.ac.hmc.edu> References: <4367E346.4080106@savvis.net> <20051102111709.GD2465@comp.chem.msu.su> <20051102161311.GA8499@odin.ac.hmc.edu> <43690365.60909@savvis.net> <20051102190655.GA3961@odin.ac.hmc.edu> <436A6649.7000602@savvis.net> <20051103203217.GA30685@odin.ac.hmc.edu> <436BE02D.2020404@savvis.net> <20051107200040.GB29473@odin.ac.hmc.edu> <4370EAB4.8090000@savvis.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4370EAB4.8090000@savvis.net> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu Cc: Brooks Davis , freebsd-bluetooth@freebsd.org, freebsd-rc@freebsd.org, Yar Tikhiy Subject: Re: [RFC] rc.d integration for the bluetooth subsystem X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Nov 2005 20:16:37 -0000 On Tue, Nov 08, 2005 at 10:13:08AM -0800, Maksim Yevmenkin wrote: > Brooks, > > >>please find next revision of bluetooth-rc stuff at > >> > >>http://people.freebsd.org/~emax/bluetooth-rc-1.diff.txt > >> > >>in this revision i have moved all bluetooth configuration files under > >>/etc/bluetooth. bluetooth.device.sample is now called 'default.conf' and > >>file that contain device specific overrides called '$dev.conf' (i.e. > >>'ubt0.conf'). > >> > >>so, '/etc/rc.d/bluetooth start $dev' does the following > >> > >>1) sets hardwired defaults (for backward compatibility) > >> > >>2) reads up /etc/bluetooth/default.conf (if any) > > > >I think /etc/defaults/bluetooth.device.conf might be better since we do > >have a defined location of default files and this will discourge people > >from messing with them. > > that is fine with me. i'm sorry this is taking so long :) now the last > question: should we keep device specific files under /etc/bluetooth or > just under /etc? right now i have devfs.rules, pccard.conf, > periodic.conf and rc.conf under /etc/defaults. overrides for these go > into /etc. > > another alternative (which probably no one is going to like) is to use > /etc/bluetooth/defaults/device.conf (defaults) and > /etc/bluetooth/$dev.conf files (overrides). I think they should go in /etc/bluetooth/$dev.conf and the defults should go in /etc/defaults. The per-device files should not go directly in /etc because there is more that one of them. -- Brooks