Re: /etc/rc.conf vs /etc/defaults/rc.conf

2004-01-26 Thread Andrew L. Gould
On Monday 12 January 2004 04:18 pm, August Simonelli wrote:
 Hi all,

 I've looked in the handbook (and probably missed the explanation) but am
 still a little confused. What's the difference between these two rc.conf
 files? Both affect things, but what is best practice for their use?

 Thank in advance,

 August

 PS I'm using 4.9 and realize some things may be differnet in 5.x ...

/etc/defaults/rc.conf shows the default setttings of the system.  Any 
overrides you want should be done in /etc/rc.conf.

One of the reasons to make changes only in /etc/rc.conf is that /etc/defaults/
rc.conf may get overwritten when you update the system.

I hope this helps.

Andrew Gould

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /etc/rc.conf vs /etc/defaults/rc.conf

2004-01-13 Thread August Simonelli
On 13/01/2004, at 12:43 PM, Ted Suzman wrote:

Stuff you put in rc.conf overrides settings in /etc/defaults/rc.conf

Never modify /etc/defaults/rc.conf

-Original Message-
From: August Simonelli [mailto:[EMAIL PROTECTED]
Sent: Monday, January 12, 2004 5:18 PM
To: [EMAIL PROTECTED]
Subject: /etc/rc.conf vs /etc/defaults/rc.conf
Hi all,

I've looked in the handbook (and probably missed the explanation) but 
am still a little confused. What's the difference between
these two rc.conf files? Both affect things, but what is best practice 
for their use?

Thank in advance,

August

PS I'm using 4.9 and realize some things may be differnet in 5.x ...
___
[EMAIL PROTECTED] mailing list 
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


Thanks all who helped me on this! I really do appreciate it!

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /etc/rc.conf vs /etc/defaults/rc.conf

2004-01-13 Thread David Fleck
On Tue, 13 Jan 2004, August Simonelli wrote:
 Thanks all who helped me on this! I really do appreciate it!

By the way, this is covered in section 6.3 in the handbook, 'Core
Configuration'.

--
David Fleck
[EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


/etc/rc.conf vs /etc/defaults/rc.conf

2004-01-12 Thread August Simonelli
Hi all,

I've looked in the handbook (and probably missed the explanation) but am
still a little confused. What's the difference between these two rc.conf
files? Both affect things, but what is best practice for their use?

Thank in advance,

August

PS I'm using 4.9 and realize some things may be differnet in 5.x ...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /etc/rc.conf vs /etc/defaults/rc.conf

2004-01-12 Thread Scott Mitchell
On Tue, Jan 13, 2004 at 09:18:13AM +1100, August Simonelli wrote:
 Hi all,
 
 I've looked in the handbook (and probably missed the explanation) but am
 still a little confused. What's the difference between these two rc.conf
 files? Both affect things, but what is best practice for their use?
 
 Thank in advance,

Hi,

/etc/defaults/rc.conf sets the default values for all of the configuration
options - the values that will be used if you don't change anything.  You
shouldn't ever need to modify this file, or anything else in /etc/defaults
for that matter.

/etc/rc.conf is where you put local changes to the defaults - things that
are specific to your system or network.  At the very least, you will
probably want to set the name of your machine and configure whatever
network interfaces you have in here.  The installer may have already
written some settings to /etc/rc.conf when you were first setting up
FreeBSD on the machine.

So my general rule is to only ever edit /etc/rc.conf, and to just put
changes to the default settings in it.  Some people will copy the whole
/etc/defaults/rc.conf to /etc/rc.conf and then make whatever changes they
require - you get to see everything together in one file this way, but the
danger is that you drift further and further away from the default
configuration as upgrades change things in /etc/defaults/rc.conf, without
you noticing.

Hope that helps,

Scott

-- 
===
Scott Mitchell   | PGP Key ID | Eagles may soar, but weasels
Cambridge, England   | 0x54B171B9 |  don't get sucked into jet engines
scott at fishballoon.org | 0xAA775B8B |  -- Anon
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: /etc/rc.conf vs /etc/defaults/rc.conf

2004-01-12 Thread fbsd_user
It's all explained in the comments at the top of /etc/rc.conf

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of August
Simonelli
Sent: Monday, January 12, 2004 5:18 PM
To: [EMAIL PROTECTED]
Subject: /etc/rc.conf vs /etc/defaults/rc.conf

Hi all,

I've looked in the handbook (and probably missed the explanation)
but am
still a little confused. What's the difference between these two
rc.conf
files? Both affect things, but what is best practice for their use?

Thank in advance,

August

PS I'm using 4.9 and realize some things may be differnet in 5.x ...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]