Date: Tue, 11 Apr 2000 10:20:04 -0700 (PDT) From: Brooks Davis <brooks@one-eyed-alien.net> To: freebsd-bugs@FreeBSD.org Subject: Re: conf/17929: pccardd uses /etc/pccard.conf.sample when man page says /etc/pccard.conf Message-ID: <200004111720.KAA05939@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/17929; it has been noted by GNATS. From: Brooks Davis <brooks@one-eyed-alien.net> To: byron@omix.com Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: conf/17929: pccardd uses /etc/pccard.conf.sample when man page says /etc/pccard.conf Date: Tue, 11 Apr 2000 10:15:51 -0700 On Tue, Apr 11, 2000 at 08:29:22AM -0700, byron@omix.com wrote: > >Description: > > The man page for pccard(8) says the default configuration file is > /etc/pccard.conf, which is false. /etc/defaults/rc.conf changes > the config to be /etc/pccard.conf.sample, effectively changing the > default for all practical use. > > As the file is marked .sample and there is no man page for > pccard.conf.sample, I assumed it was the same as the > /etc/ppp/ppp.shells.sample and similar files (such as those > often placed into /usr/local/etc/rc.d/*.sample). That is, the > intension is that the file must be copied into place before it's > usable; that it's just a sample file, not the real thing. > > I was wrong. > > /etc/defaults/rc.conf "magically" changes this perception, breaking > the .sample convention used throughout the system, and causing a > great amount of confusion when none of my changes in > /etc/pccard.conf had any effect. > > This wasn't the case in earlier releases and it shouldn't be the > case now, IMHO. This PR is obsolete. The new configuration method in -current makes the system read /etc/defaults/pccard.conf which in turn read /etc/pccard.conf to provide override support. This is the solution which should be adopted in 4.0. -- Brooks -- Any statement of the form "X is the one, true Y" is FALSE. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004111720.KAA05939>