pccard.conf.sample ? Is that a great name ???

2000-03-13 Thread Nicolai Petri (ML)


Am I the only one who thinks that having a .sample file containing active
settings is a not so great ting ?

Why not simply rename it to pccard.conf, pccard.conf.default or
default/pccard.conf

---
Nicolai Petri
Software-developer



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: pccard.conf.sample ? Is that a great name ???

2000-03-13 Thread Kelly Yancey

On Mon, 13 Mar 2000, Nicolai Petri (ML) wrote:

 
 Am I the only one who thinks that having a .sample file containing active
 settings is a not so great ting ?
 
 Why not simply rename it to pccard.conf, pccard.conf.default or
 default/pccard.conf
 

  I assumed that the .sample was to emphasize the need to customize it as
needed and save it as pccard.conf (where pccardd expects to find it).
While not intuitive for new users, it is necissary so that upgrades can
modify the pccard.conf.sample file without disturbing and localizations in
pccard.conf. See manpath.config.sample for another example of this logic.
  It doesn't strike me as a candidate for /etc/defaults/ unless it is made
to include /etc/pccard.conf if it exists and override and config entries
that are duplicated (i.e. if it were truly just defaults that could be
overridden).
  In other words, it may not be intuitive, but it fits the existing
protocol.

  Kelly

--
Kelly Yancey  -  [EMAIL PROTECTED]  -  Richmond, VA
Analyst / E-business Development, Bell Industries  http://www.bellind.com/
Maintainer, BSD Driver Database   http://www.posi.net/freebsd/drivers/
Coordinator, Team FreeBSDhttp://www.posi.net/freebsd/Team-FreeBSD/



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: pccard.conf.sample ? Is that a great name ???

2000-03-13 Thread Kelly Yancey

On Tue, 14 Mar 2000, Daniel C. Sobral wrote:

 
 You'd be right, if you were right. :-) Pccardd expects what you said,
 but defaults/rc.conf configures it to read pccard.conf.sample. In other
 words, what is used is the .sample file, *NOT* the customized version,
 unless you change that in /etc/rc.conf[.local].

  Ah, sure enough, I had overridden it myself in /etc/rc.conf to do the
right thing.

  Kelly

--
Kelly Yancey  -  [EMAIL PROTECTED]  -  Richmond, VA
Analyst / E-business Development, Bell Industries  http://www.bellind.com/
Maintainer, BSD Driver Database   http://www.posi.net/freebsd/drivers/
Coordinator, Team FreeBSDhttp://www.posi.net/freebsd/Team-FreeBSD/



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: pccard.conf.sample ? Is that a great name ???

2000-03-13 Thread Daniel C. Sobral

Unheedful of thy elder's warnings, Kelly Yancey wrote:
 On Mon, 13 Mar 2000, Nicolai Petri (ML) wrote:
 
  
  Am I the only one who thinks that having a .sample file containing active
  settings is a not so great ting ?
  
  Why not simply rename it to pccard.conf, pccard.conf.default or
  default/pccard.conf

The correct would be the later, and I'll be doing that soon. It hasn't
been done yet for weird reasons better left unsaid. :-)

   I assumed that the .sample was to emphasize the need to customize it as
 needed and save it as pccard.conf (where pccardd expects to find it).

You'd be right, if you were right. :-) Pccardd expects what you said,
but defaults/rc.conf configures it to read pccard.conf.sample. In other
words, what is used is the .sample file, *NOT* the customized version,
unless you change that in /etc/rc.conf[.local].

   It doesn't strike me as a candidate for /etc/defaults/ unless it is made
 to include /etc/pccard.conf if it exists and override and config entries
 that are duplicated (i.e. if it were truly just defaults that could be
 overridden).

That's my plan.

   In other words, it may not be intuitive, but it fits the existing
 protocol.

The .sample file is being read because we need pccardd ok for sysinstall
from pcmcia ethernet cards.

-- 
Daniel C. Sobral  (8-DCS)
[EMAIL PROTECTED]
[EMAIL PROTECTED]

I have had my television aerials removed.  It's the moral equivalent
of a prostate operation.
-- Malcolm Muggeridge


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: pccard.conf.sample ? Is that a great name ???

2000-03-13 Thread Warner Losh

In message [EMAIL PROTECTED] "Nicolai Petri 
(ML)" writes:
: Am I the only one who thinks that having a .sample file containing active
: settings is a not so great ting ?

No.  It is bad.  I was asleep at the time it happened, and didn't
notice until we were in code freeze.  In hind sight, Id have changed
it anyway...

: Why not simply rename it to pccard.conf, pccard.conf.default or
: default/pccard.conf

I'd call it /etc/default/pccard.conf.

The problem with doing this today is that there's no include file to
chain things...


Warner


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message