Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Nov 2005 20:32:15 -0800
From:      Maksim Yevmenkin <maksim.yevmenkin@gmail.com>
To:        Hideyuki KURASHINA <rushani@bl.mmtr.or.jp>
Cc:        cvs-src@freebsd.org, src-committers@freebsd.org, emax@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/etc/bluetooth hosts protocols src/etc/defaults Makefile bluetooth.device.conf src/etc/rc.d Makefile bluetooth
Message-ID:  <bb4a86c70511102032w77fb23e2p97e0e7a99cd59662@mail.gmail.com>
In-Reply-To: <20051111.125610.85412213.rushani@bl.mmtr.or.jp>
References:  <200511101909.jAAJ9MRs010949@repoman.freebsd.org> <20051111.125610.85412213.rushani@bl.mmtr.or.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello,

> >>> On Thu, 10 Nov 2005 19:09:22 +0000 (UTC), Maksim Yevmenkin <emax@Free=
BSD.org> said:
>
> > emax        2005-11-10 19:09:22 UTC
> >
> >   FreeBSD src repository
> >
> >   Modified files:
> >     etc/bluetooth        hosts protocols
> >     etc/defaults         Makefile
> >     etc/rc.d             Makefile
> >   Added files:
> >     etc/defaults         bluetooth.device.conf
> >     etc/rc.d             bluetooth
> >   Log:
> [...]
> >   The list of configuration parameters and their meaning described in t=
he
> >   /etc/defaults/bluetooth.device.conf file. Even though Bluetooth devic=
e
> >   configuration files are not shell scripts, they must follow basic sh(=
1) syntax.
> >
> >   The bluetooth.device.conf(5) and handbook update will follow shortly.
>
> Just a thought...
>
> Why the configuration file is bluetooth.device.conf rather than
> bluetooth.conf ? Do you have a plan to make bluetooth.FOO.conf
> available also?

bluetooth.device.conf name was chosen because this file contains
default system wide configuration parameters for bluetooth _device_,
not bluetooth as whole.

as i tried to describe in the commit log, overrides for specific
device go into /etc/bluetooth/FOO.conf, where FOO is the name of
bluetooth device driver, i.e. ubt0, btccc1 etc.

> I prefer latter one like /etc/defaults/pccard.conf.

please take no offence, but there was a long thread on
freebsd-bluetooth@ and freebsd-rc@

"Re: [RFC] rc.d integration for the bluetooth subsystem"

where i asked for feedback and posted several possible variants before
committing this. there were only four people on the thread (brooks and
yar were most active).

if you feel like there is better way to do this, please join the
discussion. we can always change things to make them right.

thanks,
max



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bb4a86c70511102032w77fb23e2p97e0e7a99cd59662>